Skip to main content

A Session and Caching library with WSGI Middleware

Project description

About

Beaker is a web session and general caching library that includes WSGI middleware for use in web applications.

As a general caching library, Beaker can handle storing for various times any Python object that can be pickled with optional back-ends on a fine-grained basis.

Beaker was built largely on the code from MyghtyUtils, then refactored and extended with database support.

Beaker includes Cache and Session WSGI middleware to ease integration with WSGI capable frameworks, and is automatically used by Pylons.

Features

  • Fast, robust performance

  • Multiple reader/single writer lock system to avoid duplicate simultaneous cache creation

  • Cache back-ends include dbm, file, memory, memcached, and database (Using SQLAlchemy for multiple-db vendor support)

  • Signed cookie’s to prevent session hijacking/spoofing

  • Cookie-only sessions to remove the need for a db or file backend (ideal for clustered systems)

  • Extensible Container object to support new back-ends

  • Cache’s can be divided into namespaces (to represent templates, objects, etc.) then keyed for different copies

  • Create functions for automatic call-backs to create new cache copies after expiration

  • Fine-grained toggling of back-ends, keys, and expiration per Cache object

Documentation

Documentation can be found on the Official Beaker Docs site.

Source

The latest developer version is available in a Mercurial repository.

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

Beaker-1.5.1.tar.gz (45.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Beaker-1.5.1-py2.6.egg (87.2 kB view details)

Uploaded Egg

File details

Details for the file Beaker-1.5.1.tar.gz.

File metadata

  • Download URL: Beaker-1.5.1.tar.gz
  • Upload date:
  • Size: 45.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Beaker-1.5.1.tar.gz
Algorithm Hash digest
SHA256 416df30c3cc283ff9497587b37d306f4e9aeaf537d7f1f51eca8ccd67a9e9113
MD5 87e39bb000faa2645e60df69b898ee16
BLAKE2b-256 650c3ca2aa77254adc547b93064ea591c8a309467f1f0ccd50ab5bf7e71e1762

See more details on using hashes here.

File details

Details for the file Beaker-1.5.1-py2.6.egg.

File metadata

  • Download URL: Beaker-1.5.1-py2.6.egg
  • Upload date:
  • Size: 87.2 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Beaker-1.5.1-py2.6.egg
Algorithm Hash digest
SHA256 10d626aaef340c87236d2498e49d9ba21f51503bf4c36004d366b687c3b87d2d
MD5 6bed7ae911d281c45a0d04073e26e8f7
BLAKE2b-256 72d397e9d939e67424550dd024030d3e2af1e6009d238c0e8a0a790d3ff7bb55

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