2015-03-30 00:46:48 +03:00
|
|
|
"""Objects.
|
|
|
|
|
|
|
|
Dependency management tool for Python projects.
|
|
|
|
"""
|
2015-01-04 16:54:25 +03:00
|
|
|
|
2015-03-23 02:04:18 +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
|
2015-03-10 12:51:13 +03:00
|
|
|
from .providers import NewInstance
|
|
|
|
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
|
|
|
|
2015-03-23 02:04:18 +03:00
|
|
|
from .injections import KwArg
|
2015-03-10 12:51:13 +03:00
|
|
|
from .injections import Attribute
|
|
|
|
from .injections import Method
|
|
|
|
|
2015-04-14 23:17:53 +03:00
|
|
|
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',
|
2015-03-10 12:51:13 +03:00
|
|
|
'NewInstance',
|
|
|
|
'Singleton',
|
|
|
|
'ExternalDependency',
|
|
|
|
'Class',
|
|
|
|
'Object',
|
|
|
|
'Function',
|
|
|
|
'Value',
|
|
|
|
'Callable',
|
|
|
|
'Config',
|
2015-01-10 12:24:25 +03:00
|
|
|
|
|
|
|
# Injections
|
2015-03-23 02:04:18 +03:00
|
|
|
'KwArg',
|
2015-03-10 12:51:13 +03:00
|
|
|
'Attribute',
|
2015-03-14 01:02:01 +03:00
|
|
|
'Method',
|
|
|
|
|
2015-04-14 23:17:53 +03:00
|
|
|
# Decorators
|
|
|
|
'override',
|
|
|
|
'inject',
|
|
|
|
|
2015-03-14 01:02:01 +03:00
|
|
|
# Errors
|
|
|
|
'Error')
|