Utilities for using the Piccolo ORM in ASGI apps, plus essential ASGI middleware such as authentication and rate limiting.
Maintained. Last release 4 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install piccolo-api
Piccolo API
Utilities for easily exposing Piccolo tables as REST endpoints in ASGI apps, such as Starlette and FastAPI.
Includes a bunch of useful ASGI middleware:
- Session Auth
- Token Auth
- Rate Limiting
- CSRF
- Content Security Policy (CSP)
- And more
It also contains excellent Pydantic support, allowing you to easily create Pydantic models based on your Piccolo tables.
You can read the docs here.