Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akornatskyy/slickpy
🌟 SlickPy is a lightweight ASGI Python 3.8+ toolkit, optimized for great performance, flexibility and productivity.
https://github.com/akornatskyy/slickpy
asgi python toolkit
Last synced: 24 days ago
JSON representation
🌟 SlickPy is a lightweight ASGI Python 3.8+ toolkit, optimized for great performance, flexibility and productivity.
- Host: GitHub
- URL: https://github.com/akornatskyy/slickpy
- Owner: akornatskyy
- License: mit
- Created: 2020-07-29T15:33:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-31T12:18:39.000Z (about 2 months ago)
- Last Synced: 2024-11-21T06:49:53.086Z (about 1 month ago)
- Topics: asgi, python, toolkit
- Language: Python
- Homepage:
- Size: 74.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SlickPy
![tests](https://github.com/akornatskyy/slickpy/workflows/tests/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/akornatskyy/slickpy/badge.svg?branch=master)](https://coveralls.io/github/akornatskyy/slickpy?branch=master)
[![pypi version](https://badge.fury.io/py/slickpy.svg)](https://badge.fury.io/py/slickpy)A lightweight [ASGI](https://asgi.readthedocs.io/en/latest/index.html)
Python 3.8+ toolkit, optimized for great performance, flexibility and
productivity.## Install
```sh
pip install slickpy
```## Overview
*example.py*:
```python
from slickpy import App, Writerapp = App()
@app.route("/")
async def welcome(w: Writer) -> None:
await w.end(b"Hello, world!")main = app.asgi()
```Then run the example with [uvicorn](https://github.com/encode/uvicorn):
```sh
uvicorn example:main
```See [examples](https://github.com/akornatskyy/slickpy/tree/master/examples) for more.