Skip to main content

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


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 details)

Uploaded Source

File details

Details for the file pyfatcache-1.0.0.tar.gz.

File metadata

  • Download URL: pyfatcache-1.0.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyfatcache-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1fa48593a2f3ad040f07e3d14c2034a4078086f70dc799dc42263e05b8e4f8a8
MD5 e64e4724349cf83c21bd03db952d11c3
BLAKE2b-256 2be5ea1f02c8beb9675107fbb9e839c21cca64615ac531a15d301588772279aa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page