uwsgi-env

Automatically populate env with UWSGI_ variables and run uwsgi


Keywords
env, environment-vars, flask, uwsgi
License
MIT
Install
pip install uwsgi-env==0.1.0

Documentation

Installation

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