world -- top level domain code mappings
Project description
===================================================================
world -- Print mappings between country names and DNS country codes
===================================================================
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.
Author
======
`world` is Copyright (C) 2013-2015 Barry Warsaw <barry@python.org>
Licensed under the terms of the GNU General Public License, version 3 or
later. See the LICENSE.txt file for details.
Project
=======
Project home: https://launchpad.net/world
Report bugs at: https://bugs.launchpad.net/world
Code hosting: https://gitorious.org/python-world/python-world.git
.. _ISO: http://www.iso.org/iso/home.html
.. _3166: http://www.iso.org/iso/home/standards/country_codes/
world -- Print mappings between country names and DNS country codes
===================================================================
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.
Author
======
`world` is Copyright (C) 2013-2015 Barry Warsaw <barry@python.org>
Licensed under the terms of the GNU General Public License, version 3 or
later. See the LICENSE.txt file for details.
Project
=======
Project home: https://launchpad.net/world
Report bugs at: https://bugs.launchpad.net/world
Code hosting: https://gitorious.org/python-world/python-world.git
.. _ISO: http://www.iso.org/iso/home.html
.. _3166: http://www.iso.org/iso/home/standards/country_codes/
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
world-3.1.tar.gz
(31.9 kB
view details)
File details
Details for the file world-3.1.tar.gz
.
File metadata
- Download URL: world-3.1.tar.gz
- Upload date:
- Size: 31.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
7beb0455b0b3b38069f5dc5e5ecdfcb30aed491a3d6591c58d86f070e9c63d50
|
|
MD5 |
bb91ca1117c84686daed6e54e88bff1b
|
|
BLAKE2b-256 |
c6aea3db0f7da15c71e2b5a3e664e6da2ad038616daa5f40d539629b1b68e267
|