world 4.0

Barry Warsaw barry at python.org
Wed Aug 24 17:09:04 EDT 2016


world is a script that maps ISO 3166 top-level country codes to the English
country names and back again.  It also knows about a bunch of, but no where
near complete, other top-level domains.  For example:

    $ world tz us
    tz originates from Tanzania, United Republic of
    us originates from United States of America (the)

    $ 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)

It also provides the worldlib package, which is an API you can use in your own
programs if you need this database.  The library is only compatible with
Python 3.

Version 4.0 is a major new update to the tool, library, and database.

It can be installed using `pip install world` of course. :)

* PyPI: https://pypi.python.org/pypi/world
* 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/

Enjoy,
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-announce-list/attachments/20160824/b4f095ae/attachment.sig>


More information about the Python-announce-list mailing list