{ "info": { "author": "Hsiaoming Yang", "author_email": "me@lepture.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "OpenCC for Python\n=================\n\nAn OpenCC_ converter for Python.\n\n.. _OpenCC: https://github.com/BYVoid/OpenCC\n\nInstallation\n------------\n\nYou should install OpenCC (1.0.x) library first.\n\nInstall the python library with pip::\n\n $ pip install OpenCC\n\n\nFeatures\n--------\n\n1. Compatible with CPython and PyPy (c-types)\n2. Cython implementation (TODO)\n\n\nUsage\n-----\n\nThis library has only one method::\n\n >>> import opencc\n >>> opencc.convert('\u4e7e\u5764\u4e00\u64f2')\n >>> opencc.convert('\u4e7e\u5764\u4e00\u63b7', config='s2t.json')\n\nConfig\n------\n\nConvert method accepts an additional config parameter. Available configs::\n\n hk2s.json\n s2hk.json\n s2t.json\n s2tw.json\n s2twp.json\n t2s.json\n tw2s.json\n tw2sp.json", "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/lepture/opencc-python", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "OpenCC", "package_url": "https://pypi.org/project/OpenCC/", "platform": "any", "project_url": "https://pypi.org/project/OpenCC/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/lepture/opencc-python" }, "release_url": "https://pypi.org/project/OpenCC/0.2/", "requires_dist": null, "requires_python": null, "summary": "A ctypes-based OpenCC converter for Chinese.", "version": "0.2" }, "last_serial": 1820071, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7da2f0efe10cf5f266a04a107dfe02f9", "sha256": "957ce2d52da705631b029e3cecc06bc2ab01d0cf249c3aae7a18c07736e3b263" }, "downloads": -1, "filename": "OpenCC-0.1.tar.gz", "has_sig": false, "md5_digest": "7da2f0efe10cf5f266a04a107dfe02f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6464, "upload_time": "2014-08-02T13:19:01", "url": "https://files.pythonhosted.org/packages/44/d0/d84344995be80491ad72340eefa23d9c4f5f6e9bb0bb03bb2220b93c7d3f/OpenCC-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "72108fec8308b89b0158f7ed6cd2e9b5", "sha256": "c845abfcd6936ea110ff19de0da85e5ed99953cb03836be975bd0d5b163618e1" }, "downloads": -1, "filename": "OpenCC-0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "72108fec8308b89b0158f7ed6cd2e9b5", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 3693, "upload_time": "2015-11-17T08:48:14", "url": "https://files.pythonhosted.org/packages/08/18/951a89e4638db357184d0acf338a89b7b8e48cf6c242243fe193d201dc5c/OpenCC-0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "047bd2d40643177282b0662ea1fc1476", "sha256": "bfca25fb46add057454075ba4c4dfed51c19c09944a960e3920ac22ba24097e2" }, "downloads": -1, "filename": "OpenCC-0.2.tar.gz", "has_sig": false, "md5_digest": "047bd2d40643177282b0662ea1fc1476", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6416, "upload_time": "2015-11-17T08:48:20", "url": "https://files.pythonhosted.org/packages/56/fb/5a7224ede65ac6271d163fcee81d4cb84f42a40667271f970faab97840df/OpenCC-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "72108fec8308b89b0158f7ed6cd2e9b5", "sha256": "c845abfcd6936ea110ff19de0da85e5ed99953cb03836be975bd0d5b163618e1" }, "downloads": -1, "filename": "OpenCC-0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "72108fec8308b89b0158f7ed6cd2e9b5", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 3693, "upload_time": "2015-11-17T08:48:14", "url": "https://files.pythonhosted.org/packages/08/18/951a89e4638db357184d0acf338a89b7b8e48cf6c242243fe193d201dc5c/OpenCC-0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "047bd2d40643177282b0662ea1fc1476", "sha256": "bfca25fb46add057454075ba4c4dfed51c19c09944a960e3920ac22ba24097e2" }, "downloads": -1, "filename": "OpenCC-0.2.tar.gz", "has_sig": false, "md5_digest": "047bd2d40643177282b0662ea1fc1476", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6416, "upload_time": "2015-11-17T08:48:20", "url": "https://files.pythonhosted.org/packages/56/fb/5a7224ede65ac6271d163fcee81d4cb84f42a40667271f970faab97840df/OpenCC-0.2.tar.gz" } ] }