Skip to main content

FastAPI Async SQL

Common utilities for Async SQL FastAPI applications

Installation

uv add fastapi-async-sql

or

pip install fastapi-async-sql

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

Metadata

Release files for fastapi-async-sql 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastapi-async-sql 0.1.0
File Size Uploaded
fastapi_async_sql-0.1.0.tar.gz 48.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastapi-async-sql 0.1.0
File Interpreter ABI Platform
fastapi_async_sql-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 56.5 kB

Release files / fastapi_async_sql-0.1.0.tar.gz

Download URL fastapi_async_sql-0.1.0.tar.gz
Size 48.6 kB
Tags Source
SHA-256 checksum
How to use checksums
880a9b050e585c1f0a54ed60b64e189410e0aad3e10541163447adaac33b3c09
BLAKE2b-256 checksum
How to use checksums
b9b5d91c11a7666dc310bfd2720997a15a7398b94d8cac385ad24d944d0d0a0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.5

Release files / fastapi_async_sql-0.1.0-py3-none-any.whl

Download URL fastapi_async_sql-0.1.0-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7bc10fce79662fcdeeea0d0bbff91bf6f9c9aa0e3f5b935a166abe4c3088e3b7
BLAKE2b-256 checksum
How to use checksums
aa93560ca0cc7355ae2e026c61ccb48ccb3b2710ecf4151a1728e6dd955186fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.5
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page