Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Barry Warsaw Newsgroups: comp.lang.python.announce Subject: world 4.0 Date: Wed, 24 Aug 2016 17:09:04 -0400 Organization: Damn Crazy Followers of the Horn Lines: 62 Approved: python-announce-list@python.org Message-ID: References: <20160824170904.458bd721@anarchist.wooz.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/ZJTKK+l=SHU+NkQAO5FZAhI"; protocol="application/pgp-signature" X-Trace: news.uni-berlin.de 2OMRh0kmjkmwIet9iurxugwIroUlPVTnVh9sGY3OyKMg== Return-Path: X-Original-To: python-announce-list@python.org Delivered-To: python-announce-list@mail.python.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=python.org; s=200901; t=1472072939; bh=FJt383rsKiEgNz6ZglaNTMuY0kJmiWs0fc8atOD62M4=; h=Date:From:To:Subject:From; b=dhQE5pJVYmwH8IRQV77OUfkI6M91dWgA18wLLSd22RcZbbI27zJ7VfpQ4iz+s/fjP 2cu+CoFd2vqJNIrtnynrbWdJSA8KeyilKjoYTQvre95+KC+iEVP7lEozo3SsxQq/oc OCVFFeYXCS5MWw0tf8vuWy69WZr8j3bHkrDJtWaM= X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'url:pypi': 0.03; 'matches': 0.07; 'tool,': 0.07; 'api': 0.09; 'example:': 0.10; 'python': 0.10; 'package,': 0.13; '(common': 0.16; 'domains.': 0.16; 'enjoy,': 0.16; 'from:addr:barry': 0.16; 'from:name:barry warsaw': 0.16; 'received:192.168.11': 0.16; 'received:216.15': 0.16; 'received:216.15.33': 0.16; 'received:216.15.33.194': 0.16; 'received:io': 0.16; 'received:mail.wooz.org': 0.16; 'received:psf.io': 0.16; 'received:wooz.org': 0.16; 'url:issues': 0.16; 'library,': 0.18; 'from:addr:python.org': 0.18; 'library': 0.20; '4.0': 0.22; 'complete,': 0.22; 'minor': 0.22; 'script': 0.25; 'install': 0.25; 'installed': 0.26; 'compatible': 0.27; 'bugs': 0.27; 'code': 0.30; 'at:': 0.31; 'knows': 0.32; 'url:python': 0.33; 'maps': 0.35; 'but': 0.36; 'project': 0.36; 'url:org': 0.36; 'received:org': 0.37; 'america': 0.37; 'charset :us-ascii': 0.37; 'version': 0.38; 'names': 0.38; 'url:en': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'your': 0.60; 'programs': 0.62; 'back': 0.62; 'great': 0.63; 'world': 0.64; 'course.': 0.67; 'us:': 0.67; 'country': 0.74; 'arab': 0.84; 'emirates': 0.84; 'tanzania,': 0.84; 'uk:': 0.84; 'url:readthedocs': 0.84; 'ireland': 0.91; 'url:latest': 0.91 X-Virus-Scanned: Debian amavisd-new at mail.wooz.org X-Spam-Flag: NO X-Spam-Score: -2.9 X-Spam-Level: X-Spam-Status: No, score=-2.9 tagged_above=-9999 required=6 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9] autolearn=ham autolearn_force=no X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.30; x86_64-pc-linux-gnu) X-Mailman-Approved-At: Fri, 26 Aug 2016 08:02:58 -0400 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <20160824170904.458bd721@anarchist.wooz.org> Xref: csiph.com comp.lang.python.announce:2240 --Sig_/ZJTKK+l=SHU+NkQAO5FZAhI Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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 --Sig_/ZJTKK+l=SHU+NkQAO5FZAhI Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXvgzwAAoJEBJutWOnSwa/LVkQAMEx+d1k0pthJh8lVSsTETAr Udn/IhJwANasc31hZdpjRhB2SFWb41P34LVghd2N8dlUjMSYrOPBePhNyZpG/HvE hvhlPJ/0M6ZdmGruaAXUF4mO3P5CJaLr4oNvxzQ9vBP0BACviCHC311F3XytQCUa N8SBQnuZTcYUKe7yERdsh+uh1p5MkGiJX66y37zSQqd3EugFSERuEKDd73xBpYyW bttM3avpJHUe4HQN4HuOg0OBdYZRth4ZYrnv/+wAweIz4Wol/02Gnhl5S/oaBTO3 /8oIO3aX7QpqS4tGCpzoLcUiojtngcoJU3Jhx3cvMUsUsnk9w8uueQL4XzNSECov cE0nFwZUmoWVE4kdGpt+DZb9qU8Wp8ikLSakxqx3ACdgg3cVnCr+04jhqRYfRAlp YoKVDr45qINV6HHCdy7/z4spq7c/FUjfbrHbG4byC3JifvRT3PdZIMevOR4d/ZHb MBM572hN2RNB+pr4R3V/wAKQJpZClo67B0DxSLUOKLFRYx7RF0zSG9Zrj8u4Uy3w Nb11SB+PNMa0pa03byqFiCxJiJTvqF9G5WY1k3tQj3iC0j/xE/qOKJkLvE7NHmdu opXngJX3wlL4asWBNrGZNmLUTIXwj8G80KryWnjjDfaHz78Lm42FVUtY3hLtqIiI Iu14Y5jls7jY+sWDADqT =ds0p -----END PGP SIGNATURE----- --Sig_/ZJTKK+l=SHU+NkQAO5FZAhI--