Skip to main content

A lightweight ASGI toolkit, optimized for great performance, flexibility and productivity.

Project description

SlickPy

tests Coverage Status pypi version

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


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 hashes)

Uploaded Source

Built Distribution

slickpy-0.4.6-py3-none-any.whl (15.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page