# SQLModel

Python library for working with SQL databases through Python objects, built on Pydantic and SQLAlchemy.


Source: https://findsoftware.frbit.cloud/sqlmodel/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://sqlmodel.tiangolo.com/
- repository: https://github.com/fastapi/sqlmodel
- docs: https://sqlmodel.tiangolo.com
- x: https://x.com/tiangolo

### Identity

- status: active
- maintainer: Sebastián Ramírez
- maintainerType: unknown
- parent: unknown
- firstRelease: 2021
- hqCountry: unknown

### Kind

- category: library
- hosting: python
- language: python
- runtime: python
- runtimeMin: python 3.11
- basedOn: pydantic, sqlalchemy

### Content

- contentStore: not applicable
- databases: sqlite, postgres, mysql
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: uv, pip

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 0
- latestReleaseDate: 2026-11-13

### Adoption

- githubStargazers: 18624
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 112
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://github.com/fastapi/sqlmodel/blob/main/README.md (read 2026-11-16)
- urls: https://api.github.com/repos/fastapi/sqlmodel (read 2026-11-16)
- urls: https://github.com/fastapi/sqlmodel/blob/main/README.md (read 2026-11-16)
- maintainer: https://github.com/fastapi/sqlmodel/blob/main/LICENSE (read 2026-11-16)
- firstRelease: https://pypi.org/pypi/sqlmodel/json (read 2026-11-16)
- category: https://github.com/fastapi/sqlmodel/blob/main/README.md (read 2026-11-16)
- language: https://api.github.com/repos/fastapi/sqlmodel (read 2026-11-16)
- runtime: https://github.com/fastapi/sqlmodel/blob/main/README.md (read 2026-11-16)
- runtimeMin: https://github.com/fastapi/sqlmodel/blob/0.0.50/pyproject.toml (read 2026-11-16)
- basedOn: https://sqlmodel.tiangolo.com/features/ (read 2026-11-16)
- basedOn: https://sqlmodel.tiangolo.com/features/ (read 2026-11-16)
- databases: https://github.com/fastapi/sqlmodel/blob/main/README.md (read 2026-11-16)
- databases: https://sqlmodel.tiangolo.com/tutorial/create-db-and-table/ (read 2026-11-16)
- installMethod: https://sqlmodel.tiangolo.com/install/ (read 2026-11-16)
- installMethod: https://sqlmodel.tiangolo.com/install/ (read 2026-11-16)
- license: https://api.github.com/repos/fastapi/sqlmodel (read 2026-11-16)
- licenseModel: https://github.com/fastapi/sqlmodel/blob/main/LICENSE (read 2026-11-16)
- currentMajor: https://api.github.com/repos/fastapi/sqlmodel/releases (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/fastapi/sqlmodel/releases (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/fastapi/sqlmodel (read 2026-11-16)
- contributors: https://api.github.com/repos/fastapi/sqlmodel/contributors?per_page=1 (read 2026-11-16)

## Notes

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](https://sqlmodel.tiangolo.com/install/) covers adding it to a project.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
