Skip to main content

uWSGI as a Django management command

Project description


Run pyuwsgi (aka uWSGI) as a Django management command.

build status


  1. Install:

    pip install django-pyuwsgi

       # ...
       # ...
  3. Run: pyuwsgi --socket=:8000 ...

Don't worry about setting the module you want to run or virtualenv/home, that will already be handled for you via the WSGI_APPLICATION setting and your current Python interpreter. If you've configured your static files to be served from a local URL, they'll be setup too.


In some scenarios, it is beneficial to distribute a Django project with a single entrypoint for command-line interaction. This can come in handy when building Docker containers or self-contained Python apps with something like shiv.

Project details

Download files

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

Files for django-pyuwsgi, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size django_pyuwsgi-1.0.0-py2.py3-none-any.whl (4.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-pyuwsgi-1.0.0.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page