Skip to main content
Help us improve Python packaging – donate today!

Database storage for flup session middleware.

Project Description

This distribution provides database backed storage using any PEP 249
compliant database package in conjunction with flup.middleware.session.
Storage and decorators for supplying WSGI apps with MySQLdb or psycopg2
backed sessions are provided. Others backends are easy to hook up.

@mysql_sessionizer(user='foo', passwd='bar', db='baz', host='localhost')
def some_wsgi_app(environ, start_response):
...

You will need a database with a sessions table:

CREATE TABLE sessions (
id VARCHAR(32) NOT NULL,
touched FLOAT,
pickle LONGTEXT,
primary key (id));

Release history Release notifications

This version
History Node

0.3

History Node

0.2

History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
dbstore-0.3-py2.4.egg (13.9 kB) Copy SHA256 hash SHA256 Egg 2.4 Oct 25, 2006
dbstore-0.3.tar.gz (16.9 kB) Copy SHA256 hash SHA256 Source None Oct 25, 2006

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page