Razorbird
Razorbird is a WSGI application server for Python. Well, or just me trying to learn some Rust.
Needless to say, do not use it for anything serious. Apart from being hampered by my poor Rust skills, it has serious flaws:
- Request is buffered in memory without any restrictions.
- Response is not streamed but concatenated to a byte string.
- Single process/single threaded cause I haven't found out how to make Tokio threads work with PyO3.
- The server is always (hardcoded) bound to http://127.0.0.1:8000 .
- Signal handling is an example of horrible duct taping.
Patches welcome!
Installation
I have been lazy to upload wheels, so you'll need access to a functional Rust
environment with cargo, rustc etc. Then just install from sdist:
$ pip install razorbird
Usage
Don't.
Well, if you'd really like to give it a spin, just run
$ razorbird your.module.name
your.module.name should contain a WSGI callable named application, app
or api, but that is customizable from the command line.
Metadata
Release files for razorbird 0.2.1
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 |
|---|---|---|---|---|
| razorbird-0.2.1.tar.gz | 10.2 kB | Without provenance | Details for razorbird-0.2.1.tar.gz |
Release files / razorbird-0.2.1.tar.gz
| Download URL | razorbird-0.2.1.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c4167aead5d3e529ea07ac167f14dca772e546df63666fe6de1e55c6fc4b4d3
|
|
BLAKE2b-256 checksum How to use checksums |
78519d1d770bcf218f060dab343241f04701857488ff2479121289cca182f737
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.0
|
Security for razorbird 0.2.1
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.