Skip to main content

A drop in replacement for python-memcached that uses ultramemcache

Project description

#Overview
A drop in replacement for python-memcached to use [ultramemcache](https://github.com/esnme/ultramemcache) as an interface instead of python sockets. Requires ultramemcache. Usage is the same as [python-memcached](http://www.tummy.com/Community/software/python-memcached/) .

#Usage
```python
import ultramemcache
mc = ultramemcache.Client(['127.0.0.1:11211'], debug=0)

mc.set("some_key", "Some value")
value = mc.get("some_key")

mc.set("another_key", 3)
mc.delete("another_key")

mc.set("key", "1") # note that the key used for incr/decr must be a string.
mc.incr("key")
mc.decr("key")
````

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

python-ultramemcached-0.0.2.tar.gz (11.8 kB view details)

Uploaded Source

File details

Details for the file python-ultramemcached-0.0.2.tar.gz.

File metadata

File hashes

Hashes for python-ultramemcached-0.0.2.tar.gz
Algorithm Hash digest
SHA256 28a8321020b8eb765dfc15704348747f88c46c8e0049e325e59c81c9824ae4ff
MD5 f273425b268d5e30e738a8f326cfefa6
BLAKE2b-256 d18106cd3b6e1e20689aa65e9923485860a61e0290eff2c737cdc4e5c94316ff

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