SQLModel
Python library for working with SQL databases through Python objects, built on Pydantic and SQLAlchemy.
sqlmodel.tiangolo.com/repositorydocs
SQLModel is a Python library for interacting with SQL databases from Python code, using Python objects. It is based on Python type annotations and builds on Pydantic and SQLAlchemy. The README says it is designed to be compatible with FastAPI and was created by the same author as FastAPI.
The install guide covers adding it to a project.
Sources
- 2026-11-16: links, Categories, Runtime, Databases
github.com/fastapi/sqlmodel/blob/main/README.md - 2026-11-16: links, Written in, License, GitHub stars
api.github.com/repos/fastapi/sqlmodel - 2026-11-16: Maintainer, License model
github.com/fastapi/sqlmodel/blob/main/LICENSE - 2026-11-16: First release
pypi.org/pypi/sqlmodel/json - 2026-11-16: Minimum runtime
github.com/fastapi/sqlmodel/blob/0.0.50/pyproject.toml - 2026-11-16: Built on
sqlmodel.tiangolo.com/features/ - 2026-11-16: Databases
sqlmodel.tiangolo.com/tutorial/create-db-and-table/ - 2026-11-16: Install with
sqlmodel.tiangolo.com/install/ - 2026-11-16: Current major version, Last release
api.github.com/repos/fastapi/sqlmodel/releases - 2026-11-16: Contributors
api.github.com/repos/fastapi/sqlmodel/contributors?per_page=1