A set of libraries for pluggable business logic components.
GitHub: https://github.com/dry-python
Twitter: https://twitter.com/dry_py
- Domain-driven design friendly.
- Optimized for readability.
- Simplifies decomposition.
- Simplifies error handling.
- Simplifies debugging.
- Framework ready. Lots of contrib packages to integrate with the existing ecosystem.
Service layer:
- stories Define a user story in the business transaction DSL.
- returns Make your functions return something meaningful, typed, and safe!
Repository layer:
- mappers Declarative mappers from ORM models to domain entities. And back again!
Configuration and bootstrap:
- dependencies Dependency Injection for Humans.
Examples
- tutorials example of the Django project written this way.