1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-pymemcache
7 SDESC[v11]= Pure Python memcached client (3.11)
8 SDESC[v12]= Pure Python memcached client (3.12)
9 HOMEPAGE= https://github.com/pinterest/pymemcache
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPIWHL/41/ba/2f7b22d8135b51c4fefb041461f8431e1908778e6539ff5af6eeaaee367a
14 DISTFILE[1]= pymemcache-4.0.0-py2.py3-none-any.whl:main
19 OPTIONS_AVAILABLE= PY311 PY312
20 OPTIONS_STANDARD= none
21 VOPTS[v11]= PY311=ON PY312=OFF
22 VOPTS[v12]= PY311=OFF PY312=ON
24 DISTNAME= pymemcache-4.0.0.dist-info
28 [PY311].USES_ON= python:v11,wheel
30 [PY312].USES_ON= python:v12,wheel
32 [FILE:2746:descriptions/desc.single]
36 :alt: Master Documentation Status
38 A comprehensive, fast, pure-Python memcached client.
40 pymemcache supports the following features:
42 * Complete implementation of the memcached text protocol.
43 * Connections using UNIX sockets, or TCP over IPv4 or IPv6.
44 * Configurable timeouts for socket connect and send/recv calls.
45 * Access to the "noreply" flag, which can significantly increase the speed
47 * Flexible, modular and simple approach to serialization and
49 * The (optional) ability to treat network and memcached errors as cache
59 pip install pymemcache
61 For development, clone from github and run the tests:
65 git clone https://github.com/pinterest/pymemcache.git
68 Run the tests (make sure you have a local memcached server running):
77 See the documentation here: https://pymemcache.readthedocs.io/en/latest/
82 Since version 3.2, Django has included a pymemcache-based cache backend.
83 See [its documentation
86 On older Django versions, you can use
88 <https://github.com/django-pymemcache/django-pymemcache>`_.
90 Comparison with Other Libraries
91 ===============================
96 The pylibmc library is a wrapper around libmemcached, implemented in C. It
98 fast, implements consistent hashing, the full memcached protocol and
100 It does not provide access to the "noreply" flag. It also isn't pure
102 so using it with libraries like gevent is out of the question, and its
103 dependency on libmemcached poses challenges (e.g., it must be built against
104 the same version of libmemcached that it will use at runtime).
109 The python-memcached library implements the entire memcached text protocol,
111 a single timeout for all socket calls and has a flexible approach to
112 serialization and deserialization. It is also written entirely in Python,
114 it works well with libraries like gevent. However, it is tied to using
116 locals, doesn't implement "noreply", can't treat errors as cache misses and
118 slower than both pylibmc and pymemcache. It is also tied to a specific
120 for handling clusters of memcached servers.
125 The team at mixpanel put together a pure Python memcached client as well.
127 has more fine grained support for socket timeouts, only connects to a
129 host. However, it doesn't support most of the memcached API (just get, set,
130 delete and stats), doesn't support "noreply", has no serialization or
131 deserialization support and can't treat errors as cache misses.
136 f507bc20e0dc8d562f8df9d872107a278df049fa496805c1431b926f3ddd0eab 60772 pymemcache-4.0.0-py2.py3-none-any.whl