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 and TurboGears.
Features
Fast, robust performance
Multiple reader/single writer lock system to avoid duplicate simultaneous cache creation
Cache back-ends include dbm, file, memory, memcached, Redis, MongoDB, and database (Using SQLAlchemy for multiple-db vendor support)
Signed cookies 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
Caches 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 GitHub repository.
Contributing
Bugs can be filed on GitHub, should be accompanied by a test case to retain current code coverage, and should be in a pull request when ready to be accepted into the beaker code-base.
Release files for Beaker 1.14.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| beaker-1.14.1.tar.gz | 39.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| beaker-1.14.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 86.7 kB
Release files / beaker-1.14.1.tar.gz
| Download URL | beaker-1.14.1.tar.gz |
|---|---|
| Size | 39.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
886f52a51810703fdbc0a3e54fca40886288ff530b2070582edce72bf1945447
|
|
BLAKE2b-256 checksum How to use checksums |
836b3cd3dcf40417e3be31a3a2257957144b0c058ffaf9ca32d2c83c85567cb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / beaker-1.14.1-py3-none-any.whl
| Download URL | beaker-1.14.1-py3-none-any.whl |
|---|---|
| Size | 47.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b435a4f5ac67d0367e02351ef7ce8df89e74b6450f1f4c3fb981c6d8c4071213
|
|
BLAKE2b-256 checksum How to use checksums |
1e329ec40a82a4831ec8c280756e3312b3bbd95754a74a69574a240274318f35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|