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

Aglyph runs on CPython (http://www.python.org/) 2.7 and 3.4+, 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 using a fluent API.

Features

  • supports templates (i.e. component inheritance) and lifecycle methods
  • works with any kind of object creation pattern you'll encounter (constructor, factory function/method, attribute/property access, import)
  • non-intrusive wiring style (no decorators, naming conventions, or any other syntactic "magic" needed)
  • if it can be imported, it can be injected (even 3rd party libs, Java/.NET classes)
  • fully logged and traced

Project Activity

See All Activity >

Categories

Frameworks, Libraries

License

MIT License

Follow Aglyph

Aglyph Web Site

You Might Also Like
RMM Software | Remote Monitoring Platform and Tools Icon
RMM Software | Remote Monitoring Platform and Tools

Best-in-class automation, scalability, and single-pane IT management.

Don’t settle when it comes to managing your clients’ IT infrastructure. Exceed their expectations with ConnectWise RMM, our MSP RMM software that provides proactive tools and NOC services—regardless of device environment. With the number of new vulnerabilities rising each year, smart patching procedures have never been more important. We automatically test and deploy patches when they are viable and restrict patches that are harmful. Get better protection for clients while you spend less time managing endpoints and more time growing your business. It’s tough to locate, afford, and retain quality talent. In fact, 81% of IT leaders say it’s hard to find the recruits they need. Add ConnectWise RMM, NOC services and get the expertise and problem resolution you need to become the advisor your clients demand—without adding headcount.
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
2
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • Aglyph is perfect! Thanks.
    1 user found this review helpful.
  • Good work:)
Read more reviews >

Additional Project Details

Intended Audience

Developers, Architects

Programming Language

Python

Related Categories

Python Frameworks, Python Libraries

Registered

2006-04-05