{ "info": { "author": "Robert Gieseke", "author_email": "robert.gieseke@pik-potsdam.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "\u201cDo One Thing and Do It Well\u201d - this package helps turning two or three letter\ncodes into short English names.\n\n`shortcountrynames` is maintained by Robert Gieseke ().\n\n## Data Package\n[Data Package](http://frictionlessdata.io/), a simple\n[CSV file](shortcountrynames.csv), with two and three-letter country\ncodes and short English country names based on the [country-codes](https://github.com/datasets/country-codes) Data Package with some\nchanges and additions to the choice of short names.\n\n## Python module\n\nInstall with\n\n```\npip install shortcountrynames\n```\n\nUsage\n\n```py\nfrom shortcountrynames import to_name\n\nassert to_name(\"DE\") == \"Germany\"\nassert to_name(\"DEU\") == \"Germany\"\n```\n\n## JavaScript module\n\nInstall with\n\n```\nnpm install shortcountrynames\n```\n\nUsage\n\n```js\nvar shortcountrynames = require(\"shortcountrynames\")\n\n// Define custom codes\nshortcountrynames.names[\"TEST\"] = 'test'\n\nconsole.log(shortcountrynames.to_name(\"DEU\")) // Germany\nconsole.log(shortcountrynames.to_name(\"TEST\")) // test\n```\n\n## Notes\n\nNon-standard codes:\n\n`EU`, `EUU` - European Union\n\n`XK`, `XKX` - Kosovo\n\n## License\n\nCC0\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rgieseke/shortcountrynames", "keywords": "country code", "license": "CC0", "maintainer": "", "maintainer_email": "", "name": "shortcountrynames", "package_url": "https://pypi.org/project/shortcountrynames/", "platform": "any", "project_url": "https://pypi.org/project/shortcountrynames/", "project_urls": { "Homepage": "https://github.com/rgieseke/shortcountrynames" }, "release_url": "https://pypi.org/project/shortcountrynames/0.8.0/", "requires_dist": null, "requires_python": "", "summary": "Maps from two or three letter country codes to short names", "version": "0.8.0" }, "last_serial": 4982093, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "650306746a76624e3c181ab4240c895b", "sha256": "1f18a2c36a62eb4e77ed95af4fea742badbaa3e8d58ff56cefa59b8298578989" }, "downloads": -1, "filename": "shortcountrynames-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "650306746a76624e3c181ab4240c895b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4896, "upload_time": "2017-08-03T14:59:02", "url": "https://files.pythonhosted.org/packages/82/af/ed211880f512520c1db096467eea7df44ba3a6cd94e06ae0cf0cb6d8b3e0/shortcountrynames-0.1-py2.py3-none-any.whl" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "0ae469caf14786346ae95ec5872f2b19", "sha256": "61b7088848561c1c9216b7f991af3cd7407618cea5d5265350c7b750894b2a1f" }, "downloads": -1, "filename": "shortcountrynames-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0ae469caf14786346ae95ec5872f2b19", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6234, "upload_time": "2017-08-11T14:20:45", "url": "https://files.pythonhosted.org/packages/01/af/ee027b7a8e5a79b4bd07df665c09be9dd38c7840535d74d1febcfb63dbd9/shortcountrynames-0.5.0-py2.py3-none-any.whl" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "7c5733f2e4893b2019fabe6a47591617", "sha256": "6108de8c49102d62ee37e27a45df981b63ae029ad13f50bda24f07bf66022a34" }, "downloads": -1, "filename": "shortcountrynames-0.5.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7c5733f2e4893b2019fabe6a47591617", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6236, "upload_time": "2017-08-11T14:45:45", "url": "https://files.pythonhosted.org/packages/f2/4e/57a4e2aeaf3025a239f3894580fa5903071c2d01e5a85cc764272509be2c/shortcountrynames-0.5.2-py2.py3-none-any.whl" } ], "0.5.3": [ { "comment_text": "", "digests": { "md5": "5493f76a57f340c12a7116cf4180382a", "sha256": "beab716fa0af69a26104b6b084a5666ba0da509906328ab2ea063ee08afdcd70" }, "downloads": -1, "filename": "shortcountrynames-0.5.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5493f76a57f340c12a7116cf4180382a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6236, "upload_time": "2017-08-15T09:40:26", "url": "https://files.pythonhosted.org/packages/f1/80/2ea3eef238b0a05d00c9887e11c88e7b96a032998e05fc5eac91355a92e1/shortcountrynames-0.5.3-py2.py3-none-any.whl" } ], "0.5.4": [ { "comment_text": "", "digests": { "md5": "1dd05be73fd5db7c1cfbff8294840c12", "sha256": "88918044910bc7d3e48d9a4f01083939bc519829d2a9067e1d5d1f8a7defe715" }, "downloads": -1, "filename": "shortcountrynames-0.5.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1dd05be73fd5db7c1cfbff8294840c12", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6229, "upload_time": "2017-09-04T13:11:50", "url": "https://files.pythonhosted.org/packages/e1/6f/f3a7a82c02b6aa4c34207d541d0be203ae55d6620d33a445334ff6be8ab5/shortcountrynames-0.5.4-py2.py3-none-any.whl" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "353c6e70a7cb1e465523b0b8595e3c0c", "sha256": "4e2513527188b4602663365c48d572e2c060a9dea594a449787e1bdc40b780bd" }, "downloads": -1, "filename": "shortcountrynames-0.6.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "353c6e70a7cb1e465523b0b8595e3c0c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5801, "upload_time": "2018-04-17T14:46:18", "url": "https://files.pythonhosted.org/packages/ad/89/cb572437182dd46cfae627c41c67ea97cc271e3d33ee9dcad9af29850219/shortcountrynames-0.6.0-py2.py3-none-any.whl" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "78cd81c976e5ae90d64f1d4eeb97dc1e", "sha256": "95f88e1b944d9576399c7832fdbc3a294b17c079f989de8a055d3d5cfc861838" }, "downloads": -1, "filename": "shortcountrynames-0.6.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "78cd81c976e5ae90d64f1d4eeb97dc1e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5797, "upload_time": "2018-04-17T14:55:50", "url": "https://files.pythonhosted.org/packages/2c/3b/efc83752bf0304b47021737736de0344eac9c8fcd64988bddddf7b226dce/shortcountrynames-0.6.1-py2.py3-none-any.whl" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "51b1352dea57fb7482e24be8d348e27a", "sha256": "8965414bfd12791df4204c6183cb7b9964c5b5c20bff4bcd858954fbcdda148d" }, "downloads": -1, "filename": "shortcountrynames-0.7.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "51b1352dea57fb7482e24be8d348e27a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5804, "upload_time": "2018-04-24T13:35:14", "url": "https://files.pythonhosted.org/packages/55/02/ec6bfc277a64b918d5156e4bf05b7b6c57e6fa8c8f018bb949b1356e6110/shortcountrynames-0.7.0-py2.py3-none-any.whl" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "eb481011e2af4c2a18a25c77e8aa7966", "sha256": "324726cb87d7def607d261a889766889ec5ef52989f12ee1c690a71ddcde3980" }, "downloads": -1, "filename": "shortcountrynames-0.7.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "eb481011e2af4c2a18a25c77e8aa7966", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5829, "upload_time": "2018-04-24T17:30:17", "url": "https://files.pythonhosted.org/packages/c8/0b/9028a5e2474798f403c10e5fdebc64020372cbed5d7bfb2ee46d53567a3a/shortcountrynames-0.7.1-py2.py3-none-any.whl" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "3a4f4688858eacedd799a6d790e7e4fa", "sha256": "431d445b732d12845edc10f6dd1c4f8126238db781e20a5f89df723e94c27129" }, "downloads": -1, "filename": "shortcountrynames-0.8.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3a4f4688858eacedd799a6d790e7e4fa", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8848, "upload_time": "2019-03-25T11:53:02", "url": "https://files.pythonhosted.org/packages/03/da/7c0df18b0ad4cbcdf44d0cfef9e9df73d548cd8f95a2ab937beb28a073b6/shortcountrynames-0.8.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3a4f4688858eacedd799a6d790e7e4fa", "sha256": "431d445b732d12845edc10f6dd1c4f8126238db781e20a5f89df723e94c27129" }, "downloads": -1, "filename": "shortcountrynames-0.8.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3a4f4688858eacedd799a6d790e7e4fa", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8848, "upload_time": "2019-03-25T11:53:02", "url": "https://files.pythonhosted.org/packages/03/da/7c0df18b0ad4cbcdf44d0cfef9e9df73d548cd8f95a2ab937beb28a073b6/shortcountrynames-0.8.0-py2.py3-none-any.whl" } ] }