{ "info": { "author": "spirit", "author_email": "hiddenspirit@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2" ], "description": "Translit \u2013 Transliterate between Unicode and smaller coded character sets\n=========================================================================\n\n\nExample usage\n-------------\n\n>>> import translit\n>>> text = \"La question, c\u2019est\\u202f: \u00ab\\u202fO\u00f9 est le c\u0153ur\\u202f?\\u202f\u00bb\"\n>>> translit.downgrade(text, \"latin-1\")\n\"La question, c'est\\xa0: \u00ab\\xa0O\u00f9 est le coeur\\xa0?\\xa0\u00bb\"\n>>> translit.downgrade(text, \"ascii\")\n'La question, c\\'est : \"Ou est le coeur ?\"'\n>>> buf = text.encode(\"latin-1/translit\")\n>>> buf\nb\"La question, c'est\\xa0: \\xab\\xa0O\\xf9 est le coeur\\xa0?\\xa0\\xbb\"\n>>> buf.decode(\"latin-1\")\n\"La question, c'est\\xa0: \\xab\\xa0O\\xf9 est le coeur\\xa0?\\xa0\\xbb\"\n>>> buf.decode(\"latin-1/translit\")\n'La question, c\u2019est\\u202f: \u00ab\\u202fO\u00f9 est le c\u0153ur\\u202f?\\u202f\u00bb'\n\n\nRequirements\n------------\n\n- `PyEnchant `_", "description_content_type": null, "docs_url": null, "download_url": "https://bitbucket.org/spirit/translit/downloads", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/spirit/translit", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "translit", "package_url": "https://pypi.org/project/translit/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/translit/", "project_urls": { "Download": "https://bitbucket.org/spirit/translit/downloads", "Homepage": "https://bitbucket.org/spirit/translit" }, "release_url": "https://pypi.org/project/translit/0.1/", "requires_dist": [ "pyenchant" ], "requires_python": ">=3.2", "summary": "Transliterate between Unicode and smaller coded character sets", "version": "0.1" }, "last_serial": 1774579, "releases": { "0.1": [], "0.2a0": [], "0.2a1": [ { "comment_text": "", "digests": { "md5": "d06b3104f7a153dba329e23d93292498", "sha256": "f785c8a09a52a20d9a4dbabf2c6e6226baf0fdd03376a08e8c19fc94592f736c" }, "downloads": -1, "filename": "translit-0.2a1.tar.bz2", "has_sig": false, "md5_digest": "d06b3104f7a153dba329e23d93292498", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0,!=3.1", "size": 92941, "upload_time": "2015-10-18T12:34:55", "url": "https://files.pythonhosted.org/packages/be/68/b0bd0c9fb2c06c8bd8c53df7b4781dc5b6a07038c2a4d95faf26289da5b9/translit-0.2a1.tar.bz2" } ] }, "urls": [] }