Skip to main content

Convert WSGI app to ASGI app or ASGI app to WSGI app.

Project description

a2wsgi

Convert WSGI app to ASGI app or ASGI app to WSGI app.

Pure Python. No dependencies. High performance.

Install

pip install a2wsgi

How to use

Convert WSGI app to ASGI app:

from a2wsgi import WSGIMiddleware

ASGI_APP = WSGIMiddleware(WSGI_APP)

Convert ASGI app to WSGI app:

from a2wsgi import ASGIMiddleware

WSGI_APP = ASGIMiddleware(ASGI_APP)

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

a2wsgi-0.3.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

a2wsgi-0.3.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file a2wsgi-0.3.0.tar.gz.

File metadata

  • Download URL: a2wsgi-0.3.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.3 CPython/3.7.4 Windows/10

File hashes

Hashes for a2wsgi-0.3.0.tar.gz
Algorithm Hash digest
SHA256 31e3457dd7b5bc0232b28f2b0ab59e10e597e38c8a6d7de33c241bbb497bf864
MD5 7ef02e591505e7ad68f0705a231c6bb0
BLAKE2b-256 05849426c637d967ed802b224bcabec6116023ba0fda5231a3aa1237ab0d81bc

See more details on using hashes here.

File details

Details for the file a2wsgi-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: a2wsgi-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.3 CPython/3.7.4 Windows/10

File hashes

Hashes for a2wsgi-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d2a7d9217b86c34903fe77d7bfb73bc6d3fa6430e1216dc00bd54dc97a81e8d6
MD5 34b36b7b3df795118253f8b05e1d057a
BLAKE2b-256 17d9ef33cdadd1b8ed7a4ed9f1d401a6cba9eb58e6d6272865391e644a66ab16

See more details on using hashes here.

Supported by

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