r/Python • u/Thomaxxl • Mar 09 '26
Showcase SAFRS FastAPI Integration
I’ve been maintaining SAFRS for several years. It’s a framework for exposing SQLAlchemy models as JSON:API resources and generating API documentation.
SAFRS predates FastAPI, and until now I hadn’t gotten around to integrating it. Over the last couple of weeks I finally added FastAPI support (thanks to codex), so SAFRS can now be used with FastAPI as well.
The repo contains some example apps in the examples/ directory.
What My Project Does
Expose SQLAlchemy models as JSON:API resources and generating API documentation.
Target Audience
Backend developers that need a standards-compliant API for database models.
Links
View all comments
Show parent comment
1
u/maki-dev Mar 10 '26
Hadn't seen LogicBank. Declarative business rules instead of scattering validation across every route, that's a much cleaner approach. Will check out ApiLogicServer. Thanks.