Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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

This version
History Node


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
pywrapper-0.1.tar.gz (943 Bytes) Copy SHA256 hash SHA256 Source None Dec 24, 2010

Supported by

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