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.5.tar.gz (14.2 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.5-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for heaven-0.2.5.tar.gz
Algorithm Hash digest
SHA256 e30cac03089efe1ab20d19f88e631f7938d3014f849d8a370cb68c67df958c6e
MD5 4348a45406b035877dd4572cd8e258a9
BLAKE2b-256 b09ec39153a05450d89b847060251bdb833601c82ebfebf36ae2ad5b5d7a2be3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for heaven-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8909d5ac6cfa0854752d56accc660db28bf1089474486b270b81b5fb41d20ad4
MD5 e4edde69210ba3bd2540495eb128af22
BLAKE2b-256 ff65e2f1805d6f1808e142a57889893002ba75a26c2d27f6bf631b33fee42239

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