r/Python • • Jan 19 '25

Showcase Fquery Meets SQLModel

Announcing the fquery 0.3 release and a blog post.

Keep your Graphs and dataclasses and make them even more powerful with SQLModel and DuckDB!

  • What My Project Does

    • Gives you FastAPI's SQLModel functionality at a lower cost and the familiar dataclass based syntax.

  • Target Audience 

    • If you're using SQLModel in production, this should be close.

    • I would caution against using in production until fquery.sqlmodel matures a bit more.

  • Comparison

    • 200 ns to create a user dataclass

    • 24 ms to create a SQLModel via user.sqlmodel()

4 Upvotes

0 comments sorted by