Canadalstn/ip6words
Utility to convert IPv6 addresses to and from a user friendly word based format
ip6words

Converts IPv6 addresses to and from a user friendly format using words.
Usage
# Script entry point "ip6words" can be used instead of manually launching the script through python if the package was installed.
$ ip6words ::
the8
$ ip6words -h
Usage:
python ip6words.py ([-h] | [-d] | [-u] | [-e]) (<ip6words-address-to-convert> | <ipv6-to-convert>)
[-h] ~ This dialog
[-u] ~ The usage dialog
[-d] ~ Delete the dilled (pickled) word list in order to regenerate it before executing
[-e] ~ Explode the results instead of compressing them
Install
pip install ip6words
Requirements
- Python 3.3+ (NOT tested at all on Python 2)
- nltk (will download these packages on first run that doesn't use dill, download them yourself beforehand if you'd like to choose the download directory)
- words - optional ~ see note #3
- brown - optional ~ see note #3
- abc - optional ~ see note #3
- inaugural - optional ~ see note #3
- genesis - optional ~ see note #3
- dill
Notes
- This is designed to have the same words always point to the same IP and vice versa. The only thing that would alter this would be a change in the base nltk data, causing a shift in the frequency of words.
- Included with this tool is a dilled (or pickled) word list. If you wish to re-generate that dill you must delete the file or run using the [-d] argument.
- In practice, this means you will actually never have to download the nltk packages yourself if you never use the [-d] argument and thus always load the wordlist from the dill.
Similar Projects
Discover other similar projects and AI models.
⚡️ IPTV直播源自动更新工具:自动采集、校验、测速并生成可播放结果,支持 M3U/TXT/API 输出、自定义频道、IPv4/IPv6、Docker、GitHub Actions、CLI 与 GUI 多端部署
每天自动更新IPTV直播源,支持IPV4/IPV6双栈访问!自定义频道,高质量直播源,❌不含有广告。Automatically update IPTV live streaming sources every day, supporting IPV4/IPV6 dual stack access! Custom channels, high-quality live streaming sources, ❌ Does not contain advertisements.
Ip2region is an offline IP-to-Region localization library and IP data management framework with both IPv4 and IPv6 supports, 10-microsecond level query efficiency, xdb search client for many programming languages
🌚 🌍 🌝 GeoIP 增强版,自由定制多种格式 GeoIP 文件,包括但不限于 V2Ray dat 格式文件 geoip.dat、MaxMind mmdb 格式文件、sing-box SRS 格式文件、mihomo MRS 格式文件、Clash ruleset、Surge ruleset、Nginx allow & deny 规则文件等。Enhanced edition of GeoIP for Nginx, V2Ray, Xray-core, Clash, mihomo, sing-box, Shadowrocket, Quantumult X, Surge, hysteria, Trojan-Go, dae, etc.