Skip to main content

uvwsgi is a Python WSGI server whhich uses libuv and http-parser libraries also used in Node.JS through their Python binding libraries:

Motivalion

There are abunch of great WSGI servers out there, so why create a new one? I’ve been playing with Flask and WSGI lately and I wanted to see the guts of it. As you can see the code is pretty short, I expect to make more changes and more features to it though.

Status

uvwsgi should not be used in production. It’s still work in progress.

The project is not very actively maintained at the moment, if you’d like to help please drop me a line!

Installtion

uvwsgi can be easily installed with pip:

pip install uvwsgi

Usage

Example usage:

from flask import Flask
from uvwsgi import run

app = Flask(__name__)

@app.route('/')
def index():
    return 'hello world!'

if __name__ == '__main__':
    run(app, ('0.0.0.0', 8088))

The uvwsgi command line application can also be used to serve WSGI applications directly. Assuming the code above this lines is stored in a file called tst.py, it can be served as follows:

uvwsgi tst:app --port 8888

NOTE: You need to install the package first in order to have the uvwsgi command available.

Author

Saúl Ibarra Corretgé <saghul@gmail.com>

License

Unless stated otherwise on-file uvwsgi uses the MIT license, check LICENSE file.

Metadata

Release files for uvwsgi 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uvwsgi 0.3.2
File Size Uploaded
uvwsgi-0.3.2.tar.gz 6.7 kB Details

Release files / uvwsgi-0.3.2.tar.gz

Download URL uvwsgi-0.3.2.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
48e8148a82268137ca1f12bcf5d7321ec6839497f3efca04b0d671358f69e43d
BLAKE2b-256 checksum
How to use checksums
1016f84f77d9330ab90ed1f6193e939d2bfe339b0ae1b68c1b59f69773623b44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.2 This release

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page