File: //lib/python2.7/site-packages/di-0.3-py2.7.egg-info/PKG-INFO
Metadata-Version: 1.1
Name: di
Version: 0.3
Summary: Python module which provides decorators to make dependency injection easy to use.
Home-page: http://fedorapeople.org/cgit/msivak/public_git/python-di.git/
Author: Martin Sivak
Author-email: msivak@redhat.com
License: GPLv2+
Description: Dependency injection framework for Python
DI_ENABLE - module variable to enable/disable
the whole DI mechanism (default: True)
@inject - decorator for classes, function or methods
that prepares the injections and executes
then when the decorated function or method
is called.
When used on a class it only prepares the
structures and instance methods that use DI
must be decorated by @usesclassinject
@usesclassinject - this marks an instance method which
should use DI prepared by @inject
on a class level
Known issues and limitations:
- it is not able to redefine a variable name which is
also provided by closure (closure one has priority)
- decorated class shares it's DI dictionary between
all it's instances
Keywords: testing dependency injection IoC
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Testing
Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)