Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rayattack/heaven
Extremely Stupid Simple, Blazing Fast, Get Out of your way immediately Microframework for building Python Web Applications.
https://github.com/rayattack/heaven
Last synced: 12 days ago
JSON representation
Extremely Stupid Simple, Blazing Fast, Get Out of your way immediately Microframework for building Python Web Applications.
- Host: GitHub
- URL: https://github.com/rayattack/heaven
- Owner: rayattack
- License: mit
- Created: 2021-03-06T20:18:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-23T19:00:45.000Z (8 months ago)
- Last Synced: 2024-05-21T00:24:13.065Z (6 months ago)
- Language: Python
- Size: 3.46 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
- awesome-blazingly-fast - routerling - Extremely Stupid Simple, Blazing Fast, Get Out of your way immediately Microframework for building Python Web Applications. (Python)
README
# Heaven :
Heaven is a very very small, extremely tiny, and insanely fast [ASGI](https://asgi.readthedocs.io) 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).
## Installing
Install with [pip](https://pip.pypa.io/en/stable/getting-started/)
```sh
$ pip install heaven
```## A Simple Example
```py
from heaven import Routerasync 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.
```sh
$ 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](contributions.md)
## Links
- Documentation [Go To Docs](https://rayattack.github.io/heaven)
- PyPi [https://pypi.org/project/heaven](https://pypi.org/project/heaven)
- Source Code [Github](https://github.com/rayattack/heaven)