snake-guice


A simple, lightweight Python dependency injection framework based on google-guice

snake-guice is a simple, lightweight Python dependency injection framework based on google-guice. The Guice way of doing things is quite a bit different than the current breed of XML IoC containers.

This is experimental code. APIs will likely change and implementation will definitely change.

This documentation is a work in progress. For general information on the Guice concepts you may want to take a look at the google-guice project documentation. Just mentally translate the Java examples to Python. Most of the examples are extremely simple anyway. There are also a couple of great videos explaining the Guice concepts: 1. Java on Guice: Dependency Injection, the Java Way 1. Becoming More Guicy: Guice Intermediate Topics

snake-guice Documentation

  • User Guide

Project Information

Labels:
Python DependencyInjection InversionOfControl Testability UnitTesting IOC LooseCoupling Guice