anydi 0.33.1__tar.gz → 0.34.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. {anydi-0.33.1 → anydi-0.34.1}/PKG-INFO +2 -3
  2. {anydi-0.33.1 → anydi-0.34.1}/anydi/__init__.py +9 -3
  3. {anydi-0.33.1 → anydi-0.34.1}/anydi/_container.py +471 -76
  4. anydi-0.34.1/anydi/_context.py +84 -0
  5. {anydi-0.33.1 → anydi-0.34.1}/anydi/_provider.py +32 -4
  6. {anydi-0.33.1 → anydi-0.34.1}/anydi/_types.py +19 -3
  7. {anydi-0.33.1 → anydi-0.34.1}/anydi/_utils.py +49 -12
  8. {anydi-0.33.1 → anydi-0.34.1}/anydi/ext/django/middleware.py +4 -4
  9. {anydi-0.33.1 → anydi-0.34.1}/anydi/ext/starlette/middleware.py +2 -2
  10. {anydi-0.33.1 → anydi-0.34.1}/pyproject.toml +5 -6
  11. anydi-0.33.1/anydi/_context.py +0 -320
  12. anydi-0.33.1/anydi/_module.py +0 -94
  13. anydi-0.33.1/anydi/_scanner.py +0 -171
  14. {anydi-0.33.1 → anydi-0.34.1}/LICENSE +0 -0
  15. {anydi-0.33.1 → anydi-0.34.1}/README.md +0 -0
  16. {anydi-0.33.1 → anydi-0.34.1}/anydi/_logger.py +0 -0
  17. {anydi-0.33.1 → anydi-0.34.1}/anydi/ext/__init__.py +0 -0
  18. {anydi-0.33.1 → anydi-0.34.1}/anydi/ext/_utils.py +0 -0
  19. {anydi-0.33.1 → anydi-0.34.1}/anydi/ext/django/__init__.py +0 -0
  20. {anydi-0.33.1 → anydi-0.34.1}/anydi/ext/django/_container.py +0 -0
  21. {anydi-0.33.1 → anydi-0.34.1}/anydi/ext/django/_settings.py +0 -0
  22. {anydi-0.33.1 → anydi-0.34.1}/anydi/ext/django/_utils.py +0 -0
  23. {anydi-0.33.1 → anydi-0.34.1}/anydi/ext/django/apps.py +0 -0
  24. {anydi-0.33.1 → anydi-0.34.1}/anydi/ext/django/ninja/__init__.py +0 -0
  25. {anydi-0.33.1 → anydi-0.34.1}/anydi/ext/django/ninja/_operation.py +0 -0
  26. {anydi-0.33.1 → anydi-0.34.1}/anydi/ext/django/ninja/_signature.py +0 -0
  27. {anydi-0.33.1 → anydi-0.34.1}/anydi/ext/fastapi.py +0 -0
  28. {anydi-0.33.1 → anydi-0.34.1}/anydi/ext/faststream.py +0 -0
  29. {anydi-0.33.1 → anydi-0.34.1}/anydi/ext/pydantic_settings.py +0 -0
  30. {anydi-0.33.1 → anydi-0.34.1}/anydi/ext/pytest_plugin.py +0 -0
  31. {anydi-0.33.1 → anydi-0.34.1}/anydi/ext/starlette/__init__.py +0 -0
  32. {anydi-0.33.1 → anydi-0.34.1}/anydi/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: anydi
3
- Version: 0.33.1
3
+ Version: 0.34.1
4
4
  Summary: Dependency Injection library
5
5
  Home-page: https://github.com/antonrh/anydi
6
6
  License: MIT
@@ -28,9 +28,8 @@ Classifier: Topic :: Software Development :: Libraries
28
28
  Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
29
29
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
30
  Classifier: Typing :: Typed
31
- Provides-Extra: async
32
31
  Provides-Extra: docs
33
- Requires-Dist: anyio (>=3.6.2,<4.0.0) ; extra == "async"
32
+ Requires-Dist: anyio (>=3.7.1)
34
33
  Requires-Dist: mkdocs (>=1.4.2,<2.0.0) ; extra == "docs"
35
34
  Requires-Dist: mkdocs-material (>=9.5.29,<10.0.0) ; extra == "docs"
36
35
  Requires-Dist: typing-extensions (>=4.12.1,<5.0.0)
@@ -2,10 +2,16 @@
2
2
 
3
3
  from typing import Any, cast
4
4
 
5
- from ._container import Container, request, singleton, transient
6
- from ._module import Module, provider
5
+ from ._container import (
6
+ Container,
7
+ Module,
8
+ injectable,
9
+ provider,
10
+ request,
11
+ singleton,
12
+ transient,
13
+ )
7
14
  from ._provider import Provider
8
- from ._scanner import injectable
9
15
  from ._types import Marker, Scope
10
16
 
11
17
  # Alias for dependency auto marker