anydi 0.34.0__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.
- {anydi-0.34.0 → anydi-0.34.1}/PKG-INFO +2 -2
- {anydi-0.34.0 → anydi-0.34.1}/anydi/__init__.py +9 -3
- {anydi-0.34.0 → anydi-0.34.1}/anydi/_container.py +466 -82
- anydi-0.34.1/anydi/_context.py +84 -0
- {anydi-0.34.0 → anydi-0.34.1}/anydi/_provider.py +32 -4
- {anydi-0.34.0 → anydi-0.34.1}/anydi/_types.py +19 -3
- {anydi-0.34.0 → anydi-0.34.1}/anydi/ext/django/middleware.py +4 -4
- {anydi-0.34.0 → anydi-0.34.1}/anydi/ext/starlette/middleware.py +2 -2
- {anydi-0.34.0 → anydi-0.34.1}/pyproject.toml +2 -2
- anydi-0.34.0/anydi/_context.py +0 -323
- anydi-0.34.0/anydi/_module.py +0 -94
- anydi-0.34.0/anydi/_scanner.py +0 -171
- {anydi-0.34.0 → anydi-0.34.1}/LICENSE +0 -0
- {anydi-0.34.0 → anydi-0.34.1}/README.md +0 -0
- {anydi-0.34.0 → anydi-0.34.1}/anydi/_logger.py +0 -0
- {anydi-0.34.0 → anydi-0.34.1}/anydi/_utils.py +0 -0
- {anydi-0.34.0 → anydi-0.34.1}/anydi/ext/__init__.py +0 -0
- {anydi-0.34.0 → anydi-0.34.1}/anydi/ext/_utils.py +0 -0
- {anydi-0.34.0 → anydi-0.34.1}/anydi/ext/django/__init__.py +0 -0
- {anydi-0.34.0 → anydi-0.34.1}/anydi/ext/django/_container.py +0 -0
- {anydi-0.34.0 → anydi-0.34.1}/anydi/ext/django/_settings.py +0 -0
- {anydi-0.34.0 → anydi-0.34.1}/anydi/ext/django/_utils.py +0 -0
- {anydi-0.34.0 → anydi-0.34.1}/anydi/ext/django/apps.py +0 -0
- {anydi-0.34.0 → anydi-0.34.1}/anydi/ext/django/ninja/__init__.py +0 -0
- {anydi-0.34.0 → anydi-0.34.1}/anydi/ext/django/ninja/_operation.py +0 -0
- {anydi-0.34.0 → anydi-0.34.1}/anydi/ext/django/ninja/_signature.py +0 -0
- {anydi-0.34.0 → anydi-0.34.1}/anydi/ext/fastapi.py +0 -0
- {anydi-0.34.0 → anydi-0.34.1}/anydi/ext/faststream.py +0 -0
- {anydi-0.34.0 → anydi-0.34.1}/anydi/ext/pydantic_settings.py +0 -0
- {anydi-0.34.0 → anydi-0.34.1}/anydi/ext/pytest_plugin.py +0 -0
- {anydi-0.34.0 → anydi-0.34.1}/anydi/ext/starlette/__init__.py +0 -0
- {anydi-0.34.0 → 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.34.
|
|
3
|
+
Version: 0.34.1
|
|
4
4
|
Summary: Dependency Injection library
|
|
5
5
|
Home-page: https://github.com/antonrh/anydi
|
|
6
6
|
License: MIT
|
|
@@ -29,7 +29,7 @@ Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
|
29
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
30
30
|
Classifier: Typing :: Typed
|
|
31
31
|
Provides-Extra: docs
|
|
32
|
-
Requires-Dist: anyio (>=3.
|
|
32
|
+
Requires-Dist: anyio (>=3.7.1)
|
|
33
33
|
Requires-Dist: mkdocs (>=1.4.2,<2.0.0) ; extra == "docs"
|
|
34
34
|
Requires-Dist: mkdocs-material (>=9.5.29,<10.0.0) ; extra == "docs"
|
|
35
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
|
|
6
|
-
|
|
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
|