Common utilities for Async SQL FastAPI applications
Project description
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 modelsBaseTimestampModel
: A base model with timestamps for SQLAlchemy modelsBaseUUIDModel
: 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fastapi_async_sql-0.1.0a1.tar.gz
(48.6 kB
view details)
Built Distribution
File details
Details for the file fastapi_async_sql-0.1.0a1.tar.gz
.
File metadata
- Download URL: fastapi_async_sql-0.1.0a1.tar.gz
- Upload date:
- Size: 48.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ee60622a23f6ee6507b3a5cba85ccb46c7e12dffffa2fe626d93377e8a67ad5 |
|
MD5 | 4e6926cb0e9fb5ab4808affcc975dc4d |
|
BLAKE2b-256 | 3fd5f3069cd886e47a74f4745f2ec179ef0b6c83a68352c4414d411ae46e41f7 |
File details
Details for the file fastapi_async_sql-0.1.0a1-py3-none-any.whl
.
File metadata
- Download URL: fastapi_async_sql-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c69c5d92abfbca108470956c5ff992700f43ef12f1bde8c5866d5dd21b73fe5 |
|
MD5 | ce3953d7e7adb326a52bb1fe875a4e89 |
|
BLAKE2b-256 | ed1b170b853b85e5202486f7fb0766dcf67628a49c36a38a2a97294eeb9cb56d |