{ "info": { "author": "Joe Cao", "author_email": "chinalibra@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Topic :: Communications", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: HTTP Servers", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Networking" ], "description": "Python Dubbo Client\n===================================== \n\u5b9e\u73b0\u5ba2\u6237\u7aef\u7684\u8d1f\u8f7d\u5747\u8861\u3001\u914d\u5408Zookeeper\u81ea\u52a8\u53d1\u73b0\u670d\u52a1\u529f\u80fd\n-------------------------------------\n\n\n### Python\u8c03\u7528Dubbo\u63a5\u53e3\u7684jsonrpc\u534f\u8bae \n\u8bf7\u4f7f\u7528dubbo-rpc-jsonrpc \u5e76\u5728dubbo\u4e2d\u914d\u7f6eprotocol\u4e3ajsonrpc\u534f\u8bae\n\u53c2\u8003 https://github.com/ofpay/dubbo-rpc-jsonrpc\n\n### \u5b89\u88c5\n\u4e0b\u8f7d\u4ee3\u7801 \npython setup.py install\npip\u5b89\u88c5\npip install dubbo-client==1.0.0b5\nGit\u5b89\u88c5 \npip install git+http://git.dev.qianmi.com/tda/dubbo-client-py.git@1.0.0b5 \n\u6216\u8005 \npip install git+https://github.com/ofpay/dubbo-client-py.git@1.0.0b5\n\n### \u5728\u5ba2\u6237\u7aef\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\uff0c\u670d\u52a1\u53d1\u73b0 \n\u901a\u8fc7\u6ce8\u518c\u4e2d\u5fc3\u7684zookeeper\uff0c\u83b7\u53d6\u670d\u52a1\u7684\u6ce8\u518c\u4fe1\u606f\n\u7136\u540e\u901a\u8fc7\u4ee3\u7406\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\u7b97\u6cd5\uff0c\u8c03\u7528\u670d\u52a1\u7aef\n\u652f\u6301Version\u3001Group\u8bbe\u7f6e\n\n### Example\n```python \n config = ApplicationConfig('test_rpclib')\n service_interface = 'com.ofpay.demo.api.UserProvider'\n #registry\u5305\u542b\u4e86\u548czookeeper\u7684\u8fde\u63a5\uff0c\u8be5\u5bf9\u8c61\u9700\u8981\u7f13\u5b58\n registry = ZookeeperRegistry('192.168.59.103:2181', config)\n user_provider = DubboClient(service_interface, registry, version='1.0')\n for i in range(1000):\n try:\n print user_provider.getUser('A003')\n print user_provider.queryUser(\n {u'age': 18, u'time': 1428463514153, u'sex': u'MAN', u'id': u'A003', u'name': u'zhangsan'})\n print user_provider.queryAll()\n print user_provider.isLimit('MAN', 'Joe')\n print user_provider('getUser', 'A005')\n\n except DubboClientError, client_error:\n print client_error\n time.sleep(5)\n```\n\n### TODO\n\u4f18\u5316\u6027\u80fd\uff0c\u5c06\u670d\u52a1\u4e0a\u4e0b\u7ebf\u7684\u5f71\u54cd\u964d\u5230\u6700\u5c0f \n\u652f\u6301Retry\u53c2\u6570 \n\u652f\u6301\u6743\u91cd\u8c03\u7528 \n\u5355\u5143\u6d4b\u8bd5\u8986\u76d6\u7387\n\n### Licenses\nMIT License", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/ofpay/dubbo-client-py/raw/master/dist/dubbo-client-1.0.0b5-py2.7.egg", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ofpay/dubbo-client-py", "keywords": "Dubbo,JSON-RPC,JSON,RPC,Client,HTTP-Client,Remote Procedure Call,JavaScript Object Notation,", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "dubbo-client", "package_url": "https://pypi.org/project/dubbo-client/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/dubbo-client/", "project_urls": { "Download": "https://github.com/ofpay/dubbo-client-py/raw/master/dist/dubbo-client-1.0.0b5-py2.7.egg", "Homepage": "https://github.com/ofpay/dubbo-client-py" }, "release_url": "https://pypi.org/project/dubbo-client/1.0.0b5/", "requires_dist": null, "requires_python": null, "summary": "Python Dubbo Client", "version": "1.0.0b5" }, "last_serial": 1513880, "releases": { "1.0.0b2": [ { "comment_text": "", "digests": { "md5": "313d99f5fe9de260d0edd1a7804fc306", "sha256": "72a19d7437299df52cf3048370c15f4c29cabdbd658803f65697eb6b63d50cae" }, "downloads": -1, "filename": "dubbo-client-1.0.0b2.tar.gz", "has_sig": false, "md5_digest": "313d99f5fe9de260d0edd1a7804fc306", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9125, "upload_time": "2015-04-18T02:06:03", "url": "https://files.pythonhosted.org/packages/14/9d/f78a6b903ad037ea8d17942d0bffa08568bea78713e6a48fab4b2d678bc8/dubbo-client-1.0.0b2.tar.gz" } ], "1.0.0b3": [ { "comment_text": "", "digests": { "md5": "b4a14fef612328c58631bf72d9e87529", "sha256": "3742f736c42ccf29f14b73a979862643204ce200d0c19ccf622f756b3290cdaa" }, "downloads": -1, "filename": "dubbo-client-1.0.0b3.tar.gz", "has_sig": false, "md5_digest": "b4a14fef612328c58631bf72d9e87529", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9119, "upload_time": "2015-04-18T02:40:26", "url": "https://files.pythonhosted.org/packages/ec/84/88621938d5d829c336e59019ca6e545d0dd513b6a105d4308334d142827b/dubbo-client-1.0.0b3.tar.gz" } ], "1.0.0b4": [ { "comment_text": "", "digests": { "md5": "ebca0a0e71dee8b00bb5b01e5b028644", "sha256": "addd960d043d1634b760e12e70f97518ea11430ce4e4ff345694aca017f88720" }, "downloads": -1, "filename": "dubbo-client-1.0.0b4.tar.gz", "has_sig": false, "md5_digest": "ebca0a0e71dee8b00bb5b01e5b028644", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9358, "upload_time": "2015-04-18T07:31:50", "url": "https://files.pythonhosted.org/packages/bf/de/3cf372543882404168c900100ad8ae8ae69f1e7e363214342b6777cb76c2/dubbo-client-1.0.0b4.tar.gz" } ], "1.0.0b5": [ { "comment_text": "", "digests": { "md5": "e12906596ca52cee68e3ada4ca14ea75", "sha256": "452d8a7ad57bf131fc98d252173230d5cf6506bb576acb09d06fd1e9120494e8" }, "downloads": -1, "filename": "dubbo-client-1.0.0b5.tar.gz", "has_sig": false, "md5_digest": "e12906596ca52cee68e3ada4ca14ea75", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9365, "upload_time": "2015-04-21T03:33:23", "url": "https://files.pythonhosted.org/packages/fe/a6/3acfcec72de171a56ebc3beee796da5d7848d5a93c63eaa8eb957abf4371/dubbo-client-1.0.0b5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e12906596ca52cee68e3ada4ca14ea75", "sha256": "452d8a7ad57bf131fc98d252173230d5cf6506bb576acb09d06fd1e9120494e8" }, "downloads": -1, "filename": "dubbo-client-1.0.0b5.tar.gz", "has_sig": false, "md5_digest": "e12906596ca52cee68e3ada4ca14ea75", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9365, "upload_time": "2015-04-21T03:33:23", "url": "https://files.pythonhosted.org/packages/fe/a6/3acfcec72de171a56ebc3beee796da5d7848d5a93c63eaa8eb957abf4371/dubbo-client-1.0.0b5.tar.gz" } ] }