libmemcached wrapper
Project description
pylibmc is a Python wrapper around the accompanying C Python extension handmc, which is a wrapper around libmemcached from TangentOrg.
You have to install libmemcached separately, and have your compiler and linker find the include files and libraries.
With libmemcached installed and this package set up, the following basic usage example should work:
>>> import pylibmc >>> mc = pylibmc.Client(["127.0.0.1:11211"]) >>> mc.set("foo", "Hello world!") True >>> mc.get("foo") 'Hello world!'
The API is pretty much python-memcached. Some parts of libmemcached aren’t exposed yet, one example is behaviors.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pylibmc-0.3.tar.gz
(9.4 kB
view details)
File details
Details for the file pylibmc-0.3.tar.gz
.
File metadata
- Download URL: pylibmc-0.3.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd6990e6929f3ef1c9434b6279854d906fd97bf1592b923bed5c12f2d07dc18f |
|
MD5 | a057b7418fe6570578fa930cbef78737 |
|
BLAKE2b-256 | de4cb3ee21ecffafcdecb1769d93c91090b101a5d414cccd3db07da8c8d746ef |