Beaker is a library for caching and sessions for use with web applications and stand-alone Python scripts and applications. It comes with WSGI middleware for easy drop-in use with WSGI based web applications, and caching decorators for ease of use with any Python based application.
- Lazy-Loading Sessions: No performance hit for having sessions active in a request unless they're actually used
- Performance: Utilizes a multiple-reader / single-writer locking system to prevent the Dog Pile effect when caching.
- Mulitple Back-ends: File-based, DBM files, memcached, memory, and database (via SQLAlchemy) back-ends available for sessions and caching
- Cookie-based Sessions: SHA-1 signatures with optional AES encryption for client-side cookie-based session storage
- Flexible Caching: Data can be cached per function to different back-ends, with different expirations, and different keys
- Extensible Back-ends: Add more backends using setuptools entrypoints to support new back-ends.
News
- Beaker 1.6.1 released on 10/20/2011.
- Beaker 1.6.0 released on 10/16/2011.
- Beaker 1.5.4 released on 6/16/2010.
- Beaker 1.5.3 released on 3/2/2010.
- Beaker 1.5.2 released on 3/1/2010.
- Beaker 1.5.1 released on 12/17/2009.
- Beaker 1.5.0 released on 11/23/2009.
- Beaker 1.4 Released
- Beaker 1.3 is juicy caching goodness
- Beaker 0.9, cookie-stored sessions, and crypto
Documentation
Contents Search page |
General Index Module Index |
Download Beaker PDF documentation.
Source
Beaker's Mercurial repository can be found at http://bitbucket.org/bbangert/beaker/.
To check out:
hg clone http://www.bitbucket.org/bbangert/beaker