Skip to main content

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
freely available from the ISO_ 3166_ standard.

This script also knows about non-geographic, generic, USA-centric, historical,
common usage, and reserved top-level domains.


Author
======

`world` is Copyright (C) 2013 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.


.. _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.0.tar.gz (29.6 kB view details)

Uploaded Source

File details

Details for the file world-3.0.tar.gz.

File metadata

  • Download URL: world-3.0.tar.gz
  • Upload date:
  • Size: 29.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for world-3.0.tar.gz
Algorithm Hash digest
SHA256 2a1f3403d8b78bf03ed19cb7c6b4075b238a5d84b328666e7ca9a23013fb225a
MD5 89810cc4b1b493bb509498a0229ff947
BLAKE2b-256 bd40816f9da48a42c91f4d10ec2e292a887c5d5923f21757df36177aa5df48ab

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page