{ "info": { "author": "messense", "author_email": "messense@icloud.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Operating System :: MacOS", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7" ], "description": "jieba-rpc\n=============\n[![Build Status](https://travis-ci.org/messense/jieba-rpc.svg?branch=master)](https://travis-ci.org/messense/jieba-rpc)\n\nSimple [jieba](https://github.com/fxsjy/jieba) RPC server based on [msgpack-rpc-python](https://github.com/msgpack-rpc/msgpack-rpc-python).\n\n\n## Installation\n\nInstall `jieba-rpc` using `pip`:\n\n```bash\npip install jieba-rpc\n```\n\n\n## Usage\n\nYou can start a simple jieba RPC server by executing:\n\n```bash\npython -m jiebarpc localhost:8888\n```\n\nOr if you wish to customize it using codes:\n\n```python\n#!/usr/bin/env python\n# -*- coding: utf-8 -*-\nfrom __future__ import absolute_import, unicode_literals\nfrom jiebarpc import JiebaRPCServer, JiebaRPCDispatcher\n\n\ndef main(host, port):\n server = JiebaRPCServer(JiebaRPCDispatcher())\n server.listen(host, port)\n server.start()\n return 0\n\n\nif __name__ == '__main__':\n import sys\n\n if len(sys.argv) != 3:\n print('Usage: %s host port' % sys.argv[0])\n sys.exit(1)\n\n host = sys.argv[1]\n port = int(sys.argv[2])\n sys.exit(main(host, port))\n```\n\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 messense\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.", "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/messense/jieba-rpc", "keywords": "jieba,rpc", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "jieba-rpc", "package_url": "https://pypi.org/project/jieba-rpc/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/jieba-rpc/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/messense/jieba-rpc" }, "release_url": "https://pypi.org/project/jieba-rpc/0.0.4/", "requires_dist": null, "requires_python": null, "summary": "jieba RPC server", "version": "0.0.4" }, "last_serial": 1347082, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "446486aebf76ef086592fb91d0840331", "sha256": "5e54fb836d55dfc1b6972f203fc1e30816078b4564c95ad9caf737e3ff7cc3cc" }, "downloads": -1, "filename": "jieba_rpc-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "446486aebf76ef086592fb91d0840331", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4535, "upload_time": "2014-12-16T09:27:45", "url": "https://files.pythonhosted.org/packages/15/fa/8403e70bbc3e4b8076fb6628b8a6e2539c1a8dd8363f349e64822716f37b/jieba_rpc-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a1cb8310a1010a9a4bc9a7cc3ac40cad", "sha256": "85cb1cbcc12ef911a269fc38ad95d7e1fd71c1678cea3bfbf3be851110c59b50" }, "downloads": -1, "filename": "jieba-rpc-0.0.1.tar.gz", "has_sig": false, "md5_digest": "a1cb8310a1010a9a4bc9a7cc3ac40cad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2457, "upload_time": "2014-12-16T09:27:41", "url": "https://files.pythonhosted.org/packages/09/f8/25db7e965aa36da12cea36d70dc11cd30858dd10ee18c889294563c33ccc/jieba-rpc-0.0.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "a220e0d3e20588fa2fd9d7a85cf6a179", "sha256": "23e0f583ca0a508fc0081bd98872cfeb5d7b9dd0a3d0c14e25b6e36308e5df29" }, "downloads": -1, "filename": "jieba-rpc-0.0.1.zip", "has_sig": false, "md5_digest": "a220e0d3e20588fa2fd9d7a85cf6a179", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5043, "upload_time": "2014-12-16T09:27:38", "url": "https://files.pythonhosted.org/packages/86/fb/b37d59f41a2e718b510eae6e1a007482aba197f27ab1773ea6142bac4ee9/jieba-rpc-0.0.1.zip" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "d44f73bff254aecd0cdc61e86f95f8dd", "sha256": "b2c40977d1cdb620f6108d4bc0413b6ef68173ee680598cb0b3789d8c458e6e3" }, "downloads": -1, "filename": "jieba_rpc-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d44f73bff254aecd0cdc61e86f95f8dd", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4712, "upload_time": "2014-12-16T09:39:38", "url": "https://files.pythonhosted.org/packages/1d/0a/b0a7e47271273f2298318e8288cd00c07777e4dd15b68c04670d396fe809/jieba_rpc-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "00f71de9e7e750a232f13d1700275812", "sha256": "825e3ea39ecf52a4321538a69e7ed0dc38f20885140f38a7c6c53e9950f278e6" }, "downloads": -1, "filename": "jieba-rpc-0.0.2.tar.gz", "has_sig": false, "md5_digest": "00f71de9e7e750a232f13d1700275812", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2573, "upload_time": "2014-12-16T09:39:31", "url": "https://files.pythonhosted.org/packages/37/cb/aad51c2fad04dfd36f8a4655f623f96ad86d62cf6055c11dcec0d8c61d66/jieba-rpc-0.0.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "4b71a7acd46ba1235c45798b86a76247", "sha256": "c11a17948e60b9f6dc3e4e825d481a5ddc0ffa28b6357be2aa318fb271811ecc" }, "downloads": -1, "filename": "jieba-rpc-0.0.2.zip", "has_sig": false, "md5_digest": "4b71a7acd46ba1235c45798b86a76247", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5220, "upload_time": "2014-12-16T09:39:27", "url": "https://files.pythonhosted.org/packages/ec/32/fd3e7b9941b60322c55210c5ec91abbe20611b38c3c92af1b113609915b1/jieba-rpc-0.0.2.zip" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "2370f54775b4cae2352b1f35256917bf", "sha256": "8b5f6bbef1f761fcf249c141e41f884883a632800b41ff2731e54131ac82bc9a" }, "downloads": -1, "filename": "jieba_rpc-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2370f54775b4cae2352b1f35256917bf", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5688, "upload_time": "2014-12-17T02:27:34", "url": "https://files.pythonhosted.org/packages/df/20/8815d72f0af4eb62cfaa51d551b5b090e196f9c9893abdfcb1d47882caa1/jieba_rpc-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6b6df17aa5a7844d2723a544612bf55d", "sha256": "d9981fdd576580fde819898bb1f465a75580675c26e2f7f7a410453bccbdd1a0" }, "downloads": -1, "filename": "jieba-rpc-0.0.3.tar.gz", "has_sig": false, "md5_digest": "6b6df17aa5a7844d2723a544612bf55d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6740, "upload_time": "2014-12-17T02:27:31", "url": "https://files.pythonhosted.org/packages/bd/84/8b6916e10ac772c9484472ed3ec525c02634661162819c6174536159a072/jieba-rpc-0.0.3.tar.gz" }, { "comment_text": "", "digests": { "md5": "473be1f518f0e42ce1360e7180e2f8fd", "sha256": "424b0bee6bf7223f840f71bbb7291da621183e15d9a4aca6b21ea45b4c9220ea" }, "downloads": -1, "filename": "jieba-rpc-0.0.3.zip", "has_sig": false, "md5_digest": "473be1f518f0e42ce1360e7180e2f8fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11158, "upload_time": "2014-12-17T02:27:28", "url": "https://files.pythonhosted.org/packages/f6/5e/5dc31b9c6004d9e09f78b52486fce3b052239f5b8c1b448413b9b86888f0/jieba-rpc-0.0.3.zip" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "3d9f85992f5e2996faa5f8fefddf3f18", "sha256": "a34faf9854b31a20c28db2c77fef7e9941a4d42493de05cc13afb48317c136b2" }, "downloads": -1, "filename": "jieba_rpc-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3d9f85992f5e2996faa5f8fefddf3f18", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 8408, "upload_time": "2014-12-17T03:29:58", "url": "https://files.pythonhosted.org/packages/ee/d8/94123884fc9699e831ecfd6def910e62439b7d9f7167bc7c0993a588c24c/jieba_rpc-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8a5593139f2e366f1e25a2befe96da24", "sha256": "58f4c8555cd8ac12481006f1fcf20e5ec3328ba7e314b14937ce9419e9f993a4" }, "downloads": -1, "filename": "jieba-rpc-0.0.4.tar.gz", "has_sig": false, "md5_digest": "8a5593139f2e366f1e25a2befe96da24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7429, "upload_time": "2014-12-17T03:29:53", "url": "https://files.pythonhosted.org/packages/c5/77/522831c6378e0c433453fa470019f6ba83a5018768c4cae3aa3ba09b2ce1/jieba-rpc-0.0.4.tar.gz" }, { "comment_text": "", "digests": { "md5": "700c86dcc0952625ece82128488c86bb", "sha256": "3d260af040110429d75900782d0631e91af3ed94fa9b63eddec7936999238dfe" }, "downloads": -1, "filename": "jieba-rpc-0.0.4.zip", "has_sig": false, "md5_digest": "700c86dcc0952625ece82128488c86bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15015, "upload_time": "2014-12-17T03:29:48", "url": "https://files.pythonhosted.org/packages/e7/fa/b25b360d9fe3067193aff43dd4e4d5d60891e68cb3b75174f5508f38ec2b/jieba-rpc-0.0.4.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3d9f85992f5e2996faa5f8fefddf3f18", "sha256": "a34faf9854b31a20c28db2c77fef7e9941a4d42493de05cc13afb48317c136b2" }, "downloads": -1, "filename": "jieba_rpc-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3d9f85992f5e2996faa5f8fefddf3f18", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 8408, "upload_time": "2014-12-17T03:29:58", "url": "https://files.pythonhosted.org/packages/ee/d8/94123884fc9699e831ecfd6def910e62439b7d9f7167bc7c0993a588c24c/jieba_rpc-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8a5593139f2e366f1e25a2befe96da24", "sha256": "58f4c8555cd8ac12481006f1fcf20e5ec3328ba7e314b14937ce9419e9f993a4" }, "downloads": -1, "filename": "jieba-rpc-0.0.4.tar.gz", "has_sig": false, "md5_digest": "8a5593139f2e366f1e25a2befe96da24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7429, "upload_time": "2014-12-17T03:29:53", "url": "https://files.pythonhosted.org/packages/c5/77/522831c6378e0c433453fa470019f6ba83a5018768c4cae3aa3ba09b2ce1/jieba-rpc-0.0.4.tar.gz" }, { "comment_text": "", "digests": { "md5": "700c86dcc0952625ece82128488c86bb", "sha256": "3d260af040110429d75900782d0631e91af3ed94fa9b63eddec7936999238dfe" }, "downloads": -1, "filename": "jieba-rpc-0.0.4.zip", "has_sig": false, "md5_digest": "700c86dcc0952625ece82128488c86bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15015, "upload_time": "2014-12-17T03:29:48", "url": "https://files.pythonhosted.org/packages/e7/fa/b25b360d9fe3067193aff43dd4e4d5d60891e68cb3b75174f5508f38ec2b/jieba-rpc-0.0.4.zip" } ] }