Skip to main content

The uWSGI server

Project description

The uWSGI server as a Python module

Install

pip install pyuwsgi

Run

uWSGI will get installed to your Python path with a console script named pyuwsgi. To make it a full drop-in replacement it will install a script named uwsgi as well.

You can also call it directly in your Python code with a list of valid uWSGI options:

import pyuwsgi
pyuwsgi.run(["--help"])

Differences from uWSGI

This is built from uWSGI's source without any modifications. A different setup.py is used to make the project a friendlier part of the Python ecosystem. It allows it to be imported as a Python module and distributed using the wheel format. The pre-packaged wheels include the following common libraries used by uWSGI:

SSL is intentionally excluded for security reasons. If you need SSL support, you can force a wheel to be built locally with the pip flag --no-binary=pyuwsgi.

In addition to the default plugins, the stats_pusher_statsd plugin is included by default in pyuwsgi where it is typically optional for uWSGI.

The full uWSGI documentation can be found at https://uwsgi-docs.readthedocs.io.

License

uWSGI is licensed GPLv2 with a linking exception which means you are allowed to use uWSGI (or pyuwsgi) unmodified in a proprietary or otherwise non-GPL licensed project without invoking the GPL on the rest of the code.

The full license can be found on GitHub.


Lincoln Loop

pyuwsgi is sponsored by Lincoln Loop.

Unbit

uwsgi is the creation of Unbit.

Download files

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

Source Distribution

pyuwsgi-2.0.27.tar.gz (855.9 kB view details)

Uploaded Source

File details

Details for the file pyuwsgi-2.0.27.tar.gz.

File metadata

  • Download URL: pyuwsgi-2.0.27.tar.gz
  • Upload date:
  • Size: 855.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyuwsgi-2.0.27.tar.gz
Algorithm Hash digest
SHA256 029adbc9c0fcb1539d7ef21eeed21f1196ddd0e102619759f8f5662422a9470d
MD5 6214a872c4c6afc5002bd4cb3dab1037
BLAKE2b-256 621b2a90a360a5ecbfd345f4dabc1842bd9fe261a35fcd18a0cb5de1953f22f5

See more details on using hashes here.

Provenance

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