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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for heaven-0.0.9.tar.gz
Algorithm Hash digest
SHA256 5ba1fa893bd7d5fce9df7239a61ba708ef6208829021a105d1e46e524365b803
MD5 f47661fba98f1d0af3407842780fa95b
BLAKE2b-256 0f93859cbebed265bb43a3a4457177e0d2fcb36a651326a9cd10af97735ac8cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: heaven-0.0.9-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.11.3 Darwin/22.5.0

File hashes

Hashes for heaven-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6f166293a22a0904ababc6cacffc25b12eb005ca2ec603b92ea5e22f60466da2
MD5 370672c10fd5370e6eeb6ee7e0365ed6
BLAKE2b-256 30be3358acdec58ddba61a2b0543cf18be4ebc4b04dbe2de68421d7f764ccd23

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