Skip to main content

Quick and small memcached client for Python

Project description

pylibmc is a Python client for memcached written in C.

See the documentation at for more information.

New in version 1.6.0

Though no major feature overhauls have taken place, this release is partially incompatible with 1.5.0. This stems from the fact that python-memcached is now using a flag that pylibmc has been using for some years. python-memcached uses it for a different purpose, and an incompatible one. We deemed that it would be better to support this interoperability. The change also means that Unicode strings are now stored as UTF-8 rather than pickled, which may or may not result in a slight performance improvement for this type of data.

We have also introduced a pickle_protocol behavior to enable seamless interoperability between Python 2.x and 3.x. Also, this release introduces a ManyLinux wheel, making installation a breeze on ManyLinux systems (which I suppose is many linuxes.)

New in version 1.5.0

This release fixes critical memory leaks in common code paths introduced in 1.4.2. Also fixes a critical bug in a corner of the zlib inflation code, where prior memory errors would trigger a double free. Thank you to everybody involved in the making of this release, and especially Eau de Web, without their contributions, this release and the bug fixes it contains wouldn’t have been so expedient.

New in version 1.4.0

Brace yourself, Python 3.x support has come!

Thanks to everybody involved in this project; this release involves less authors but a lot more work per person. Thanks especially to Harvey Falcic for the work he put in, without which there wouldn’t be any Python 3.x support. Also thanks to Sergey Pashinin for the initial stab at the problem.

Other than that, we had miscellaneous bug fixes, testing improvements, and documentation updates.

Last but not least I would like to ask for your support in this project, either by helping out with development, testing, documentation or anything at all; or simply by donating some magic internet money to the project’s Bitcoin address 12dveKhqiJWCY8zXT4kaHdHELXPeGAUo9h.


Released under the BSD 3-clause license; see LICENSE for details.


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylibmc-1.6.3.tar.gz (63.2 kB view hashes)

Uploaded source

Built Distributions

pylibmc-1.6.3-cp311-cp311-macosx_11_0_arm64.whl (205.9 kB view hashes)

Uploaded cp311

pylibmc-1.6.3-cp310-cp310-macosx_11_0_arm64.whl (205.9 kB view hashes)

Uploaded cp310

pylibmc-1.6.3-cp39-cp39-macosx_11_0_arm64.whl (205.9 kB view hashes)

Uploaded cp39

pylibmc-1.6.3-cp38-cp38-macosx_11_0_arm64.whl (205.9 kB view hashes)

Uploaded cp38

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page