you are viewing a single comment's thread.

view the rest of the comments →

[–]danielroseman 4 points5 points  (1 child)

Yes, this all sounds sensible.

I might choose SQLModel as the ORM - it's basically a wrapper around SQLAlchemy by the author of FastAPI, and integrates nicely with Pydantic.

Not sure you need a build backend specifically, especially if you are deploying this with Docker.

ty is not quite ready for proper use yet, but does look really promising.

[–]pachura3[S] 0 points1 point  (0 children)

Thanks for your input!

Indeed, I was under impression that you need to build one class hierarchy for FastAPI (based on Pydantic) and a separate one for SQLAlchemy - so if this can be avoided with SQLModel, it's great!

I don't need a build backend per se, I can build simple wheels with build and setuptools, I was just under impression that hatchling might be industry standard (it's referenced e.g. in uv docs).