Utilities for using the Piccolo ORM in ASGI apps, plus essential ASGI middleware such as authentication and rate limiting.


Keywords
asgi, asyncio, authentication, fastapi, hacktoberfest, orm, piccolo, rate-limiting, rest, security, starlette
License
MIT
Install
pip install piccolo-api==1.3.1

Documentation

Logo

Tests Release Documentation Status PyPI codecov

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.