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

Uploaded Source

Built Distribution

heaven-0.0.7-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: heaven-0.0.7.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.9.6 Darwin/22.5.0

File hashes

Hashes for heaven-0.0.7.tar.gz
Algorithm Hash digest
SHA256 5bf411768b96abfd2a486d1184cda16092ad13580b1739ab65328f5ff4390e94
MD5 ae22eb620dfb91c0306c7d5ccd955505
BLAKE2b-256 89a497a8c1992654667447689c55fd6d55c9651a63a7b0f6974e71924c6b3038

See more details on using hashes here.

File details

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

File metadata

  • Download URL: heaven-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.9.6 Darwin/22.5.0

File hashes

Hashes for heaven-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 88ef01362f86ec21a88b1fae63165c098a77341098c33969fd261b4f7c8e8212
MD5 dcf7bb47f0c8d1295c1d7bd07826a1c0
BLAKE2b-256 01d3f980e3e4a7d57a2d761f3044d64c6c870d6eb4e5e3d4b54338952945f33e

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