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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for heaven-0.2.3.tar.gz
Algorithm Hash digest
SHA256 673d2f8c3e4223fd9bc4609d7bd74ceab8967faa29337abefe869471a9b8428d
MD5 f26dca583e86a8208052a785b60600e1
BLAKE2b-256 f56033c77b78a76487aad64613d2dbc5cd452c1e654ba30be6474e34d98ad7a6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for heaven-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e220fd69f9644129c056c0d7b8aefa228b1163cb38720728396f6cbcd8987af4
MD5 58a3e35106d87b9c0ce57a699ba41c16
BLAKE2b-256 ce81e1314a44257c94c67e1a1c36bdc5a125ce6a95317a4f15e3c9cb6c0450e9

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