{ "info": { "author": "David Fierro, Guillermo Menendez, N. Angulo & Charles Gordon", "author_email": "info@touchvie.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Database" ], "description": "pyelasticache_client\n========================\n\n.. image:: https://travis-ci.org/touchvie/pyelasticache_client.svg?branch=master\n :target: https://travis-ci.org/touchvie/pyelasticache_client\n\n.. image:: https://img.shields.io/pypi/v/pyelasticache_client.svg\n :target: https://pypi.python.org/pypi/pyelasticache_client\n\nA comprehensive, fast, pure-Python memcached client with consistent key hashing \nand node autodiscovery.\nForked from the Pinterest pymemcache project:\n\nhttps://github.com/pinterest/pymemcache\n\n\npyelasticache_client supports the following features:\n\n* Complete implementation of the memcached text protocol.\n* Configurable timeouts for socket connect and send/recv calls.\n* Access to the \"noreply\" flag, which can significantly increase the speed of writes.\n* Flexible, simple approach to serialization and deserialization.\n* The (optional) ability to treat network and memcached errors as cache misses.\n* Optional use of Ketama hashing to consistently distribute cache keys on nodes.\n* Automatic cluster nodes autodiscovery and update through the \"config cluster\" option\n\nInstalling pyelasticache_client\n===================================\n\nInstall from pip:\n\n.. code-block:: bash\n\n pip install pyelasticache_client\n\nFor development, clone from github and run the tests with:\n\n.. code-block:: bash\n\n git clone https://github.com/touchvie/pyelasticache_client.git\n cd pyelasticache_client\n python setup.py nosetests\n\nUsage\n=====\n\nSee the documentation here: http://pymemcache.readthedocs.org/en/latest/\n\nComparison with Other Libraries\n===============================\n\npylibmc\n-------\n\nThe pylibmc library is a wrapper around libmemcached, implemented in C. It is\nfast, implements consistent hashing, the full memcached protocol and timeouts.\nIt does not provide access to the \"noreply\" flag, and it doesn't provide a\nbuilt-in API for serialization and deserialization. It also isn't pure Python,\nso using it with libraries like gevent is out of the question.\n\nPython-memcache\n---------------\n\nThe python-memcache library implements the entire memcached text protocol, has\na single timeout for all socket calls and has a flexible approach to\nserialization and deserialization. It is also written entirely in Python, so\nit works well with libraries like gevent. However, it is tied to using thread\nlocals, doesn't implement \"noreply\", can't treat errors as cache misses and is\nslower than both pylibmc and pymemcache. It is also tied to a specific method\nfor handling clusters of memcached servers.\n\nmemcache_client\n---------------\n\nThe team at mixpanel put together a pure Python memcached client as well. It\nhas more fine grained support for socket timeouts, only connects to a single\nhost. However, it doesn't support most of the memcached API (just get, set,\ndelete and stats), doesn't support \"noreply\", has no serialization or\ndeserialization support and can't treat errors as cache misses.\n\nExternal Links\n==============\n\nThe memcached text protocol reference page:\n https://github.com/memcached/memcached/blob/master/doc/protocol.txt\n\nThe python-memcached library (another pure-Python library):\n https://github.com/linsomniac/python-memcached\n\nMixpanel's Blog post about their memcached client for Python:\n http://code.mixpanel.com/2012/07/16/we-went-down-so-we-wrote-a-better-pure-python-memcache-client/\n\nMixpanel's pure Python memcached client:\n https://github.com/mixpanel/memcache_client\n\nKetama hashing algorithm:\n http://www.last.fm/user/RJ/journal/2007/04/10/rz_libketama_-_a_consistent_hashing_algo_for_memcache_clients\n\nMemcached autodiscovery feature:\n http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/AutoDiscovery.AddingToYourClientLibrary.html\n\n\nCredits\n=======\n\n* `Charles Gordon `_\n* `Dave Dash `_\n* `Dan Crosta `_\n* `Julian Berman `_\n* `Mark Shirley `_\n* `Tim Bart `_\n* `Thomas Orozco `_\n* `Marc Abramowitz `_\n* `Marc-Andre Courtois `_\n* `Julien Danjou `_\n* `INADA Naoki `_\n* `James Socol `_\n* `Joshua Harlow `_\n* `John Anderson `_\n* `Adam Chainz `_\n* `Ernest W. Durbin III `_\n* `Remco van Oosterhout `_\n* `David Fierro `_\n* `Guillermo Men\u00e9ndez `_\n* `Natalia Angulo `_\n\nChange Log\n==========\nNew in version 1.3.5\n--------------------\n* Bug fix for HashClient when retries is set to zero.\n* Adding the VERSION command to the clients.\n\nNew in version 1.3.4\n--------------------\n* Bug fix for the HashClient that corrects behavior when there are no working servers.\n\nNew in version 1.3.3\n--------------------\n* Adding caching to the Travis build.\n* A bug fix for pluggable hashing in HashClient.\n* Adding a default_noreply argument to the Client ctor.\n\nNew in version 1.3.2\n--------------------\n* Making the location of Memcache Exceptions backwards compatible.\n\nNew in version 1.3.0\n--------------------\n* Python 3 Support\n* Introduced HashClient that uses consistent hasing for allocating keys across many memcached nodes. It also can detect servers going down and rebalance keys across the available nodes.\n* Retry sock.recv() when it raises EINTR\n\nNew in version 1.2.9\n--------------------\n* Introduced PooledClient a thread-safe pool of clients", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/touchvie/pyelasticache_client", "keywords": "AWS,elasticache,memcached,autodiscovery", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "pyelasticache_client", "package_url": "https://pypi.org/project/pyelasticache_client/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyelasticache_client/", "project_urls": { "Homepage": "https://github.com/touchvie/pyelasticache_client" }, "release_url": "https://pypi.org/project/pyelasticache_client/0.1.3/", "requires_dist": [ "six", "sortedcontainers" ], "requires_python": "", "summary": "A comprehensive, fast, pure Python memcached client", "version": "0.1.3" }, "last_serial": 2177518, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7c47a0475819035356d05645e107fb44", "sha256": "a1a993d48ffcba9954bfa8fb9143471bd0fa238d76e199fe7a2f44c934bc52d8" }, "downloads": -1, "filename": "pyelasticache_client-0.1.zip", "has_sig": false, "md5_digest": "7c47a0475819035356d05645e107fb44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18432, "upload_time": "2016-05-05T10:00:40", "url": "https://files.pythonhosted.org/packages/da/7e/323c734724e40c473c24df552c7bd4a4dd41cca74729b87145a8c2312f40/pyelasticache_client-0.1.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "311c7d760d60f0d0df8608faa248bec2", "sha256": "c63a9e78aae6bc21a3bf7d17674651795228081cc67ae77367d6b51d45c7e0bb" }, "downloads": -1, "filename": "pyelasticache_client-0.1.1.zip", "has_sig": false, "md5_digest": "311c7d760d60f0d0df8608faa248bec2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 64894, "upload_time": "2016-05-05T10:46:56", "url": "https://files.pythonhosted.org/packages/43/d1/49f378282b1d4415546b60417472f7178e85ca170d79b3e412fc76705fc5/pyelasticache_client-0.1.1.zip" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "a7dd411c94b2d8f594f66e22635d8862", "sha256": "b6cb924dfeb80881029ea38d7228124865a19033c58a2f93c2179ef0d9104fd0" }, "downloads": -1, "filename": "pyelasticache_client-0.1.2.tar.gz", "has_sig": false, "md5_digest": "a7dd411c94b2d8f594f66e22635d8862", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52370, "upload_time": "2016-05-05T15:29:41", "url": "https://files.pythonhosted.org/packages/b4/fc/7907966efb56f6ac059f183bb95e56b3762d9fc7694c55291e3ac40685e2/pyelasticache_client-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "53e2c068eda5c4a49f211d8c9ab6b0c2", "sha256": "92608b0979534249051af1fab64fd248bbad1b869eaa40a431972cea1525eaa3" }, "downloads": -1, "filename": "pyelasticache_client-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "53e2c068eda5c4a49f211d8c9ab6b0c2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 56664, "upload_time": "2016-06-20T16:24:08", "url": "https://files.pythonhosted.org/packages/29/fa/785b73273fdda1296e4e3e35cba955ec039821cb88178decc6eb246e871a/pyelasticache_client-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "214664a6d2e4a67d9ae6de19e9922fe5", "sha256": "2fd7e21d84a93a87e72477c18fb89a20271d3ebf4b33996eb6b9845ad05111aa" }, "downloads": -1, "filename": "pyelasticache_client-0.1.3.tar.gz", "has_sig": false, "md5_digest": "214664a6d2e4a67d9ae6de19e9922fe5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52333, "upload_time": "2016-06-20T16:24:12", "url": "https://files.pythonhosted.org/packages/c1/8f/48b0386cedc1e395ac1ea44dccc043f589735ab2d0cc8b4fecc00fd44abc/pyelasticache_client-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "53e2c068eda5c4a49f211d8c9ab6b0c2", "sha256": "92608b0979534249051af1fab64fd248bbad1b869eaa40a431972cea1525eaa3" }, "downloads": -1, "filename": "pyelasticache_client-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "53e2c068eda5c4a49f211d8c9ab6b0c2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 56664, "upload_time": "2016-06-20T16:24:08", "url": "https://files.pythonhosted.org/packages/29/fa/785b73273fdda1296e4e3e35cba955ec039821cb88178decc6eb246e871a/pyelasticache_client-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "214664a6d2e4a67d9ae6de19e9922fe5", "sha256": "2fd7e21d84a93a87e72477c18fb89a20271d3ebf4b33996eb6b9845ad05111aa" }, "downloads": -1, "filename": "pyelasticache_client-0.1.3.tar.gz", "has_sig": false, "md5_digest": "214664a6d2e4a67d9ae6de19e9922fe5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52333, "upload_time": "2016-06-20T16:24:12", "url": "https://files.pythonhosted.org/packages/c1/8f/48b0386cedc1e395ac1ea44dccc043f589735ab2d0cc8b4fecc00fd44abc/pyelasticache_client-0.1.3.tar.gz" } ] }