dbstore 0.3
Database storage for flup session middleware.
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));
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| dbstore-0.3-py2.4.egg (md5) | Python Egg | 2.4 | 2006-10-25 | 13KB | 1125 |
| dbstore-0.3.tar.gz (md5) | Source | 2006-10-25 | 16KB | 1183 | |
- Author: Luke Arno
- Home Page: http://lukearno.com/projects/dbstore/
- Keywords: wsgi database mysql sessions flup
- License: LGPL2
-
Categories
- Development Status :: 3 - Alpha
- Environment :: Web Environment
- Intended Audience :: Developers
- License :: OSI Approved :: GNU General Public License (GPL)
- Natural Language :: English
- Operating System :: OS Independent
- Programming Language :: Python
- Topic :: Software Development :: Libraries
- Topic :: Utilities
- Package Index Owner: luke
- DOAP record: dbstore-0.3.xml
