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 3 6

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 NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page