Skip to main content

Example:

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

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

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

Download files

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

Source Distribution

pywrapper-0.1.tar.gz (943 Bytes view details)

Uploaded Source

File details

Details for the file pywrapper-0.1.tar.gz.

File metadata

  • Download URL: pywrapper-0.1.tar.gz
  • Upload date:
  • Size: 943 Bytes
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pywrapper-0.1.tar.gz
Algorithm Hash digest
SHA256 1fb7212ff3158544257215e86597a9aa1b2dfc26dd6b8343847b2f375d9e7c6f
MD5 4eca7a47f209aed2c299aa3bf9e80a4f
BLAKE2b-256 99702921c783668ad3dc98829651000c224f597ce1c17e3ba590db43af61ab67

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page