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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: heaven-0.2.0.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.0.0

File hashes

Hashes for heaven-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0ff7a5b51a2a78045590391f0cc192aab73de9a75860d3a963c984a24f666a4d
MD5 c701c1540138a02c31f5b9b7fe7be199
BLAKE2b-256 4146064d3a28b2a87b1c357edef663bff002eeac9bacb81e30fc34c70760202a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: heaven-0.2.0-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.0.0

File hashes

Hashes for heaven-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46bc04200423558af208a7fa05745d5f662a9643a26ae8e4a2a78003bf327dfc
MD5 d114a84ebf1c2d915668d918b7347c24
BLAKE2b-256 f6f7c19f5f4df7fcd6cb7f1e84d59552abf7c6631aecea30577303dcaa146fcc

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