{ "info": { "author": "Roy", "author_email": "1573277807@qq.com", "bugtrack_url": null, "classifiers": [], "description": "## Introduce to qb-consul\n\nversion: 1.0.2\n\nhow to install:\n\npip install qb-consul\n\n\nIf you want to use it locally:\n```\nfrom qb_consul import Consul\n\n\nhost = \"127.0.0.1\" # consul\u670d\u52a1\u5668\u7684ip\nport = 8500 # consul\u670d\u52a1\u5668\u5bf9\u5916\u7684\u7aef\u53e3\nconsul_client = Consul(host, port)\n\n# register service\nname = \"qbzz-server\"\nhost1 = \"127.0.0.1\"\nport1 = 8001\nservice_id = \"qbzz-server-%s\" % port1\nconsul_client.register_service(name, service_id, host1, port1)\n\n# get service\nmessage = consul_client.get_service('qbzz-server')\nhost = message[0]\nport = message[1]\n\n\n\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.qibao-tech.com", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "qb-consul", "package_url": "https://pypi.org/project/qb-consul/", "platform": "", "project_url": "https://pypi.org/project/qb-consul/", "project_urls": { "Homepage": "http://www.qibao-tech.com" }, "release_url": "https://pypi.org/project/qb-consul/1.0.2/", "requires_dist": null, "requires_python": "", "summary": "consul\u670d\u52a1\u6ce8\u518c\u4e0e\u83b7\u53d6", "version": "1.0.2" }, "last_serial": 5696788, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "e6ba7a3006c364f7dda65b13c6b1f755", "sha256": "8ceed6d71bfef2f35ab81d5ee40881fd3e74765b65c65bfe4105d8fcee14fed0" }, "downloads": -1, "filename": "qb-consul-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e6ba7a3006c364f7dda65b13c6b1f755", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1758, "upload_time": "2019-08-19T03:51:24", "url": "https://files.pythonhosted.org/packages/1c/7f/9349d971b42524222573057432cd0c34b54bb2f4811aa137c9faa27c4460/qb-consul-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "63e3262fcf804304d6f2cb605ad1ed1d", "sha256": "4228b1ea5db66d72edb8886ba1349cda29fb813294560396837dea5b2e8d2a51" }, "downloads": -1, "filename": "qb-consul-1.0.1.tar.gz", "has_sig": false, "md5_digest": "63e3262fcf804304d6f2cb605ad1ed1d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1918, "upload_time": "2019-08-19T05:28:00", "url": "https://files.pythonhosted.org/packages/5a/2c/0abddc5c6a636b934064ac65045a373fcbca84dd72ecd8cca64bc0dfa073/qb-consul-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "eee2a4d17f9562570c8a17e4994a3ae3", "sha256": "e0cbc8ebbf16976bd23ce17bc61a5d9dc77e6036f67000a600b4054adac952af" }, "downloads": -1, "filename": "qb-consul-1.0.2.tar.gz", "has_sig": false, "md5_digest": "eee2a4d17f9562570c8a17e4994a3ae3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1908, "upload_time": "2019-08-19T05:45:21", "url": "https://files.pythonhosted.org/packages/be/62/5e9eff4773b415742e833c2afcc5627147f1f8dce4a78278b9632688f779/qb-consul-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "eee2a4d17f9562570c8a17e4994a3ae3", "sha256": "e0cbc8ebbf16976bd23ce17bc61a5d9dc77e6036f67000a600b4054adac952af" }, "downloads": -1, "filename": "qb-consul-1.0.2.tar.gz", "has_sig": false, "md5_digest": "eee2a4d17f9562570c8a17e4994a3ae3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1908, "upload_time": "2019-08-19T05:45:21", "url": "https://files.pythonhosted.org/packages/be/62/5e9eff4773b415742e833c2afcc5627147f1f8dce4a78278b9632688f779/qb-consul-1.0.2.tar.gz" } ] }