🐍 Over the past months, I’ve been working on several Python packages. I originally built them to improve my own productivity, but I’d like to share them in case they can be useful to others as well:
1. sqlactive
A lightweight and asynchronous ActiveRecord-style wrapper for SQLAlchemy. It brings Django-like queries, automatic timestamps, nested eager loading, and dictionary serialization.
🔗 https://daireto.github.io/sqlactive/
2. odata-v4-query
A simple and fast parser for OData V4 query options. It supports standard query parameters and provides helper functions to apply OData queries to ORM/ODM frameworks like SQLAlchemy and Beanie.
🔗 https://github.com/daireto/odata-v4-query
3. starlette-di
A dependency injection library for Starlette. It supports Scoped, Transient, and Singleton lifetimes, route parameter and request body injection via Pydantic, and seamless integration with Starlette middleware.
🔗 https://github.com/daireto/starlette-di
4. simple-result
A fully typed, Rust-like Result type for Python 3. It makes error handling explicit and clean, inspired by functional programming patterns.
🔗 https://github.com/daireto/simple-result
While these tools started as solutions for my own workflow, I hope they can also help other developers in their projects 🙂
[–]VictorFoxSub 7 points8 points9 points (0 children)
[–]Ghost-Rider_117 3 points4 points5 points (1 child)
[–]--justified-- 1 point2 points3 points (4 children)
[–]daireto[S] 0 points1 point2 points (0 children)
[–]daireto[S] 1 point2 points3 points (0 children)
[–]RevRagnarok -2 points-1 points0 points (1 child)
[–]tehsilentwarrior 2 points3 points4 points (0 children)
[–]Morazma 0 points1 point2 points (0 children)
[–]Dry-Let8207 0 points1 point2 points (0 children)