Skip to content

pygrok/fastapi-async-sql

Repository files navigation

FastAPI Async SQL

Common utilities for Async SQL FastAPI applications

Installation

uv pip install fastapi-async-sql
---> 100%

Features

  • AsyncSQLAlchemyMiddleware: A middleware to handle database connections with AsyncSQLAlchemy
  • SQLModel: A library to handle database models with Pydantic and SQLAlchemy
  • Base models for SQLModel:
    • BaseSQLModel: A opinionated base model for SQLAlchemy models
    • BaseTimestampModel: A base model with timestamps for SQLAlchemy models
    • BaseUUIDModel: A base model with UUID for SQLAlchemy models
  • BaseRepository: A base repository to handle CRUD operations with SQLAlchemy models
  • Filtering, Sorting and Searching with FastAPI Filter: A library to handle filtering and sorting of data
  • Pagination with FastAPI Pagination: A library to handle pagination of data

About

Common utilities for Async FastAPI applications

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •