Skip to main content

Automatically populate env with UWSGI_ variables and run uwsgi

Project description

pip install -e git+https://github.com/night-crawler/uwsgi-env.git#egg=uwsgi-env
    # OR
pip install uwsgi-env

Usage

@manager.option('-h', '--host', dest='host')
@manager.option('-p', '--port', dest='port')
def uwsgi(host=None, port=None,):
    from uwsgi_env.utils import uwsgi as _uwsgi
    return _uwsgi(host=host, port=port, project='my_project')

Original by @unbit, django-uwsgi

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 uwsgi-env, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size uwsgi_env-0.1.0-py3-none-any.whl (4.0 kB) File type Wheel Python version 3.6 Upload date Hashes View
Filename, size uwsgi-env-0.1.0.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

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