# SQLModel

> SQL + Pydantic in one elegant package

**Category:** Python  
**Pricing:** open-source  
**URL:** https://sqlmodel.tiangolo.com  
**GitHub:** https://github.com/tiangolo/sqlmodel  
**Added:** 2026-08-18

---

## The Hook

SQLModel is one model for both your database and your API.

## What's Good

The inheritance from both SQLAlchemy and Pydantic means models work everywhere. Async support integrates cleanly with FastAPI. The relationship handling is intuitive for common patterns.

## The Catch

Relatively young library, so edge cases exist. Complex SQLAlchemy patterns may need direct SQLAlchemy access.

## Verdict

One model for database and API—elegant when it fits.
