Beaker package integration for ZTFY
Project description
Introduction
ZTFY.beaker is a small wrapper around Beaker (http://pypi.python.org/pypi/Beaker) session and caching library.
It allows you to define a Beaker session throught a ZCML configuration directive to include it in a WSGI application based on ZTFY packages.
A BeakerSessionUtility can then be created and registered to act as a session data container.
Beaker session configurations
All Beaker session options can be defined throught ZCML directives. See metadirectives.py to get the complete list of configuration options.
For example, to define a Memcached session configuration:
<configure
xmlns:beaker="http://namespaces.ztfy.org/beaker">
<beaker:memcachedSession
url="127.0.0.1:11211"
cookie_expires="False"
lock_dir="/var/lock/sessions" />
</configure>
Directives are available for memory, DBM, file, Memcached and SQLAlchemy sessions storages.
Thierry Florac <tflorac@ulthar.net> - Author
HISTORY
0.1.0
first release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ztfy.beaker-0.1.0.tar.gz.
File metadata
- Download URL: ztfy.beaker-0.1.0.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60f183e1df9a3b29e649130402adb575600786b91de2e3ffa7f5a3945a84df3d
|
|
| MD5 |
48a483e95b68f6aae4aa5d2821b9927c
|
|
| BLAKE2b-256 |
98ab504cf37a72cdb581fa23c33813cd4ddaaf0e0554d91d65691ec693f9b825
|
File details
Details for the file ztfy.beaker-0.1.0-py2.7.egg.
File metadata
- Download URL: ztfy.beaker-0.1.0-py2.7.egg
- Upload date:
- Size: 32.3 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85adca7659d43a88c8b727a41e523369c6615995f1b851c768a20776103ba78a
|
|
| MD5 |
f3c231dc36a4f10f27b302bd59d37142
|
|
| BLAKE2b-256 |
a36d28321060a4470b39a65f8a28fe1d1ba289402b35d5a70378a3b8481e1a72
|