===================================================================
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 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/
Author
======
``world`` is Copyright (C) 2013-2025 Barry Warsaw <barry@python.org>
Licensed under the Apache License, Version 2.0 (the "License"). See the
LICENSE file for details.
.. _ISO: http://www.iso.org/iso/home.html
.. _3166: https://www.iso.org/iso-3166-country-codes.html
Raw data
{
"_id": null,
"home_page": null,
"name": "world",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "DNS, ISO 3166, country codes, domain name system",
"author": null,
"author_email": "Barry Warsaw <barry@python.org>",
"download_url": "https://files.pythonhosted.org/packages/20/35/c0ae907af59800247f9b46ae35f1779afa99e3037341b2277bb2ae3e93b7/world-5.2.1.tar.gz",
"platform": null,
"description": "===================================================================\nworld -- Print mappings between country names and DNS country codes\n===================================================================\n\nThis script takes a list of Internet top-level domain names and prints out\nwhere in the world those domains originate from. For example::\n\n $ world tz us\n tz originates from Tanzania, United Republic of\n us originates from United States of America (the)\n\nReverse look ups are also supported::\n\n $ world -r united\n Matches for \"united\":\n ae: United Arab Emirates (the)\n gb: United Kingdom of Great Britain and Northern Ireland (the)\n tz: Tanzania, United Republic of\n uk: United Kingdom (common practice)\n um: United States Minor Outlying Islands (the)\n us: United States of America (the)\n\nOnly two-letter country codes are supported, since these are the only ones\nthat were freely available from the ISO_ 3166_ standard. However, as of\n2015-01-09, even these are no longer freely available in a machine readable\nformat.\n\nThis script also knows about non-geographic, generic, USA-centric, historical,\ncommon usage, and reserved top-level domains.\n\n\nProject details\n===============\n\n* Project home: https://gitlab.com/warsaw/world\n* Report bugs at: https://gitlab.com/warsaw/world/issues\n* Code hosting: https://gitlab.com/warsaw/world.git\n* Documentation: http://world.readthedocs.io/en/latest/\n\n\nAuthor\n======\n\n``world`` is Copyright (C) 2013-2025 Barry Warsaw <barry@python.org>\n\nLicensed under the Apache License, Version 2.0 (the \"License\"). See the\nLICENSE file for details.\n\n\n.. _ISO: http://www.iso.org/iso/home.html\n.. _3166: https://www.iso.org/iso-3166-country-codes.html\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "world -- top level domain code mappings",
"version": "5.2.1",
"project_urls": {
"Bug Tracker": "https://gitlab.com/warsaw/world/issues",
"Documentation": "https://world.readthedocs.io",
"Home Page": "https://world.readthedocs.io",
"Source": "https://gitlab.com/warsaw/world.git"
},
"split_keywords": [
"dns",
" iso 3166",
" country codes",
" domain name system"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "5770374b2916138e7fc34fec89be48ba74787900900c42271b1203b061c89db0",
"md5": "d96366c5cc2efc83998a5f84b455713f",
"sha256": "4863376e045d4ba0baf5f3798963a99b9ebfd1eb85a5a8f04f5ea59f5e80edb2"
},
"downloads": -1,
"filename": "world-5.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d96366c5cc2efc83998a5f84b455713f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 12625,
"upload_time": "2025-09-11T05:47:19",
"upload_time_iso_8601": "2025-09-11T05:47:19.880570Z",
"url": "https://files.pythonhosted.org/packages/57/70/374b2916138e7fc34fec89be48ba74787900900c42271b1203b061c89db0/world-5.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "2035c0ae907af59800247f9b46ae35f1779afa99e3037341b2277bb2ae3e93b7",
"md5": "2e8412c020f4ee3df89e981f2dc073df",
"sha256": "635e9890f2a4a72c1417ee002184feb8254303c7c3b4ab6d1fb168bd7e750cc7"
},
"downloads": -1,
"filename": "world-5.2.1.tar.gz",
"has_sig": false,
"md5_digest": "2e8412c020f4ee3df89e981f2dc073df",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 20804,
"upload_time": "2025-09-11T05:47:20",
"upload_time_iso_8601": "2025-09-11T05:47:20.676906Z",
"url": "https://files.pythonhosted.org/packages/20/35/c0ae907af59800247f9b46ae35f1779afa99e3037341b2277bb2ae3e93b7/world-5.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-11 05:47:20",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "warsaw",
"gitlab_project": "world",
"lcname": "world"
}