{ "info": { "author": "Bystroushaak", "author_email": "bystrousak@kitakitsune.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7" ], "description": "ISO 639-1 \u2194 ISO 639-2 translator\n================================\n\n.. image:: https://badge.fury.io/py/iso_639_codes.png\n :target: https://pypi.python.org/pypi/iso_639_codes\n\n.. image:: https://img.shields.io/pypi/dm/iso_639_codes.svg\n :target: https://pypi.python.org/pypi/iso_639_codes\n\n.. image:: https://img.shields.io/github/issues/Bystroushaak/iso_639_codes.svg\n :target: https://github.com/Bystroushaak/iso_639_codes/issues\n\nThis package may be used for translation between ISO 639-1 and ISO 639-2.\n\n.. code-block:: python\n\n >>> from iso_639_codes import translate\n >>> translate(\"cs\")\n 'cze'\n >>> translate(\"cze\")\n 'cs'\n\nOr alternative value in case that the code was not found:\n\n.. code-block:: python\n\n >>> translate(\"xe\", alt=\"alt\")\n 'alt'\n\nThere are two dicts which you may use for translation yourself:\n\n - iso_639_codes.iso_639_2_to_1\n - iso_639_codes.iso_639_1_to_2\n\nInstallation\n------------\nModule is hosted at `PYPI `_, and\ncan be installed using `PIP `_:\n\n::\n\n pip install iso_639_codes", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Bystroushaak/iso_639_codes", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "iso_639_codes", "package_url": "https://pypi.org/project/iso_639_codes/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/iso_639_codes/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/Bystroushaak/iso_639_codes" }, "release_url": "https://pypi.org/project/iso_639_codes/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "ISO 639-1 \u2194 ISO 639-2 code translation.", "version": "0.0.1" }, "last_serial": 1942879, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "653607a4739e465167338198025576fc", "sha256": "38845243bfa45a32eef890392def6e83d3ca66b0d2f58e9ae70b3dcb5a84f9b2" }, "downloads": -1, "filename": "iso_639_codes-0.0.1.tar.gz", "has_sig": false, "md5_digest": "653607a4739e465167338198025576fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3171, "upload_time": "2016-02-06T09:32:39", "url": "https://files.pythonhosted.org/packages/a2/f3/ec793ab8719d329f4116fadc470fe943246c9feb384a165f1d345e30c898/iso_639_codes-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "653607a4739e465167338198025576fc", "sha256": "38845243bfa45a32eef890392def6e83d3ca66b0d2f58e9ae70b3dcb5a84f9b2" }, "downloads": -1, "filename": "iso_639_codes-0.0.1.tar.gz", "has_sig": false, "md5_digest": "653607a4739e465167338198025576fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3171, "upload_time": "2016-02-06T09:32:39", "url": "https://files.pythonhosted.org/packages/a2/f3/ec793ab8719d329f4116fadc470fe943246c9feb384a165f1d345e30c898/iso_639_codes-0.0.1.tar.gz" } ] }