Skip to main content

Aglyph is a Dependency Injection framework for Python, supporting type 2 (setter) and type 3 (constructor) injection.

Project description

Aglyph runs on CPython (http://www.python.org/) 2.7 and 3.3+, 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), “borg” components (a new instance is created every time, but all instances of the same class share the same internal state), and “weakref” components (the same instance is returned as long as there is at least one “live” reference to the instance in the running application).

Aglyph can be configured using a declarative XML syntax, or programmatically in pure Python.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

Aglyph-2.1.1.zip (618.9 kB view hashes)

Uploaded Source

Aglyph-2.1.1.tar.gz (497.0 kB view hashes)

Uploaded Source

Built Distributions

Aglyph-2.1.1.win32.msi (172.0 kB view hashes)

Uploaded Source

Aglyph-2.1.1.win32.exe (187.1 kB view hashes)

Uploaded Source

Aglyph-2.1.1-py2.py3-none-any.whl (57.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page