Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

heaven-0.2.1.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

heaven-0.2.1-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file heaven-0.2.1.tar.gz.

File metadata

  • Download URL: heaven-0.2.1.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.6 Darwin/23.0.0

File hashes

Hashes for heaven-0.2.1.tar.gz
Algorithm Hash digest
SHA256 4ae712cf23aa2b4c582bba3265283b5ea7f9b4a4c82ac2f1778cd4726b2984e7
MD5 b07f2022e3f488c34ae8a8f21e65526f
BLAKE2b-256 bb21d7a39cb02dcede8b8e679d9a4e863e0047da01c9b4bf7fb78937c9fe4ba2

See more details on using hashes here.

File details

Details for the file heaven-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: heaven-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.6 Darwin/23.0.0

File hashes

Hashes for heaven-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e5195c3ef615e3b686fabc24563e49d11c03ff4e8a6bb515a7f32bdf0fe0af38
MD5 877b63c74e0acf4108b55c51d63fbea0
BLAKE2b-256 5d56a0227a4537adf2d2ba8f8e1c2b86551d6b74a049689ad437fc33f05c5ef9

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page