{ "info": { "author": "Daohan Chong", "author_email": "wildcat.name@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "\nSogou-Translate |Build Status| |codecov| |PyPI version|\n=======================================================\n\nThe Python wrapper for `Sogou Translate\nAPI `__. Only **Python 3.6** is\nsupported.\n\n.. figure:: https://user-images.githubusercontent.com/2396817/38472358-b1b2aa96-3b76-11e8-85ec-bbd7b47fc3a8.png\n :alt: sogou_translate_logo\n\n sogou_translate_logo\n\nGet started\n-----------\n\nYou could install this library using ``pip``:\n\n.. code:: shell\n\n pip install sogou-translate\n\nNote: You might have to `apply for the\nkeys `__ in order to use the\nservice. If you wish to have a brief demo of this service, you could use\nthe demo keys mentioned in the related web pages.\n\nExample usage\n-------------\n\n.. code:: python\n\n from sogou_translate import SogouTranslate, SogouLanguages\n\n trans = SogouTranslate('[Your pid]', '[Your secret key]')\n\n en_text = 'Hello, world!'\n zh_text = trans.translate(en_text, from_language=SogouLanguages.EN, to_language=SogouLanguages.ZH_CHS)\n print(zh_text) # '\u4f60\u597d\uff0c\u4e16\u754c\uff01'\n\nLicense\n-------\n\nThe code is licensed under DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE.\nFor more details, read the `LICENSE <./LICENSE>`__ file.\n\n.. |Build Status| image:: https://travis-ci.org/imWildCat/sogou-translate.svg?branch=master\n :target: https://travis-ci.org/imWildCat/sogou-translate\n.. |codecov| image:: https://codecov.io/gh/imWildCat/sogou-translate/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/imWildCat/sogou-translate\n.. |PyPI version| image:: https://badge.fury.io/py/sogou-translate.svg\n :target: https://badge.fury.io/py/sogou-translate\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/imWildCat/sogou-translate/archive/1.0.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/imWildCat/sogou-translate", "keywords": "translate,api,sougou", "license": "", "maintainer": "", "maintainer_email": "", "name": "sogou-translate", "package_url": "https://pypi.org/project/sogou-translate/", "platform": "", "project_url": "https://pypi.org/project/sogou-translate/", "project_urls": { "Download": "https://github.com/imWildCat/sogou-translate/archive/1.0.0.tar.gz", "Homepage": "https://github.com/imWildCat/sogou-translate" }, "release_url": "https://pypi.org/project/sogou-translate/1.0.1/", "requires_dist": [ "requests" ], "requires_python": ">=3.6.0", "summary": "The Python wrapper for Sogou Translate API", "version": "1.0.1" }, "last_serial": 3869606, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "8a59787aa329f9df82759a51740206d2", "sha256": "ec21271bd5ec4fcc277271b402695c069215768333ba6b3b8f80e08d7e60dc30" }, "downloads": -1, "filename": "sogou_translate-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8a59787aa329f9df82759a51740206d2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 6068, "upload_time": "2018-04-08T21:02:18", "url": "https://files.pythonhosted.org/packages/85/65/53592831ec779bdbb60a050f58e0c8cec0ad623c7d1419678785ba1a8ecc/sogou_translate-1.0.0-py2.py3-none-any.whl" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "4709ee322df340ae00b838472c188b0e", "sha256": "046333773235e4c86fd638aae87f62ed5e19d7980e850e3a0948101cce5c3f98" }, "downloads": -1, "filename": "sogou_translate-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4709ee322df340ae00b838472c188b0e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 6037, "upload_time": "2018-05-16T18:08:16", "url": "https://files.pythonhosted.org/packages/c0/0a/4124857a273041a5a2d10553ac8d86a472646962de29a7aba46d381e662f/sogou_translate-1.0.1-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4709ee322df340ae00b838472c188b0e", "sha256": "046333773235e4c86fd638aae87f62ed5e19d7980e850e3a0948101cce5c3f98" }, "downloads": -1, "filename": "sogou_translate-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4709ee322df340ae00b838472c188b0e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 6037, "upload_time": "2018-05-16T18:08:16", "url": "https://files.pythonhosted.org/packages/c0/0a/4124857a273041a5a2d10553ac8d86a472646962de29a7aba46d381e662f/sogou_translate-1.0.1-py2.py3-none-any.whl" } ] }