kwsgi
Yet another WSGI server implementation.
Usage
Usage is like this:
$ kwsgi hello.py app --reload
Options are below:
$ kwsgi --help
Usage: kwsgi [OPTIONS] FILEPATH WSGIAPP
Example: kwsgi hello.py app -p 5000 --reload
Options:
-h, --host TEXT The interface to bind to.
-p, --port INTEGER The port to bind to.
--reload / --no-reload Enable live reloading
--daemonize / --no-daemonize Detaches the server from the controlling
terminal and enters the background.
--interval INTEGER Interval time to check file changed for
reloading
--validate / --no-validate Validating your WSGI application complying with
PEP3333 compliance.
--help Show this message and exit.
And you can integrate with kwsgi from python script:
from kwsgi import WSGIServer
def application(env, start_response):
start_response('200 OK', [('Content-type', 'text/plain; charset=utf-8')])
return [b'Hello World']
if __name__ == '__main__':
server = WSGIServer(application)
server.run_forever()
Development Roadmap
These are the current planned major milestones:
[DONE] Add minimum implementation (at least this can run django application).
Optimize some important performance bottlenecks using C-extensions, mypyc or Rust.
Add green threads implementation.
Metadata
Release files for kwsgi 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 |
|---|---|---|---|---|
| kwsgi-0.0.2.tar.gz | 7.0 kB | Without provenance | Details for kwsgi-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kwsgi-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for kwsgi-0.0.2-py3-none-any.whl |
Total release size: 14.5 kB
Release files / kwsgi-0.0.2.tar.gz
| Download URL | kwsgi-0.0.2.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86a68c4d5215d9bd4338c23ed950a00c7088035056f9e9ed67c53d42c2d8255b
|
|
BLAKE2b-256 checksum How to use checksums |
4a3ad449c2e71eb8ee22bf980a8acb577af577eb764e5aa8deb595881edfd28a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Release files / kwsgi-0.0.2-py3-none-any.whl
| Download URL | kwsgi-0.0.2-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25ea8c3ce39e6d2c11cee08fc449d97e9a912d2256cd6ad9ada1b0f6233712cd
|
|
BLAKE2b-256 checksum How to use checksums |
198afdec88faf124d775487a14db0cf78bd4da5ad3c28dbbcd441cc8eb5eb545
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Security for kwsgi 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.