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
Reverse look ups are also supported:
$ world -r united Matches for "united": ae: UNITED ARAB EMIRATES gb: UNITED KINGDOM tz: TANZANIA, UNITED REPUBLIC OF uk: United Kingdom (common practice) um: UNITED STATES MINOR OUTLYING ISLANDS us: UNITED STATES
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
Project home: https://gitlab.com/warsaw/world
Report bugs at: https://gitlab.com/warsaw/world/issues
Code hosting: https://gitlab.com/warsaw/world.git
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
Hashes for world-3.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1e95158ee71c3ccb4d60bb4a55c8952ea289d1761888349e67cffcf6b94c2f3 |
|
MD5 | 100dab930238b488e3cf5bc630509e0c |
|
BLAKE2b-256 | 650a3a7222c8143ba179ad9c6bbeeb3ee3f327c8ad1616a3f9b9a28b09021f17 |