Skip to main content

Fast caches for python

Project description

https://travis-ci.org/baverman/cachel.svg?branch=master https://img.shields.io/badge/coverage-100%25-brightgreen.svg https://img.shields.io/badge/python-2.7%2C_3.4%2C_3.5%2C_3.6%2C_3.7%2C_pypy-blue.svg

Fast caches for python.

Features:

  • Sync and async caches (cachel.base.BaseCache and cachel.base.AsyncBaseCache).

  • Cache decorator supports sync and async (for python >= 3.5) functions.

  • Batched requests via .objects decorator method.

  • Explicit cache keys.

  • Custom ttl for returned values (cachel.expire).

  • Configurable serializers: (none, unicode, json/ujson, msgpack, pickle).

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

cachel-0.9.0.tar.gz (7.9 kB view hashes)

Uploaded Source

Supported by

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