Skip to main content

WSGI without the WSGI

Project description

Middleware for WSGI-enabling Python callables including:

  • Middleware that makes non-WSGI Python functions, callable classes, or methods into WSGI applications

  • Middleware that automatically handles generating WSGI-compliant HTTP response codes, headers, and compliant iterators

  • An HTTP response generator

  • A secondary WSGI dispatcher

Examples:

# Automatically handle HTTP response, header, and iterator generation

@wsgize()
def app(environ, start_response):
    return 'Hello World'

# Make a normal Python function into a WSGI application

@wsgiwrap()
def app(name):
    return 'Hello ' % name

Project details


Release history Release notifications | RSS feed

This version

0.4

Download files

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

Source Distributions

wsgize-0.4.zip (11.5 kB view details)

Uploaded Source

wsgize-0.4.tar.gz (7.5 kB view details)

Uploaded Source

wsgize-0.4.tar.bz2 (7.7 kB view details)

Uploaded Source

Built Distributions

wsgize-0.4.win32.exe (66.8 kB view details)

Uploaded Source

wsgize-0.4-py2.5.egg (6.7 kB view details)

Uploaded Source

wsgize-0.4-py2.4.egg (6.8 kB view details)

Uploaded Source

File details

Details for the file wsgize-0.4.zip.

File metadata

  • Download URL: wsgize-0.4.zip
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wsgize-0.4.zip
Algorithm Hash digest
SHA256 1317ffc0335cc0c382de6f2d8122d051fb17605371d8ce11d3ca03d960de67d8
MD5 a8999417e768e10499395cb7f130ed14
BLAKE2b-256 a66b397ba6b5d673603a9c5aa42878d229dade9e2cf996d5123bd49845c39869

See more details on using hashes here.

File details

Details for the file wsgize-0.4.tar.gz.

File metadata

  • Download URL: wsgize-0.4.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wsgize-0.4.tar.gz
Algorithm Hash digest
SHA256 220a98462728cb7d4cb7d2b8705dda1426a3f90268b21745cd59881f6604bdf1
MD5 1c26c13657cc07e2d6bbe817252f501f
BLAKE2b-256 a25602dd56ee574838ce8fdd6258594ebb8941452aafe0f226bdb12ac7ff35be

See more details on using hashes here.

File details

Details for the file wsgize-0.4.tar.bz2.

File metadata

  • Download URL: wsgize-0.4.tar.bz2
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wsgize-0.4.tar.bz2
Algorithm Hash digest
SHA256 d68bc62b59347859e8f853eb0c3244a9eece9a19b7183c058a61150444716963
MD5 4892c90a484217adc2f18574d27c9d58
BLAKE2b-256 525b397cb5e38e7ba059908cf70ac6145d79683c588939c86ac2fe7141192df1

See more details on using hashes here.

File details

Details for the file wsgize-0.4.win32.exe.

File metadata

  • Download URL: wsgize-0.4.win32.exe
  • Upload date:
  • Size: 66.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wsgize-0.4.win32.exe
Algorithm Hash digest
SHA256 719b45d72168bc94b6cbe7ac207b6c71d76d9192068c49d7645592418723c0a6
MD5 427b9adbb60920fb557f3b6de6599735
BLAKE2b-256 7fd17c421c4c49f4437ecd355ea13dbf4a0b09bea07bbd7cd8f15140200c049f

See more details on using hashes here.

File details

Details for the file wsgize-0.4-py2.5.egg.

File metadata

  • Download URL: wsgize-0.4-py2.5.egg
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wsgize-0.4-py2.5.egg
Algorithm Hash digest
SHA256 89ffcd1d3eb49f9ce287ac845dbd9ad1c3f2f030126033881b4741bfc34b7c50
MD5 39db6a4d8a5f1702621c6ff70de51779
BLAKE2b-256 06bdb5122869980667cf92939d4440e6eb0978ea31db9448f48cf6f2a1593ed5

See more details on using hashes here.

File details

Details for the file wsgize-0.4-py2.4.egg.

File metadata

  • Download URL: wsgize-0.4-py2.4.egg
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wsgize-0.4-py2.4.egg
Algorithm Hash digest
SHA256 4bf7e9e7779de64c3db397373cd940db16b2f1a37b1d38f00e35605dcdeaa80b
MD5 708b0fe503f30586a0e2c090b8e05813
BLAKE2b-256 ac06c880ee7f274c0d3468b2b37c4e39bbefa03e6796355a233d0c5a23d488f2

See more details on using hashes here.

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