A lightweight ASGI toolkit, optimized for great performance, flexibility and productivity.
Project description
SlickPy
A lightweight ASGI Python 3.8+ toolkit, optimized for great performance, flexibility and productivity.
Install
pip install slickpy
Overview
example.py:
from slickpy import App, Writer
app = App()
@app.route("/")
async def welcome(w: Writer) -> None:
await w.end(b"Hello, world!")
main = app.asgi()
Then run the example with uvicorn:
uvicorn example:main
See examples for more.
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
slickpy-0.4.6.tar.gz
(12.2 kB
view details)
Built Distribution
slickpy-0.4.6-py3-none-any.whl
(15.0 kB
view details)
File details
Details for the file slickpy-0.4.6.tar.gz
.
File metadata
- Download URL: slickpy-0.4.6.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b66e8a22feaa59e24081ae5bdfe0c16f30e812e4062275cff8c8d8b59fdcf264 |
|
MD5 | 6ddbdab58cabe700a0251a6381f3caa2 |
|
BLAKE2b-256 | 773a07c17fea270c93820513cd758ff7d5ddd6172689c46e320b14c079edbe95 |
File details
Details for the file slickpy-0.4.6-py3-none-any.whl
.
File metadata
- Download URL: slickpy-0.4.6-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b4e0ab969b2ac39e8c6d7d46cedb01dd2ebd4a918000ca9101345d9a0cbca60 |
|
MD5 | f7c09682fbff737d74f0ea02055ea75b |
|
BLAKE2b-256 | 66408aabd1a7d8d9a2269631f0557d54932b4ef866e029a8e98ba276d6746680 |