Skip to main content

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 files for ztfy.beaker 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ztfy.beaker 0.1.0
File Size Uploaded
ztfy.beaker-0.1.0.tar.gz 13.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ztfy.beaker 0.1.0
File Interpreter ABI Platform
ztfy.beaker-0.1.0-py2.7.egg Legacy Egg format - - Details

Total release size: 45.8 kB

Release files / ztfy.beaker-0.1.0.tar.gz

Download URL ztfy.beaker-0.1.0.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
60f183e1df9a3b29e649130402adb575600786b91de2e3ffa7f5a3945a84df3d
BLAKE2b-256 checksum
How to use checksums
98ab504cf37a72cdb581fa23c33813cd4ddaaf0e0554d91d65691ec693f9b825
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ztfy.beaker-0.1.0-py2.7.egg

Download URL ztfy.beaker-0.1.0-py2.7.egg
Size 32.3 kB
Tags Egg
SHA-256 checksum
How to use checksums
85adca7659d43a88c8b727a41e523369c6615995f1b851c768a20776103ba78a
BLAKE2b-256 checksum
How to use checksums
a36d28321060a4470b39a65f8a28fe1d1ba289402b35d5a70378a3b8481e1a72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page