Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Auto-generated type-safe CRUD for SQLAlchemy (github.com/4jades)
1 point by dbsrbals26 3 days ago | hide | past | favorite | 1 comment
I put together a small library after getting tired of rewriting the same CRUD and filtering code in a FastAPI + SQLAlchemy project.

It’s meant to provide type-safe CRUD on SQLAlchemy 2.x (async), with mypy/typing as a first-class concern. Pydantic schema mapping is optional.

I’m not sure the abstraction is worth it outside our codebase, so I’d like feedback: does this feel like it solves a real problem, or is it just adding another layer? Repo: https://github.com/4jades/base-repository





If you want any new features or something like that, just leave a comment and I'll make sure to add it.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: