Skip to main content

WSGI Utils are a collection of useful libraries for use in a WSGI environnment.

Project description

WSGI Utils (Version 0.7.1)

WSGI Utils are a package of standalone utility libraries that ease the development of simple WSGI programs. The functionality provided is limited at the moment, patches to add new features and address defects are most welcome.

The following components are included please refer to the documentation for more details:

wsgiServer

This module provides a very simple multi-threaded WSGI server implementation based on SimpleHTTPServer from Python’s standard library. Multiple applications can be hosted at different URLs.

wsgiAdaptor

A very basic web application framework that works with WSGI compliant servers. Provides Basic authentication, signed cookies, and persistent sessions (see SessionClient).

SessionClient

This module provides simple session management. Two implementations are given: LocalSessionClient and SessionServerClient. The LocalSessionClient class is suitable for use with multi-threaded, single process, long-lived WSGI implementations such as wsgiServer. SessionServerClient communicates to the SessionServer via Unix domain sockets and is suitable for multi-process WSGI implementations such as CGI.

SessionServer & SessionServerDaemon

Listens on a Unix domain socket for connections from a single client and provides session persistence.

Project details


Download files

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

Source Distribution

WSGIUtils-0.7.2.tar.gz (19.6 kB view hashes)

Uploaded Source

Built Distribution

WSGIUtils-0.7.2-py2-none-any.whl (16.4 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page