a simple python client for twitter's fatcache
Project description
Example usage:
import pyfatcache conn = pyfatcache.get_conn() conn.delete("a") print "expect (None, None) / get %s" % (str(conn.get("a")),) conn.set("a", "a", flags=1) print "expect ('a', 1) / get %s" % (str(conn.get("a")),) conn.set("a", dict(name="pyfatcache")) print "expect ({'name': 'pyfatcache'}, 0) / get %s" % (str(conn.get("a")),) conn.set("a", None) print "expect (None, 0) / get %s" % (str(conn.get("a")),) conn.close()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyfatcache-1.0.0.tar.gz
(2.5 kB
view hashes)