Aglyph is a Dependency Injection framework for Python 2.5+, supporting type 2 (setter) and type 3 (constructor) injection.
Project description
Aglyph is a Dependency Injection framework for Python 2.5+, supporting type 2 (setter) and type 3 (constructor) injection.
Aglyph runs on CPython (http://www.python.org/) 2.5, 2.6, 2.7, 3.0, 3.1, and 3.2; and on recent versions of the PyPy (http://pypy.org/>), Jython (http://www.jython.org/), IronPython (http://ironpython.net/), and Stackless Python (http://www.stackless.com/) variants.
Aglyph can assemble “prototype” components (a new instance is created every time), “singleton” components (the same instance is returned every time), and “borg” components (a new instance is created every time, but all instances of the same class share the same internal state).
Aglyph can be configured using a declarative XML syntax, or programmatically in pure Python.
Aglyph is not a “full stack;” only dependency injection support is provided.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.