├── .github └── workflows │ └── python-app.yml ├── .gitignore ├── AUTHORS.md ├── LICENSE ├── MANIFEST.in ├── README.md ├── docs ├── Makefile ├── api.rst ├── conf.py ├── exceptions.rst ├── guide.rst ├── index.rst ├── make.bat ├── profiles.rst └── scopes.rst ├── haps ├── __init__.py ├── application.py ├── config.py ├── container.py ├── exceptions.py └── scopes │ ├── __init__.py │ ├── instance.py │ ├── singleton.py │ └── thread.py ├── readthedocs.yml ├── requirements.test.txt ├── samples ├── __init__.py ├── app_ep.py ├── autodiscover │ ├── __init__.py │ ├── sample.py │ └── services │ │ ├── __init__.py │ │ ├── bases.py │ │ ├── deep │ │ ├── __init__.py │ │ └── implementation │ │ │ ├── __init__.py │ │ │ └── extra_pump.py │ │ └── implementations.py ├── instance_properties.py ├── simple.py └── thread_scope.py ├── setup.cfg ├── setup.py └── tests ├── conftest.py ├── test_application_runner.py ├── test_configuration.py ├── test_di_container.py ├── test_instance_scope.py ├── test_singleton_scope.py └── test_thread_scope.py /.github/workflows/python-app.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/.github/workflows/python-app.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/.gitignore -------------------------------------------------------------------------------- /AUTHORS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/AUTHORS.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include README.md 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/README.md -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/api.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/docs/api.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/exceptions.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/docs/exceptions.rst -------------------------------------------------------------------------------- /docs/guide.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/docs/guide.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/profiles.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/docs/profiles.rst -------------------------------------------------------------------------------- /docs/scopes.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/docs/scopes.rst -------------------------------------------------------------------------------- /haps/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/haps/__init__.py -------------------------------------------------------------------------------- /haps/application.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/haps/application.py -------------------------------------------------------------------------------- /haps/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/haps/config.py -------------------------------------------------------------------------------- /haps/container.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/haps/container.py -------------------------------------------------------------------------------- /haps/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/haps/exceptions.py -------------------------------------------------------------------------------- /haps/scopes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/haps/scopes/__init__.py -------------------------------------------------------------------------------- /haps/scopes/instance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/haps/scopes/instance.py -------------------------------------------------------------------------------- /haps/scopes/singleton.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/haps/scopes/singleton.py -------------------------------------------------------------------------------- /haps/scopes/thread.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/haps/scopes/thread.py -------------------------------------------------------------------------------- /readthedocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/readthedocs.yml -------------------------------------------------------------------------------- /requirements.test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/requirements.test.txt -------------------------------------------------------------------------------- /samples/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /samples/app_ep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/samples/app_ep.py -------------------------------------------------------------------------------- /samples/autodiscover/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /samples/autodiscover/sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/samples/autodiscover/sample.py -------------------------------------------------------------------------------- /samples/autodiscover/services/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /samples/autodiscover/services/bases.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/samples/autodiscover/services/bases.py -------------------------------------------------------------------------------- /samples/autodiscover/services/deep/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /samples/autodiscover/services/deep/implementation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /samples/autodiscover/services/deep/implementation/extra_pump.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/samples/autodiscover/services/deep/implementation/extra_pump.py -------------------------------------------------------------------------------- /samples/autodiscover/services/implementations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/samples/autodiscover/services/implementations.py -------------------------------------------------------------------------------- /samples/instance_properties.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/samples/instance_properties.py -------------------------------------------------------------------------------- /samples/simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/samples/simple.py -------------------------------------------------------------------------------- /samples/thread_scope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/samples/thread_scope.py -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/setup.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test_application_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/tests/test_application_runner.py -------------------------------------------------------------------------------- /tests/test_configuration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/tests/test_configuration.py -------------------------------------------------------------------------------- /tests/test_di_container.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/tests/test_di_container.py -------------------------------------------------------------------------------- /tests/test_instance_scope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/tests/test_instance_scope.py -------------------------------------------------------------------------------- /tests/test_singleton_scope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/tests/test_singleton_scope.py -------------------------------------------------------------------------------- /tests/test_thread_scope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekiro/haps/HEAD/tests/test_thread_scope.py --------------------------------------------------------------------------------