skip to navigation
skip to content

Not Logged In

python-ultramemcached 0.0.2

A drop in replacement for python-memcached that uses ultramemcache

Latest Version: 0.0.3

#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")
````
 
File Type Py Version Uploaded on Size
python-ultramemcached-0.0.2.tar.gz (md5) Source 2012-09-20 11KB
  • Downloads (All Versions):
  • 6 downloads in the last day
  • 85 downloads in the last week
  • 620 downloads in the last month