» pip install lagom
Question for ports and adapters architecture experts . Why this DI injector
https://github.com/meadsteve/lagom
Is not popular ? Only 230 stars on Github.
Uses Python typing to map dependencies, looks much more pythonic than injector or dependency-injector libs.
Are there any known problems that solution has or it's only not enough marketing ?
If not Lagom than what you recommend ?
As a bit of a practise exercise I built a dependency injection container for python using types. It ended up looking half reasonable so I thought I'd publish it https://github.com/meadsteve/lagom . It currently targets python 3.7 and I'm interested to know what everyone thinks for this approach.