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.1.1.tar.gz (13.9 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.1.1-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: heaven-0.1.1.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.4 Darwin/22.6.0

File hashes

Hashes for heaven-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1fdacfe680dc529101c6e3dbff58bb0e10eff74e8cd52908d354817891c9bcf7
MD5 9a5c8d3bb14fe6031a09d652e2df3cce
BLAKE2b-256 304ad5a6773954375a2bbc6dae700b16f3536aaea56bb7ebd5b3e6cdfac88d03

See more details on using hashes here.

File details

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

File metadata

  • Download URL: heaven-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.4 Darwin/22.6.0

File hashes

Hashes for heaven-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e4f1a219f30af7ce124f036940104622463419b39866392d40eb78d177c112b
MD5 4c10b54643c737c78ca86208e5cbb205
BLAKE2b-256 0b2fdc44e0f2b1dc45cdd853a06a31e0394859a685659218a0a12116ef938090

See more details on using hashes here.

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