Heaven : 
Heaven is a very very small, extremely tiny, and insanely fast ASGI web application framework. It was designed to facilitate productivity by allowing for complete mastery in 7 minutes or less.
Heaven is a very light layer around ASGI with support for application mounting and is perhaps the simplest and one of the fastest python web frameworks (biased opinion of course).
Installling
Install with pip
$ pip install heaven
A Simple Example
from heaven import Router
async def index(req, res, ctx):
res.body = 'Hello, World!'
router = Router()
router.GET('/', index)
You can run with uvicorn, gunicorn or any other asgi HTTP, HTTP2, and web socket protocol server of your choice.
$ uvicorn main:router --reload
* Running on http://127.0.0.1:8000
Contributing
For guidance on how to make contributions to Routerling, see the Contribution Guidelines
Links
- Documentation Go To Docs
- PyPi https://pypi.org/project/heaven
- Source Code Github
Metadata
Release files for heaven 0.3.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 | |
|---|---|---|---|
| heaven-0.3.2.tar.gz | 14.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| heaven-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.6 kB
Release files / heaven-0.3.2.tar.gz
| Download URL | heaven-0.3.2.tar.gz |
|---|---|
| Size | 14.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31fe6410baf4735178f7ae55dbaf8f57ceccb2b126b57f829741113246a2b9d5
|
|
BLAKE2b-256 checksum How to use checksums |
29e715105830cbec524c61d6c4acf316838dc6bb6111409c6c872fea1ac1bfe9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.6 Darwin/23.4.0
|
Release files / heaven-0.3.2-py3-none-any.whl
| Download URL | heaven-0.3.2-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
40929754225c9eb1d9a565f35190eba9c634302fe250b6dc3cdf2c1cd42c20d0
|
|
BLAKE2b-256 checksum How to use checksums |
f6fc6bee6a826c8804ec8cb0ff77f09e5e1fcc9d8a617b5704bba35d6ac0dd89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.6 Darwin/23.4.0
|