Extremely Stupid Simple, Blazing Fast, Get Out of your way immediately Microframework for building Python Web Applications.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file heaven-0.4.1.tar.gz
.
File metadata
- Download URL: heaven-0.4.1.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89b5c9f597f045a985eb4ab7f38ec7fc3ccc351c87057d81a6c2d3801a487013 |
|
MD5 | 5bc797753f690f4819b29fddd1e4f7b1 |
|
BLAKE2b-256 | 408d84cdaee7a504ef08539a196b16da28235f33651613a79feebada0d7f2370 |
File details
Details for the file heaven-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: heaven-0.4.1-py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b05ef35ebcdaa6d8c2725e4d832215c591a680111734c54cb0e88df7f36a0a3 |
|
MD5 | 82ee2c4e12d68d605e67422ec575493e |
|
BLAKE2b-256 | 97a348c66c05e440a2e6914835d6b8fffbfb298b1e16ed52159cb1075e5476d0 |