Top-rated recipes tagged "dependency_injection"http://code.activestate.com/recipes/tags/dependency_injection/top/2009-01-11T13:33:32-08:00ActiveState Code RecipesNon-invasive Dependency Injection (Python)
2009-01-11T13:33:32-08:00Ivo Danihelkahttp://code.activestate.com/recipes/users/4168810/http://code.activestate.com/recipes/576609-non-invasive-dependency-injection/
<p style="color: grey">
Python
recipe 576609
by <a href="/recipes/users/4168810/">Ivo Danihelka</a>
(<a href="/recipes/tags/dependency_injection/">dependency_injection</a>, <a href="/recipes/tags/oop/">oop</a>, <a href="/recipes/tags/spring/">spring</a>).
Revision 13.
</p>
<p>A Dependency Injection Container that works with normal classes.
It fills given constructors or factory methods
based on their named arguments.</p>