Skip to main content

Wrapper For Key-Value Database (Memcached, Redis, TokyoTyrant ...)

Project description


# test memcached
>>> from pywrapper.kv import create_wrapper
>>> w = create_wrapper('memcached', host='', port=11211)
>>> w.set("name", "smallfish")
>>> print w.get("name")
>>> w.update("name", "bigfish")
>>> print w.get("name")
>>> w.delete("name")
>>> print w.get("name")

# test redis
>>> w = create_wrapper('redis', host='', port=6379, db=1)

# test tokyotyrant
>>> w = create_wrapper('tokyotyrant', host='', port=1978)

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Files for pywrapper, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size pywrapper-0.1.tar.gz (943 Bytes) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page