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.0.tar.gz
(48.6 kB
view details)
Built Distribution
File details
Details for the file fastapi_async_sql-0.1.0.tar.gz
.
File metadata
- Download URL: fastapi_async_sql-0.1.0.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 | 880a9b050e585c1f0a54ed60b64e189410e0aad3e10541163447adaac33b3c09 |
|
MD5 | 4ba6f158d5b6837fe8e92109b236697b |
|
BLAKE2b-256 | b9b5d91c11a7666dc310bfd2720997a15a7398b94d8cac385ad24d944d0d0a0a |
File details
Details for the file fastapi_async_sql-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: fastapi_async_sql-0.1.0-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 | 7bc10fce79662fcdeeea0d0bbff91bf6f9c9aa0e3f5b935a166abe4c3088e3b7 |
|
MD5 | bab8e81fa3696d3f7ceab38d54885919 |
|
BLAKE2b-256 | aa93560ca0cc7355ae2e026c61ccb48ccb3b2710ecf4151a1728e6dd955186fc |