{ "info": { "author": "yupeng", "author_email": "yupeng0921@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# do auto discovery for aws elasticache\n\n## introduce\nImplement aws elasticache auto discovery, for detail about auto discovery, please reference to:\n\nhttp://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/AutoDiscovery.html\n\nIt uses python-memcached implements memcache command, and use hash_ring implements consistent hash, below links have more detail about python-memcached and hash_ring:\n\nhttps://pypi.python.org/pypi/python-memcached\n\nhttps://pypi.python.org/pypi/hash_ring/\n\n## install\n\n pip install elasticache_pyclient\n\n## usage\n\n >>> from elasticache_pyclient import MemcacheClient\n >>> mc = MemcacheClient('test.lwgyhw.cfg.usw2.cache.amazonaws.com:11211')\n >>> mc.set('foo', 'bar')\n True\n >>> mc.get('foo')\n 'bar'\n\nBesides set and get, it supports all the python-memcached methods, to examine all the python-memcached methods, you can run these commands in python interpreter:\n\n import memcache\n help(memcache.Client)\n\n## stop atuo discovery timer\nEvery MemcacheClient will start a timer for auto discovery, if do not use MemcacheClient object anymore, please call this funciton to stop the timer, or the timer will run forever\n\n >>> mc.stop_timer()\n\n## version support\nThe elasticache_pyclient package is tested on python 2.7, 3.5 and 3.6.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/yupeng820921/elasticache_pyclient", "keywords": "aws,ealsticache", "license": "LGPL", "maintainer": "", "maintainer_email": "", "name": "elasticache_pyclient", "package_url": "https://pypi.org/project/elasticache_pyclient/", "platform": "any", "project_url": "https://pypi.org/project/elasticache_pyclient/", "project_urls": { "Homepage": "https://github.com/yupeng820921/elasticache_pyclient" }, "release_url": "https://pypi.org/project/elasticache_pyclient/2.1.2/", "requires_dist": [ "python-memcached", "uhashring" ], "requires_python": "", "summary": "pythone client for elasticache auto discovery", "version": "2.1.2" }, "last_serial": 4326905, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "d0b86c5faf4eabbb04e3a2f3470cea29", "sha256": "47c8e3545a8974fd1532896eaf702b8f8ebb51c9f168dd868a5490f95221b5cc" }, "downloads": -1, "filename": "elasticache_pyclient-1.0.tar.gz", "has_sig": false, "md5_digest": "d0b86c5faf4eabbb04e3a2f3470cea29", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4498, "upload_time": "2013-10-06T11:30:24", "url": "https://files.pythonhosted.org/packages/4c/23/d14dcc5aec55a043a1fc74b29b02afe0d11dbd51483873395429e89c03a9/elasticache_pyclient-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "2c8fb608d3925a952a42b2b92a471e44", "sha256": "1a45a8035087ca2858c7ff896c01e9256465446227f27772be33ee95ea8c6ce1" }, "downloads": -1, "filename": "elasticache_pyclient-1.0.1.tar.gz", "has_sig": false, "md5_digest": "2c8fb608d3925a952a42b2b92a471e44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4519, "upload_time": "2013-12-18T05:12:33", "url": "https://files.pythonhosted.org/packages/c9/de/bead021a389ad6dc3c9cd657ab18f42b29f698df779a262db2e9a22431e1/elasticache_pyclient-1.0.1.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "941ce533afaa67c21eb0677f73847735", "sha256": "a4b7bcd81e6de56348ad57bc0953d7ddfba2724e4448129692d2899fba7fb4c9" }, "downloads": -1, "filename": "elasticache_pyclient-2.0.tar.gz", "has_sig": false, "md5_digest": "941ce533afaa67c21eb0677f73847735", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3742, "upload_time": "2014-09-09T11:54:06", "url": "https://files.pythonhosted.org/packages/1f/dc/e371a684d2ac7e31b4565f2bff0dcdb348bee45603dbbcf5cb21e82cf260/elasticache_pyclient-2.0.tar.gz" } ], "2.1": [ { "comment_text": "", "digests": { "md5": "148a74f5b65e03f1544f9a978c5fa85c", "sha256": "5653a8e1d5f30a0e63d01dc1caf0439c08f2eff7b6d14bbddebecd57d2109235" }, "downloads": -1, "filename": "elasticache_pyclient-2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "148a74f5b65e03f1544f9a978c5fa85c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4154, "upload_time": "2018-10-01T05:37:30", "url": "https://files.pythonhosted.org/packages/bf/fc/1df082c280412878b99fa7879ce377ee5ab51aecd86ff8e983b015baaccd/elasticache_pyclient-2.1-py2.py3-none-any.whl" } ], "2.1.1": [ { "comment_text": "", "digests": { "md5": "42ab7e051dc54462f8c12c04e84e28be", "sha256": "86fc553ea3457985ca9a8cc1424d68bb55edb75c2c9dca5b3414af5230245639" }, "downloads": -1, "filename": "elasticache_pyclient-2.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "42ab7e051dc54462f8c12c04e84e28be", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4636, "upload_time": "2018-10-01T05:44:38", "url": "https://files.pythonhosted.org/packages/bb/08/335d80683955b6ea97a09a0f5f7fc0a04b7f66966a8248c37dd8dee8c7a6/elasticache_pyclient-2.1.1-py2.py3-none-any.whl" } ], "2.1.2": [ { "comment_text": "", "digests": { "md5": "8860780e60e80b5b637ff8ef9011fb09", "sha256": "5c27210d7e79970cf280b57cce615784f702d95cc36e177489026f6b32c29a8f" }, "downloads": -1, "filename": "elasticache_pyclient-2.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8860780e60e80b5b637ff8ef9011fb09", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4689, "upload_time": "2018-10-01T05:49:05", "url": "https://files.pythonhosted.org/packages/c9/90/85bea6980f271dfdf8ae68afc1ce8632f76125e288ae55b0266f6d0862f2/elasticache_pyclient-2.1.2-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8860780e60e80b5b637ff8ef9011fb09", "sha256": "5c27210d7e79970cf280b57cce615784f702d95cc36e177489026f6b32c29a8f" }, "downloads": -1, "filename": "elasticache_pyclient-2.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8860780e60e80b5b637ff8ef9011fb09", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4689, "upload_time": "2018-10-01T05:49:05", "url": "https://files.pythonhosted.org/packages/c9/90/85bea6980f271dfdf8ae68afc1ce8632f76125e288ae55b0266f6d0862f2/elasticache_pyclient-2.1.2-py2.py3-none-any.whl" } ] }