sqlmodel
SQL databases in Python, designed for simplicity, compatibility, and robustness.
SQL databases in Python, designed for simplicity, compatibility, and robustness.
To install this package, run one of the following:
SQLModel is designed to simplify interacting with SQL databases in FastAPI applications, it was created by the same author. It combines SQLAlchemy and Pydantic and tries to simplify the code you write as much as possible, allowing you to reduce the code duplication to a minimum, but while getting the best developer experience possible. SQLModel is, in fact, a thin layer on top of Pydantic and SQLAlchemy, carefully designed to be compatible with both.
Summary
SQL databases in Python, designed for simplicity, compatibility, and robustness.
Last Updated
Dec 29, 2025 at 18:03
License
MIT
Total Downloads
115.6K
Supported Platforms
Documentation
https://sqlmodel.tiangolo.com/