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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: heaven-0.2.2.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.1.0

File hashes

Hashes for heaven-0.2.2.tar.gz
Algorithm Hash digest
SHA256 6270433d2a000c75465ea0b916b1d1fe9cdee706a98a0dc9bba8e6cb2127dd08
MD5 1275af8c7c1529a37a9450d4229794eb
BLAKE2b-256 afe36c6a02d2f8e572ff16903deca3d4c749a210477b958f30e1182759319184

See more details on using hashes here.

File details

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

File metadata

  • Download URL: heaven-0.2.2-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.1.0

File hashes

Hashes for heaven-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f9198d5c0c4754f4e8c3f0cfc79184d6d8194b651214345816ac0c9221e7b2d0
MD5 10b16e3c4d3383dc70c465e0e1eba0bf
BLAKE2b-256 d34a4133047bfc2e6a66e659e7ff48635698a82d49c00a4de6cefefc7520b142

See more details on using hashes here.

Supported by

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