Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python.announce > #2240 > unrolled thread
| Started by | Barry Warsaw <barry@python.org> |
|---|---|
| First post | 2016-08-24 17:09 -0400 |
| Last post | 2016-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.
world 4.0 Barry Warsaw <barry@python.org> - 2016-08-24 17:09 -0400
| From | Barry Warsaw <barry@python.org> |
|---|---|
| Date | 2016-08-24 17:09 -0400 |
| Subject | world 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
Back to top | Article view | comp.lang.python.announce
csiph-web