Skip to main content

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


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.2.tar.gz (9.3 kB view details)

Uploaded Source

File details

Details for the file pylibmc-0.2.tar.gz.

File metadata

  • Download URL: pylibmc-0.2.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pylibmc-0.2.tar.gz
Algorithm Hash digest
SHA256 e210d4eca883b5be99116ca4e67f70522390def0fbf3b5aa2f3c6359054521ac
MD5 38f6fd8f83e0793ede6d46baa736418c
BLAKE2b-256 d35a2dcb0fdc99fc5a27b6f9ac3c98dc80e0e79d3963d527962e3826eb019a96

See more details on using hashes here.

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