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.3.3.tar.gz (14.7 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.3.3-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for heaven-0.3.3.tar.gz
Algorithm Hash digest
SHA256 8a9dbb0f53962454c128ea8a91f42954caa3ab4b8ac21e8f8cee1562ee49bb46
MD5 df35ae7b241082aa59e397923ce131c5
BLAKE2b-256 4379b19b3264e9d5dc095aec51e27987ea50e648998fb657a0a09500f3b1f7e7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for heaven-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 da5711cea75bb81637552dfe13f370417f21465a6822f757a13b7a80381a89a3
MD5 170a78c64a57197bf5bbc3fd9c29185e
BLAKE2b-256 e2c01131ace65ea3dc95c21a13d6338737c4f6c9b918a0f0a605abb301b2f598

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.3

Supported by

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