Skip to main content

python memcache interface

Project description

pyermc is a memcache client library with support for “pluggable” driver backends.

Current backends include a text protocol driver (default), a binary protocol driver, and a wrapped ultramemcached driver.

While pyermc is somewhat compatible with python-memcached, full compatibility is not a design goal.

pyermc supports connecting to a single memcached instance (or server that speaks the memcached protocol). If you require multiple servers, consistent hashing, etc, then it is recommended to use twemproxy or similar.

pyermc exposes connectivity faults, via exceptions, to the calling code. This is in contrast to python-memcached, which simply enters an ‘ignore backend’ state. Exposing underlying faults is often needed when working with queueing servers that support the memcache driver (such as kestrel and darner), as well as translation proxies like couchbase’s moxie. If the old behavior is desired, there is an optional error_as_miss parameter that may be set as part of client creation.

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

pyermc-0.0.6.tar.gz (21.9 kB view details)

Uploaded Source

File details

Details for the file pyermc-0.0.6.tar.gz.

File metadata

  • Download URL: pyermc-0.0.6.tar.gz
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyermc-0.0.6.tar.gz
Algorithm Hash digest
SHA256 7ca64cab22ef8a7ffccaf1eb01942097fd5a8516112e5e82f43fa0fdd60b5b2f
MD5 3187440fba68529e2e51a9c4b60bf3c1
BLAKE2b-256 1ece55761a74640c351ec727e472e746a4dc17356303161d012987bd08135425

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