{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/2"},{"label":"WSGI","url":"https://skillfed.io/packages/category/internet-www-http-wsgi"},{"label":"Middleware","url":"https://skillfed.io/packages/category/internet-www-http-wsgi-middleware"}],"enrichment":{"capability":"Beaker provides session management and caching for WSGI web applications, supporting multiple storage backends including memory, file, database, memcached, Redis, and MongoDB.","skillfed_tags":["session-management","caching-library","wsgi-middleware"],"use_cases":["Store user sessions in memcached or Redis for horizontally scaled web services.","Cache expensive database queries or API responses with automatic expiration.","Use signed cookies for stateless session management in clustered environments.","Implement multi-tier caching (memory + persistent backend) with namespace isolation.","Integrate session middleware into a Pylons or TurboGears application with minimal configuration."],"what_it_does":"Beaker is a session and caching library designed for WSGI web applications. It abstracts storage across multiple backends\u2014memory, file, database (via SQLAlchemy), memcached, Redis, and MongoDB\u2014allowing you to choose the right persistence layer for your use case without changing application code. It includes WSGI middleware for transparent session and cache integration, signed cookies to prevent session hijacking, and cookie-only sessions for clustered deployments that don't require a backend store.\n\nThe library handles cache namespacing, key expiration, automatic cache regeneration via callbacks, and fine-grained backend toggling per cache object. It has been in production use since 2006 and is integrated into frameworks like Pylons and TurboGears. With zero runtime dependencies and support for Python 3.8\u20133.13, it is straightforward to install and integrate into existing WSGI applications.","worth_installing":"Yes, with a security caveat. Beaker is production-stable, actively maintained, has zero install friction, and offers a mature, flexible caching and session abstraction for WSGI applications. However, verify whether PYSEC-2020-216 affects version 1.14.1 before deploying to production; if unpatched, assess the risk in your threat model."},"id":"beaker","links":{"html":"https://skillfed.io/packages/beaker","md":"https://skillfed.io/packages/beaker.md","pypi":"https://pypi.org/project/beaker/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-30","license_spdx":null,"license_treatment":"permissive","name":"Beaker","python_support":"supports_current","summary":"A Session and Caching library with WSGI Middleware"},"popularity":{"monthly_downloads":269610,"position":8256,"tier":"top_15000"},"security":{"n_vulnerabilities":1},"version":"1.14.1"}
