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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for uwsgi_env-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f38391759a1515ffbc012bd8adf2d583c5992662e1849f3401e373224ad7f47f |
|
MD5 | 7b9a7c56c776ec5a610f241bd6d57174 |
|
BLAKE2b-256 | 32bd0761d4aa528c95a38120b954719fa853075ec877bb0256a4f1313cf7da37 |