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.

Filename, size & hash SHA256 hash help File type Python version Upload date
WSGIUtils-0.7.1-py2.7.egg (31.2 kB) Copy SHA256 hash SHA256 Egg 2.7 Aug 14, 2018
WSGIUtils-0.7.1-py2-none-any.whl (16.5 kB) Copy SHA256 hash SHA256 Wheel py2 Aug 14, 2018
WSGIUtils-0.7.1.tar.gz (19.6 kB) Copy SHA256 hash SHA256 Source None Aug 14, 2018

Supported by

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