This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Session (flup-compatible), caching, memoizing, and HTTP cache control middleware for WSGI. Supports memory, filesystem, database, and memcached based backends.

Simple memoization example:

from wsgistate.memory import memoize

@memoize()
def app(environ, start_response):
    start_response('200 OK', [('Content-Type', 'text/plain')])
    return ['Hello World!']

if __name__ == '__main__':
     from wsgiref.simple_server import make_server
     http = make_server('', 8080, app)
     http.serve_forever()

Simple session example:

from wsgistate.memory import session

@session()
def app(environ, start_response):
     session = environ['com.saddi.service.session'].session
     count = session.get('count', 0) + 1
     session['count'] = count
     start_response('200 OK', [('Content-Type', 'text/plain')])
     return ['You have been here %d times!' % count]

if __name__ == '__main__':
    from wsgiref.simple_server import make_server
    http = make_server('', 8080, app)
    http.serve_forever()
Release History

Release History

0.4.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
wsgistate-0.4.2-py2.4.egg (53.8 kB) Copy SHA256 Checksum SHA256 2.4 Egg Oct 23, 2007
wsgistate-0.4.2-py2.5.egg (52.7 kB) Copy SHA256 Checksum SHA256 2.5 Egg Oct 23, 2007
wsgistate-0.4.2.tar.bz2 (14.4 kB) Copy SHA256 Checksum SHA256 Source Oct 23, 2007
wsgistate-0.4.2.tar.gz (15.8 kB) Copy SHA256 Checksum SHA256 Source Oct 23, 2007
wsgistate-0.4.2.win32.exe (88.8 kB) Copy SHA256 Checksum SHA256 any Windows Installer Oct 23, 2007
wsgistate-0.4.2.zip (29.6 kB) Copy SHA256 Checksum SHA256 Source Oct 23, 2007

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