runwsgi
A simple runner for Python wsgi application. Like Gunicorn but can run on Windows. It’s to simple, so do not use at production environment.
Install
pip install runwsgi
Use
run command:
runwsgi -b 128.0.0.1:8000 -d /home/robin/demo/ -p "robin" demo:app
on Windows use:
runwsgi.bat -b 128.0.0.1:8000 -d C:\Users\Administrator\Desktop\demo\ -p "robin" demo:app
if can’t find runwsgi command, try:
python -m runwsgi -b 128.0.0.1:8000 -d /home/robin/demo/ -p "robin" demo:app
open broswer with url http://127.0.0.1:8000
Other tips
1. -b
set bind address
2. -d
set you wsgi work dir
3. -p
set environment variable of WSGI_PARAMS, and then you can use "os.environ.get('WSGI_PARAMS')" to get the parameter.
4. wsgi application
model:application
CHANGES
0.0.1
init version.
0.0.2
first useable version.
Metadata
Release files for runwsgi 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| runwsgi-0.0.2.tar.gz | 3.7 kB | Without provenance | Details for runwsgi-0.0.2.tar.gz |
Release files / runwsgi-0.0.2.tar.gz
| Download URL | runwsgi-0.0.2.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a36bdab57fdfd517eb0c154aa57383ee2110fed541840a8bc470bb3ca2b2236f
|
|
BLAKE2b-256 checksum How to use checksums |
13af24f11e578571b1cf9e39c07f193459fcdbcac5d4846ca9c6dbd0b9ccbffe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for runwsgi 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.