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.

Source Distribution

uwsgi-env-0.1.0.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

uwsgi_env-0.1.0-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

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