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

Release history Release notifications

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django_pyuwsgi-1.0.0-py2.py3-none-any.whl (4.3 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Sep 11, 2018
django-pyuwsgi-1.0.0.tar.gz (2.9 kB) Copy SHA256 hash SHA256 Source None Sep 11, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page