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


Release history Release notifications

This version
History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pyermc-0.0.6.tar.gz (21.9 kB) Copy SHA256 hash SHA256 Source None Oct 21, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page