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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uwsgi-env-0.1.0.tar.gz.
File metadata
- Download URL: uwsgi-env-0.1.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
928cdfa253cc2ce6d339c96dcdaca45f7c1b62613fa6a64ed6013fd7220fa440
|
|
| MD5 |
c0ce19b6b34b32015fd4b19d347a433c
|
|
| BLAKE2b-256 |
79bbbbebb966878ce925363ffe9dd51fecb0ecf48ba1b3c502afa8bfeb6ff7b7
|
File details
Details for the file uwsgi_env-0.1.0-py3-none-any.whl.
File metadata
- Download URL: uwsgi_env-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f38391759a1515ffbc012bd8adf2d583c5992662e1849f3401e373224ad7f47f
|
|
| MD5 |
7b9a7c56c776ec5a610f241bd6d57174
|
|
| BLAKE2b-256 |
32bd0761d4aa528c95a38120b954719fa853075ec877bb0256a4f1313cf7da37
|