Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #2240 > unrolled thread

world 4.0

Started byBarry Warsaw <barry@python.org>
First post2016-08-24 17:09 -0400
Last post2016-08-24 17:09 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python.announce

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  world 4.0 Barry Warsaw <barry@python.org> - 2016-08-24 17:09 -0400

#2240 — world 4.0

FromBarry Warsaw <barry@python.org>
Date2016-08-24 17:09 -0400
Subjectworld 4.0
Message-ID<mailman.331.1472212980.2268.python-announce-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [standalone]


Back to top | Article view | comp.lang.python.announce


csiph-web