"That Depends"
==
[](https://codecov.io/gh/modern-python/that-depends)
[](https://mypy.readthedocs.io/en/stable/getting_started.html#strict-mode-and-configuration)
[](https://pypi.python.org/pypi/that-depends)
[](https://pypistats.org/packages/that-depends)
[](https://github.com/modern-python/that-depends/stargazers)
Dependency injection framework for Python.
It is production-ready and gives you the following:
- Simple async-first DI framework with IOC-container.
- Python 3.10+ support.
- Full coverage by types annotations (mypy in strict mode).
- Inbuilt FastAPI, FastStream and LiteStar compatibility.
- Dependency context management with scopes.
- Overriding dependencies for tests.
- Injecting dependencies in functions and coroutines without wiring.
- Package with zero dependencies.
### Installation
```bash
pip install that-depends
```
## 📚 [Documentation](https://that-depends.readthedocs.io)
## 📦 [PyPi](https://pypi.org/project/that-depends)
## 📝 [License](LICENSE)
Raw data
{
"_id": null,
"home_page": null,
"name": "that-depends",
"maintainer": null,
"docs_url": null,
"requires_python": "<4,>=3.10",
"maintainer_email": null,
"keywords": "dependency injector, di, ioc-container, mocks, python",
"author": null,
"author_email": "Artur Shiriev <me@shiriev.ru>",
"download_url": "https://files.pythonhosted.org/packages/47/70/3f121bd26456c2c6e78cee23ef0f4254654a120cf423139a2e359905393d/that_depends-2.1.1.tar.gz",
"platform": null,
"description": "\"That Depends\"\n==\n[](https://codecov.io/gh/modern-python/that-depends)\n[](https://mypy.readthedocs.io/en/stable/getting_started.html#strict-mode-and-configuration)\n[](https://pypi.python.org/pypi/that-depends)\n[](https://pypistats.org/packages/that-depends)\n[](https://github.com/modern-python/that-depends/stargazers)\n\nDependency injection framework for Python.\n\nIt is production-ready and gives you the following:\n- Simple async-first DI framework with IOC-container.\n- Python 3.10+ support.\n- Full coverage by types annotations (mypy in strict mode).\n- Inbuilt FastAPI, FastStream and LiteStar compatibility.\n- Dependency context management with scopes.\n- Overriding dependencies for tests.\n- Injecting dependencies in functions and coroutines without wiring.\n- Package with zero dependencies.\n\n\n### Installation\n```bash\npip install that-depends\n```\n\n## \ud83d\udcda [Documentation](https://that-depends.readthedocs.io)\n\n## \ud83d\udce6 [PyPi](https://pypi.org/project/that-depends)\n\n## \ud83d\udcdd [License](LICENSE)\n",
"bugtrack_url": null,
"license": null,
"summary": "Simple Dependency Injection framework",
"version": "2.1.1",
"project_urls": {
"docs": "https://that-depends.readthedocs.io",
"repository": "https://github.com/modern-python/that-depends"
},
"split_keywords": [
"dependency injector",
" di",
" ioc-container",
" mocks",
" python"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "95cd2453fb653f6736b9f43de89d196d155f8f5eee554cdb3870f418ce50b730",
"md5": "b1bbeeb7d17cac2897537df265b53385",
"sha256": "de26548e5e332f39d8345fc8e4a9b491e9a708bf97108a8e18d4b36cdbc2bedf"
},
"downloads": -1,
"filename": "that_depends-2.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b1bbeeb7d17cac2897537df265b53385",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.10",
"size": 25873,
"upload_time": "2025-02-14T06:48:33",
"upload_time_iso_8601": "2025-02-14T06:48:33.419833Z",
"url": "https://files.pythonhosted.org/packages/95/cd/2453fb653f6736b9f43de89d196d155f8f5eee554cdb3870f418ce50b730/that_depends-2.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "47703f121bd26456c2c6e78cee23ef0f4254654a120cf423139a2e359905393d",
"md5": "b35893bfb471a34e6fce4f9bad23a500",
"sha256": "725c2d3c423761787c67d54d574e7b690f8808d926c61d47bac86e0bd1787418"
},
"downloads": -1,
"filename": "that_depends-2.1.1.tar.gz",
"has_sig": false,
"md5_digest": "b35893bfb471a34e6fce4f9bad23a500",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.10",
"size": 55764,
"upload_time": "2025-02-14T06:48:35",
"upload_time_iso_8601": "2025-02-14T06:48:35.165594Z",
"url": "https://files.pythonhosted.org/packages/47/70/3f121bd26456c2c6e78cee23ef0f4254654a120cf423139a2e359905393d/that_depends-2.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-14 06:48:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "modern-python",
"github_project": "that-depends",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "that-depends"
}