Debian Codegraph @

README.rst

raw
1 =========================
2 Cache and Session Library
3 =========================
4
5 About
6 =====
7
8 Beaker is a web session and general caching library that includes WSGI
9 middleware for use in web applications.
10
11 As a general caching library, Beaker can handle storing for various times
12 any Python object that can be pickled with optional back-ends on a
13 fine-grained basis.
14
15 Beaker was built largely on the code from MyghtyUtils, then refactored and
16 extended with database support.
17
18 Beaker includes Cache and Session WSGI middleware to ease integration with
19 WSGI capable frameworks, and is automatically used by `Pylons
20 <https://pylonsproject.org/about-pylons-framework.html>`_ and
21 `TurboGears <https://www.turbogears.org/>`_.
22
23
24 Features
25 ========
26
27 * Fast, robust performance
28 * Multiple reader/single writer lock system to avoid duplicate simultaneous
29 cache creation
30 * Cache back-ends include dbm, file, memory, memcached, Redis, MongoDB, and
31 database (Using SQLAlchemy for multiple-db vendor support)
32 * Signed cookies to prevent session hijacking/spoofing
33 * Cookie-only sessions to remove the need for a db or file backend (ideal
34 for clustered systems)
35 * Extensible Container object to support new back-ends
36 * Caches can be divided into namespaces (to represent templates, objects,
37 etc.) then keyed for different copies
38 * Create functions for automatic call-backs to create new cache copies after
39 expiration
40 * Fine-grained toggling of back-ends, keys, and expiration per Cache object
41
42
43 Documentation
44 =============
45
46 Documentation can be found on the `Official Beaker Docs site
47 <https://beaker.readthedocs.io/en/latest/>`_.
48
49
50 Source
51 ======
52
53 The latest developer version is available in a `GitHub repository
54 <https://github.com/bbangert/beaker>`_.
55
56 Contributing
57 ============
58
59 Bugs can be filed on GitHub, **should be accompanied by a test case** to
60 retain current code coverage, and should be in a pull request when ready to be
61 accepted into the beaker code-base.