python-dependency-injector/objects/__init__.py

56 lines
1.1 KiB
Python
Raw Normal View History

2015-03-30 00:46:48 +03:00
"""Objects.
Dependency management tool for Python projects.
"""
2015-01-04 16:54:25 +03:00
from .catalog import AbstractCatalog
2015-01-04 16:54:25 +03:00
2015-03-10 12:51:13 +03:00
from .providers import Provider
2015-03-14 01:02:01 +03:00
from .providers import Delegate
from .providers import Factory
2015-03-10 12:51:13 +03:00
from .providers import Singleton
from .providers import ExternalDependency
from .providers import Class
from .providers import Object
from .providers import Function
from .providers import Value
from .providers import Callable
from .providers import Config
2015-01-04 16:54:25 +03:00
from .injections import KwArg
2015-03-10 12:51:13 +03:00
from .injections import Attribute
from .injections import Method
from .decorators import override
from .decorators import inject
2015-03-14 01:02:01 +03:00
from .errors import Error
2015-03-10 12:51:13 +03:00
__all__ = ('AbstractCatalog',
2015-01-10 12:24:25 +03:00
# Providers
2015-03-10 12:51:13 +03:00
'Provider',
2015-03-14 01:02:01 +03:00
'Delegate',
'Factory',
2015-03-10 12:51:13 +03:00
'Singleton',
'ExternalDependency',
'Class',
'Object',
'Function',
'Value',
'Callable',
'Config',
2015-01-10 12:24:25 +03:00
# Injections
'KwArg',
2015-03-10 12:51:13 +03:00
'Attribute',
2015-03-14 01:02:01 +03:00
'Method',
# Decorators
'override',
'inject',
2015-03-14 01:02:01 +03:00
# Errors
'Error')