WSGI Lithium
A lightweight and dumb HTTP to WSGI server that relies on Python's included batteries.
This WSGI server is intended to be used in Kubernetes-like environments, where some component handle load-balancing, application crashing, loggin, etc.
How to install
pip install wsgi_lithium
How to use
WSGI Lithium should be used behind a reverse proxy.
wsgi-lithium -b [::]:8000 module:app
How to set SCRIPT_NAME from the HTTP server
Simply configure your reverse proxy to set the Virtual-Location header to the
value you want in SCRIPT_NAME. You might have to rewrite the path with
said reverse proxy.
For example, if you serve an application on /foo/bar, where /bar is the sub
path, and /foo is the "virtual location", set the Virtual-Location header to
/foo and rewrite the path so it become /bar.
Metadata
Release files for wsgi_lithium 0.3.0
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 |
|---|---|---|---|---|
| wsgi_lithium-0.3.0.tar.gz | 6.8 kB | Without provenance | Details for wsgi_lithium-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wsgi_lithium-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for wsgi_lithium-0.3.0-py3-none-any.whl |
Total release size: 13.3 kB
Release files / wsgi_lithium-0.3.0.tar.gz
| Download URL | wsgi_lithium-0.3.0.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1d9d1f1d436016489b240de4bd62ee0113163403761aca25d4de7c961389f86
|
|
BLAKE2b-256 checksum How to use checksums |
8f3a12995b03004b39b78050e1e89f7831dab6899ec1b057e983ff7773bcc345
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.30.0
|
Release files / wsgi_lithium-0.3.0-py3-none-any.whl
| Download URL | wsgi_lithium-0.3.0-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1309ba392419763b21fada1810a81d6751b1992438c07cbd545e9478b836828e
|
|
BLAKE2b-256 checksum How to use checksums |
58bccb4ac38ea601c97cb2673b2ac43151400c5d5df404edfec756f01bcba717
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.30.0
|
Security for wsgi_lithium 0.3.0
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.