Extremely Stupid Simple, Blazing Fast, Get Out of your way immediately Microframework for building Python Web Applications.
Project description
Routerling :
Routerling 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.
Routerling 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 routerling
A Simple Example
from routerling 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
- Documentation Go To Docs
- PyPi https://pypi.org/project/routerling
- Source Code Github
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file routerling-0.4.5.tar.gz
.
File metadata
- Download URL: routerling-0.4.5.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.10.6 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ad8ef0923061ba6b71dddd666ae358804314c464acb436f1cd4d0e2c771637b |
|
MD5 | 679e1b1b5d941c94a8e6da8de9ae9cb1 |
|
BLAKE2b-256 | b3cf60c967ef8d4e202c11942f42db3875138197d1cab6922e5f30ed7cd9d718 |
File details
Details for the file routerling-0.4.5-py3-none-any.whl
.
File metadata
- Download URL: routerling-0.4.5-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.10.6 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6a4314df1b3085b24fb450deb7da02f619e5a0ae51322e17fbe468772c6a639 |
|
MD5 | 0ece3a066c26e7af63478730d11c8365 |
|
BLAKE2b-256 | a8ca580e761ab12577fce0fff3a298a5159b7b178c5c7dd458fffbfb6db2e029 |