Skip to content
lericsonPublic

About

A Python wrapper around the libmemcached interface from TangentOrg.

Resources

Stars

493 stars

Watchers

8 watching

Forks

Repository files navigation

pylibmc is a Python client for memcached written in C.

See the documentation at sendapatch.se/projects/pylibmc/ for more information.

New in version 1.8.0

pylibmc now checks every key itself (a key with whitespace or control characters raises ValueError on the text protocol instead of corrupting the connection), accepts a master_key= keyword on the data methods, returns booleans as booleans, compresses cas values like set, and the Linux wheels now log in with SASL. Python 3.11 or later is required. The change log lists what can break existing code.

See the change log for the details.

New in version 1.7.0

After a hiatus, we are back. A big welcome to @mxamin as a collaborator, hopefully this will prevent further hiata down the line. Also, LLMs have slashed the time investment to near zero, hoo-rah. The biggest change is that we now build against libmemcached 1.1.4 for the wheels. Also the LLM found many memory safety problems, and likely many yet more to come.

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.)

Support

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.

License

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

Maintainers

Ludvig Ericson

Amin Solhizadeh


http://www.smbc-comics.com/comics/20110908.gif

About

A Python wrapper around the libmemcached interface from TangentOrg.

Resources

Stars

493 stars

Watchers

8 watching

Forks

Releases

Packages

Used by

Contributors

Languages