Skip to main content

Extremely Stupid Simple, Blazing Fast, Get Out of your way immediately Microframework for building Python Web Applications.

Project description

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

Project details


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.4.1.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

heaven-0.4.1-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: heaven-0.4.1.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0

File hashes

Hashes for heaven-0.4.1.tar.gz
Algorithm Hash digest
SHA256 89b5c9f597f045a985eb4ab7f38ec7fc3ccc351c87057d81a6c2d3801a487013
MD5 5bc797753f690f4819b29fddd1e4f7b1
BLAKE2b-256 408d84cdaee7a504ef08539a196b16da28235f33651613a79feebada0d7f2370

See more details on using hashes here.

File details

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

File metadata

  • Download URL: heaven-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0

File hashes

Hashes for heaven-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b05ef35ebcdaa6d8c2725e4d832215c591a680111734c54cb0e88df7f36a0a3
MD5 82ee2c4e12d68d605e67422ec575493e
BLAKE2b-256 97a348c66c05e440a2e6914835d6b8fffbfb298b1e16ed52159cb1075e5476d0

See more details on using hashes here.

Supported by

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