Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.

HISTORY

0.1.0

  • first release
Release History

Release History

This version
History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ztfy.beaker-0.1.0-py2.7.egg (32.3 kB) Copy SHA256 Checksum SHA256 2.7 Egg Nov 26, 2014
ztfy.beaker-0.1.0.tar.gz (13.4 kB) Copy SHA256 Checksum SHA256 Source Nov 26, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting