Hacker GitHub

← All repos

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

Mentions per year 7 mentions · busiest year 2021 (3)
20082026
  1. …worse than useless because if you add it to your Pydantic models, it disables all validation: https://github.com/fastapi/sqlmodel/issues/52
  2. …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
  3. …– hadn't seen that before. For apps with html front ends, are people replacing WTForms? [1] https://github.com/fastapi/sqlmodel
  4. 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
  5. 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
  6. …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
  7. ▲ 224
    SQLModel – SQL Databases in FastAPI
    story by dmart · 2021-08-24 · 51 comments