I have published FastSQLA - an SQLAlchemy extension to FastAPI

Posted by hadriendavid@reddit | Python | View on Reddit | 18 comments

Hi folks,

I have published FastSQLA:

What is it?

FastSQLA is an SQLAlchemy 2.0+ extension for FastAPI.

It streamlines the configuration and async connection to relational databases using SQLAlchemy 2.0+.

It offers built-in & customizable pagination and automatically manages the SQLAlchemy session lifecycle following SQLAlchemy's best practices.

It is licenced under the MIT Licence.

Comparison to alternative

Target Audience

It is intended for Web API developers who use or want to use python 3.12+, FastAPI and SQLAlchemy 2.0+, who need async only sessions and who are looking to following SQLAlchemy best practices, latest python, FastAPI & SQLAlchemy.

I use it in production on revenue-making projects.

Feedback wanted

I would love to get feedback:

Thanks for your attention, enjoy the weekend!

Hadrien