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.0.8.tar.gz (13.6 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.0.8-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: heaven-0.0.8.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.3 Darwin/22.5.0

File hashes

Hashes for heaven-0.0.8.tar.gz
Algorithm Hash digest
SHA256 63285dd5cd6513c17fc018daacc2d24ecd5654345b931050c479a1e03026266f
MD5 0b3a9865dc0c534c3e66fe9fe34dbb4f
BLAKE2b-256 2f17211bc35629a291b7e15e8c481624e9e43a650cd4662e6a2594a75cca3127

See more details on using hashes here.

File details

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

File metadata

  • Download URL: heaven-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.3 Darwin/22.5.0

File hashes

Hashes for heaven-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 78954530bb687ae2ce033fbb066c365513bdbb730f18a27d1759d29d493322c7
MD5 4c97ef1f21d80a3fafa864711b3f6fb5
BLAKE2b-256 5f1f663be47379291f72721e72592fcea149571cdd31bbae57ee5efc6ce0e8d2

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 Pingdom Monitoring Sentry Error logging StatusPage Status page