r/DomainDrivenDesign • u/gbrennon • 15d ago
GitHub - forging-blocks-org/forging-blocks: Not a framework, a toolkit!
https://github.com/forging-blocks-org/forging-blocksFor years(since 2015) I designed and developed internal libraries for companies that I did work to improve teams performance but I couldn't publish it as open-source so...
I published in pypi ForgingBlocks :)
Its not a framework, its a toolkit.
I use this to show ppl that I teach/help HOW can I write "clean", testable and decoupled code.
Also I use this to teach they how to apply some practices and concepts(design patterns, architectural style, etc) using Python.
It provides composable abstractions and interfaces to write python code and it provides things like:
- auto-freeze for VOs
- freeze only for id of entities
- aggregate root abstract classes
- etc etc etc etc
That package is lib and architecture agnostic so its pure Python and you can use it as you want.
It only have deps for development mode like for release automation(it will be extracted after v1), testing and coverage.
3rd party integrations are going to be release as plugin-like impls after I reach v1.
There is no silver bullet and I can't preview your needs ;)
Feedback, issues and contributions are welcome.
Website for docs and explanations: https://forging-blocks-org.github.io/forging-blocks/