{ "info": { "author": "mouhao", "author_email": "mouhao@hudongpai.com", "bugtrack_url": null, "classifiers": [], "description": "python client for hornbill\n\ntest in python3.6\n\n# use case:\n\n\n## classify\n\n```python\nimport hornbill4p\n\nhost = 'algorithm3'\nport = 50051\nclient = hornbill4p.HornbillRpcClient(host, port)\nres = client.classify(\"\u662f\u4e2a\u5b9d\u5b9d\u513f\", [\"ADTWT\"])\nprint(res)\n```\n```bash\n> ADTWT$1\n```\n\n## batch_classify\n\n```python\nimport hornbill4p\n\nhost = 'algorithm3'\nport = 50051\nclient = hornbill4p.HornbillRpcClient(host, port)\nres = client.batch_classify([\"\u662f\u4e2a\u5b9d\u5b9d\u513f\", \"\u662f\u4e2a\u5b9d\u5b9d\u513f\"], [\"ADTWT\"])\n\nfor i in res:\n print(i)\n```\n```bash\n> ADTWT$1\n> ADTWT$1\n```\n\n\n\n# install \n\n```bash\ngit clone https://git.datatub.com/hornbill/hornbill4p.git\n```\n\n```bash\npip install -r requirements.txt\npython setup.py install\n```\n \n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.datastory.com.cn", "keywords": "", "license": " DATASTORY Co. Ltd. LICENSE\n Version 1, April 2018\n\nCopyright (C) 2018 Datastory \n\nAll rights reserved.\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n1.\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.", "maintainer": "", "maintainer_email": "", "name": "hornbill4p", "package_url": "https://pypi.org/project/hornbill4p/", "platform": "", "project_url": "https://pypi.org/project/hornbill4p/", "project_urls": { "Homepage": "http://www.datastory.com.cn" }, "release_url": "https://pypi.org/project/hornbill4p/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "hornbill python client and util", "version": "0.1.1" }, "last_serial": 3827091, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f6e6c2db41a8a67ec1d780c6dc83fdff", "sha256": "452b82ebcaf765cf236a544ff026446280c4f3c8aa05303fa925b9c70a8a25fa" }, "downloads": -1, "filename": "hornbill4p-0.1.0-py2.7.egg", "has_sig": false, "md5_digest": "f6e6c2db41a8a67ec1d780c6dc83fdff", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 11209, "upload_time": "2018-04-16T16:48:04", "url": "https://files.pythonhosted.org/packages/32/3c/8863a40af356af9f702f0724467f74cfdfa9f5f0c184a6c27f4bc36849d9/hornbill4p-0.1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "c57c8a798fc3d0c61ac484793c008808", "sha256": "6c305d4e45aeb843c144bad701aa00ac6084edacaf07caa6a6b4a1ed933e15bd" }, "downloads": -1, "filename": "hornbill4p-0.1.0-py3.6.egg", "has_sig": false, "md5_digest": "c57c8a798fc3d0c61ac484793c008808", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 11217, "upload_time": "2018-04-16T16:48:06", "url": "https://files.pythonhosted.org/packages/db/59/a6abcbf3ed361ac08e758ba8d9de4fea416c0eeef5e3ef00811f7db498d7/hornbill4p-0.1.0-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "26e67f0a55d7d16d30f1e2ef8fe7fc4d", "sha256": "8abda453ca3c9a664dba91bc67d99a2e8f78eb5f8c49e88983d042769eae860c" }, "downloads": -1, "filename": "hornbill4p-0.1.0.tar.gz", "has_sig": false, "md5_digest": "26e67f0a55d7d16d30f1e2ef8fe7fc4d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4343, "upload_time": "2018-04-16T16:48:08", "url": "https://files.pythonhosted.org/packages/4e/0e/095db54741c0d09f917c112efdf951c6ac949c290ee12e3fca30ef7f6448/hornbill4p-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "b83a990ed2864c421d5f2e5efbe4bdea", "sha256": "08533904b136f4c1d0711b60361b224f81920e4a5969b991945aebb6e830a4d1" }, "downloads": -1, "filename": "hornbill4p-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b83a990ed2864c421d5f2e5efbe4bdea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5116, "upload_time": "2018-05-02T13:26:21", "url": "https://files.pythonhosted.org/packages/84/38/f94f660b1fea92ce622e1ceaa7e927929e1e4eca36410eb1d0e3a2aa704b/hornbill4p-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b83a990ed2864c421d5f2e5efbe4bdea", "sha256": "08533904b136f4c1d0711b60361b224f81920e4a5969b991945aebb6e830a4d1" }, "downloads": -1, "filename": "hornbill4p-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b83a990ed2864c421d5f2e5efbe4bdea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5116, "upload_time": "2018-05-02T13:26:21", "url": "https://files.pythonhosted.org/packages/84/38/f94f660b1fea92ce622e1ceaa7e927929e1e4eca36410eb1d0e3a2aa704b/hornbill4p-0.1.1.tar.gz" } ] }