Skip to content

FastAPI Querysets

CDNJS CDNJS


Documentation: https://fastapi-querysets.readthedocs.io

Source Code: https://github.com/Nikakto/fastapi-querysets


Why to use?

While you are developing FastAPI applications you are using databases with ORM. Most of the endpoints are view of database tables and require restrict queryset by filtering, pagination, ordering. This project is generic and reusable way to create restricted querysets for your endpoints.

Supported ORM

Requirements

  • python >=3.8,<4.0
  • fastAPI >= 0.78
  • tortoise-orm >= 0.18.1

Installation

pip install fastapi-querysets