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.3.1.tar.gz (14.6 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.3.1-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: heaven-0.3.1.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.6 Darwin/23.4.0

File hashes

Hashes for heaven-0.3.1.tar.gz
Algorithm Hash digest
SHA256 5bcd8745c2dd68a12dfcd830cdb5dcd6d77f3a5fea2aed58d9701bcb110635a1
MD5 e78c61b92193e66b2ecfcab8e9ca6238
BLAKE2b-256 46ce55f498bee5abe90bbe699547487161487ce03ca5ace2640a5f01e28bf794

See more details on using hashes here.

File details

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

File metadata

  • Download URL: heaven-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.6 Darwin/23.4.0

File hashes

Hashes for heaven-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a58cde77a815ab8e62543264972f1a640f31db201ddfdf5c94c0c5a0d9a69dd9
MD5 729abc3facf44ded4c0af4c36eee89c4
BLAKE2b-256 8a54479d256d54ebc1241c1b1fefe2e0b160ca47a9ddc0eb03d673e7c8d98e45

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