fastapi/sqlmodel
View on GitHub ↗ ★ 18,559 Python
SQL databases in Python, designed for simplicity, compatibility, and robustness.
7 mentions on Hacker News by 7 people: 1 story, 6 comments · first 2021-08-24 · latest 2026-03-16
20082026
-
…worse than useless because if you add it to your Pydantic models, it disables all validation: https://github.com/fastapi/sqlmodel/issues/52
comment by ForHackernews · 2026-03-16 · in Show HN: Oxyde – Pydantic-native async ORM with a Rust core -
…backed by a database table doesn't validate its fields on creation, which is the point of Pydantic. https://github.com/fastapi/sqlmodel/issues/52#issuecomment-1...
comment by unculture · 2025-03-28 · in Architecture Patterns with Python -
…– hadn't seen that before. For apps with html front ends, are people replacing WTForms? [1] https://github.com/fastapi/sqlmodel
comment by asplake · 2024-10-16 · in Making the Python back end for my new webapp -
The author of FastApi wrote an ORM too: https://github.com/tiangolo/sqlmodel I have not yet used it, but I think that’s the best approach now
comment by cmclaughlin · 2022-02-05 · in Django Ninja – Fast Django REST Framework for Building APIs -
This bit looks like async support: https://github.com/tiangolo/sqlmodel/blob/0.0.3/sqlmodel/ext...
comment by simonw · 2021-08-25 · in SQLModel – SQL Databases in FastAPI -
…model is both a Pydantic and SQLAlchemy model, and it's all optimized for FastAPI. GitHub here: https://github.com/tiangolo/sqlmodel More info in this Twitter thread: https://twitter.com/tiangolo/status/1430252646968004612 And the docs are…
comment by tiangolo · 2021-08-24 · in SQLModel – SQL Databases in FastAPI -
▲ 224
SQLModel – SQL Databases in FastAPIstory by dmart · 2021-08-24 · 51 comments