Top-rated recipes tagged "dependency"http://code.activestate.com/recipes/tags/dependency/top/2016-04-14T12:58:40-07:00ActiveState Code RecipesDependency resolution (Python)
2016-04-14T12:58:40-07:00Mike 'Fuzzy' Partinhttp://code.activestate.com/recipes/users/4179778/http://code.activestate.com/recipes/580642-dependency-resolution/
<p style="color: grey">
Python
recipe 580642
by <a href="/recipes/users/4179778/">Mike 'Fuzzy' Partin</a>
(<a href="/recipes/tags/compare/">compare</a>, <a href="/recipes/tags/dependency/">dependency</a>, <a href="/recipes/tags/sort/">sort</a>, <a href="/recipes/tags/sorting/">sorting</a>).
</p>
<p>This recipe shows how to take a list of objects, each with their own list of dependencies, and resolve them to proper order. It includes some poor mans circular dependency detection (very poor mans).</p>
Dependency resolver (Python)
2008-12-05T00:38:47-08:00Louis RIVIEREhttp://code.activestate.com/recipes/users/4035877/http://code.activestate.com/recipes/576570-dependency-resolver/
<p style="color: grey">
Python
recipe 576570
by <a href="/recipes/users/4035877/">Louis RIVIERE</a>
(<a href="/recipes/tags/algorithms/">algorithms</a>, <a href="/recipes/tags/dependency/">dependency</a>, <a href="/recipes/tags/resolver/">resolver</a>).
Revision 4.
</p>
<p>Shows the order in which "tasks" can be "done". <br />
Groups tasks that can be done simultaneously.</p>
Minimal Dependency Injection Container (Python)
2010-06-05T13:50:03-07:00Alan Franzonihttp://code.activestate.com/recipes/users/4169882/http://code.activestate.com/recipes/577254-minimal-dependency-injection-container/
<p style="color: grey">
Python
recipe 577254
by <a href="/recipes/users/4169882/">Alan Franzoni</a>
(<a href="/recipes/tags/container/">container</a>, <a href="/recipes/tags/control/">control</a>, <a href="/recipes/tags/dependency/">dependency</a>, <a href="/recipes/tags/di/">di</a>, <a href="/recipes/tags/dic/">dic</a>, <a href="/recipes/tags/injection/">injection</a>, <a href="/recipes/tags/inversion/">inversion</a>, <a href="/recipes/tags/ioc/">ioc</a>, <a href="/recipes/tags/iocc/">iocc</a>).
</p>
<p>An example of a minimal dependency injection ( aka Inversion of Control ) container for Python.</p>