world -- top level domain code mappings
Project description
This script takes a list of Internet top-level domain names and prints out where in the world those domains originate from. For example:
$ world tz us tz originates from Tanzania, United Republic of us originates from United States of America (the)
Reverse look ups are also supported:
$ world -r united Matches for "united": ae: United Arab Emirates (the) gb: United Kingdom of Great Britain and Northern Ireland (the) tz: Tanzania, United Republic of uk: United Kingdom (common practice) um: United States Minor Outlying Islands (the) us: United States of America (the)
Only two-letter country codes are supported, since these are the only ones that were freely available from the ISO 3166 standard. However, as of 2015-01-09, even these are no longer freely available in a machine readable format.
This script also knows about non-geographic, generic, USA-centric, historical, common usage, and reserved top-level domains.
Project details
Project home: https://gitlab.com/warsaw/world
Report bugs at: https://gitlab.com/warsaw/world/issues
Code hosting: https://gitlab.com/warsaw/world.git
Documentation: http://world.readthedocs.io/en/latest/
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file world-5.1.1.tar.gz
.
File metadata
- Download URL: world-5.1.1.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.8.0 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 189beb814b170205238d101e19da0098de5f6dd20292a8dbd208a69144a23dad |
|
MD5 | 22b52a140cc74e1325202895364e23e1 |
|
BLAKE2b-256 | 76d85da5f167e8e6bb4e2c93ae63304be64af075046a467594fe3e7bdcafa734 |
File details
Details for the file world-5.1.1-py3-none-any.whl
.
File metadata
- Download URL: world-5.1.1-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.8.0 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a162b89b5e4625bd779047449468cc9e2479304af441ff88a17109fcf7666f59 |
|
MD5 | 8cb78f7428ead51a572b2d50bc5fdb8a |
|
BLAKE2b-256 | 09d12a5dbafd27e38441d397c580d9aab320f2da9431025c508e8aa20859fd54 |