anydi 0.24.3__py3-none-any.whl → 0.25.0__py3-none-any.whl

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/_container.py CHANGED
@@ -47,6 +47,7 @@ from ._utils import (
47
47
  get_full_qualname,
48
48
  get_typed_parameters,
49
49
  get_typed_return_annotation,
50
+ has_resource_origin,
50
51
  is_builtin_type,
51
52
  )
52
53
 
@@ -723,7 +724,9 @@ class Container:
723
724
  f"Missing `{get_full_qualname(obj)}` provider return annotation."
724
725
  )
725
726
 
726
- if get_origin(annotation) in (get_origin(Iterator), get_origin(AsyncIterator)):
727
+ origin = get_origin(annotation)
728
+
729
+ if has_resource_origin(origin):
727
730
  args = get_args(annotation)
728
731
  if args:
729
732
  return args[0]
anydi/_utils.py CHANGED
@@ -6,7 +6,7 @@ import builtins
6
6
  import functools
7
7
  import inspect
8
8
  import sys
9
- from typing import Any, Callable, ForwardRef, TypeVar, cast
9
+ from typing import Any, AsyncIterator, Callable, ForwardRef, Iterator, TypeVar, cast
10
10
 
11
11
  from typing_extensions import Annotated, ParamSpec, get_origin
12
12
 
@@ -96,6 +96,17 @@ def get_typed_parameters(obj: Callable[..., Any]) -> list[inspect.Parameter]:
96
96
  ]
97
97
 
98
98
 
99
+ _resource_origins = (
100
+ get_origin(Iterator),
101
+ get_origin(AsyncIterator),
102
+ )
103
+
104
+
105
+ def has_resource_origin(origin: Any) -> bool:
106
+ """Check if the given origin is a resource origin."""
107
+ return origin in _resource_origins
108
+
109
+
99
110
  async def run_async(
100
111
  func: Callable[P, T],
101
112
  /,
@@ -0,0 +1,9 @@
1
+ from ._container import container
2
+ from ._utils import inject_urlpatterns, register_components, register_settings
3
+
4
+ __all__ = [
5
+ "container",
6
+ "register_components",
7
+ "register_settings",
8
+ "inject_urlpatterns",
9
+ ]
@@ -0,0 +1,18 @@
1
+ from typing import cast
2
+
3
+ from django.apps.registry import apps
4
+ from django.utils.functional import SimpleLazyObject
5
+
6
+ import anydi
7
+
8
+ from .apps import ContainerConfig
9
+
10
+ __all__ = ["container"]
11
+
12
+
13
+ def _get_container() -> anydi.Container:
14
+ app_config = cast(ContainerConfig, apps.get_app_config(ContainerConfig.label))
15
+ return app_config.container
16
+
17
+
18
+ container = cast(anydi.Container, SimpleLazyObject(_get_container))
@@ -0,0 +1,39 @@
1
+ from __future__ import annotations
2
+
3
+ from typing import Sequence
4
+
5
+ from django.conf import settings
6
+ from typing_extensions import TypedDict
7
+
8
+
9
+ class Settings(TypedDict):
10
+ CONTAINER_FACTORY: str | None
11
+ STRICT_MODE: bool
12
+ REGISTER_SETTINGS: bool
13
+ REGISTER_COMPONENTS: bool
14
+ INJECT_URLCONF: str | None
15
+ MODULES: Sequence[str]
16
+ SCAN_PACKAGES: Sequence[str]
17
+ PATCH_NINJA: bool
18
+
19
+
20
+ DEFAULTS = Settings(
21
+ CONTAINER_FACTORY=None,
22
+ STRICT_MODE=False,
23
+ REGISTER_SETTINGS=False,
24
+ REGISTER_COMPONENTS=False,
25
+ MODULES=[],
26
+ PATCH_NINJA=False,
27
+ INJECT_URLCONF=None,
28
+ SCAN_PACKAGES=[],
29
+ )
30
+
31
+
32
+ def get_settings() -> Settings:
33
+ """Get the AnyDI settings from the Django settings."""
34
+ return Settings(
35
+ **{
36
+ **DEFAULTS,
37
+ **getattr(settings, "ANYDI", {}),
38
+ }
39
+ )
@@ -0,0 +1,111 @@
1
+ from __future__ import annotations
2
+
3
+ from collections.abc import Iterator
4
+ from functools import wraps
5
+ from typing import Any
6
+
7
+ from django.conf import settings
8
+ from django.core.cache import BaseCache, caches
9
+ from django.db import connections
10
+ from django.db.backends.base.base import BaseDatabaseWrapper
11
+ from django.urls import URLPattern, URLResolver, get_resolver
12
+ from typing_extensions import Annotated, get_origin
13
+
14
+ import anydi
15
+
16
+
17
+ def register_settings(
18
+ container: anydi.Container, prefix: str = "django.conf.setting."
19
+ ) -> None:
20
+ """Register Django settings into the container."""
21
+
22
+ def _get_setting_value(value: Any) -> Any:
23
+ return lambda: value
24
+
25
+ for setting_name in dir(settings):
26
+ setting_value = getattr(settings, setting_name)
27
+ if not setting_name.isupper():
28
+ continue
29
+
30
+ container.register(
31
+ Annotated[Any, f"{prefix}{setting_name}"],
32
+ _get_setting_value(setting_value),
33
+ scope="singleton",
34
+ )
35
+
36
+ def _resolve(resolve: Any) -> Any:
37
+ @wraps(resolve)
38
+ def wrapper(interface: Any) -> Any:
39
+ return resolve(_aware_settings(interface, prefix))
40
+
41
+ return wrapper
42
+
43
+ def _aresolve(resolve: Any) -> Any:
44
+ @wraps(resolve)
45
+ async def wrapper(interface: Any) -> Any:
46
+ return await resolve(_aware_settings(interface, prefix))
47
+
48
+ return wrapper
49
+
50
+ # Patch resolvers
51
+ container.resolve = _resolve(container.resolve) # type: ignore[method-assign] # noqa
52
+ container.aresolve = _aresolve(container.aresolve) # type: ignore[method-assign] # noqa
53
+
54
+
55
+ def _aware_settings(interface: Any, prefix: str) -> Any:
56
+ origin = get_origin(interface)
57
+ if origin is not Annotated:
58
+ return interface # pragma: no cover
59
+ named = interface.__metadata__[-1]
60
+
61
+ if isinstance(named, str) and named.startswith(prefix):
62
+ _, setting_name = named.rsplit(prefix, maxsplit=1)
63
+ return Annotated[Any, f"{prefix}{setting_name}"]
64
+ return interface
65
+
66
+
67
+ def register_components(container: anydi.Container) -> None:
68
+ """Register Django components into the container."""
69
+
70
+ # Register caches
71
+ def _get_cache(cache_name: str) -> Any:
72
+ return lambda: caches[cache_name]
73
+
74
+ for cache_name in caches:
75
+ container.register(
76
+ Annotated[BaseCache, cache_name],
77
+ _get_cache(cache_name),
78
+ scope="singleton",
79
+ )
80
+
81
+ # Register database connections
82
+ def _get_connection(alias: str) -> Any:
83
+ return lambda: connections[alias]
84
+
85
+ for alias in connections:
86
+ container.register(
87
+ Annotated[BaseDatabaseWrapper, alias],
88
+ _get_connection(alias),
89
+ scope="singleton",
90
+ )
91
+
92
+
93
+ def inject_urlpatterns(container: anydi.Container, *, urlconf: str) -> None:
94
+ """Auto-inject the container into views."""
95
+ resolver = get_resolver(urlconf)
96
+ for pattern in iter_urlpatterns(resolver.url_patterns):
97
+ # Skip django-ninja views
98
+ if pattern.lookup_str.startswith("ninja."):
99
+ continue # pragma: no cover
100
+ pattern.callback = container.inject(pattern.callback)
101
+
102
+
103
+ def iter_urlpatterns(
104
+ urlpatterns: list[URLPattern | URLResolver],
105
+ ) -> Iterator[URLPattern]:
106
+ """Iterate over all views in urlpatterns."""
107
+ for url_pattern in urlpatterns:
108
+ if isinstance(url_pattern, URLResolver):
109
+ yield from iter_urlpatterns(url_pattern.url_patterns)
110
+ else:
111
+ yield url_pattern
@@ -0,0 +1,82 @@
1
+ from __future__ import annotations
2
+
3
+ import logging
4
+ import types
5
+ from typing import Callable, cast
6
+
7
+ from django.apps import AppConfig
8
+ from django.conf import settings
9
+ from django.core.exceptions import ImproperlyConfigured
10
+ from django.utils.module_loading import import_string
11
+
12
+ import anydi
13
+
14
+ from ._settings import get_settings
15
+ from ._utils import inject_urlpatterns, register_components, register_settings
16
+
17
+ logger = logging.getLogger(__name__)
18
+
19
+
20
+ class ContainerConfig(AppConfig): # type: ignore[misc]
21
+ name = "anydi.ext.django"
22
+ label = "anydi_django"
23
+
24
+ def __init__(self, app_name: str, app_module: types.ModuleType | None) -> None:
25
+ super().__init__(app_name, app_module)
26
+ self.settings = get_settings()
27
+ # Create a container
28
+ container_factory_path = self.settings["CONTAINER_FACTORY"]
29
+ if container_factory_path:
30
+ try:
31
+ container_factory = cast(
32
+ Callable[[], anydi.Container], import_string(container_factory_path)
33
+ )
34
+ except ImportError as exc:
35
+ raise ImproperlyConfigured(
36
+ f"Cannot import container factory '{container_factory_path}'."
37
+ ) from exc
38
+ self.container = container_factory()
39
+ else:
40
+ self.container = anydi.Container(
41
+ strict=self.settings["STRICT_MODE"],
42
+ )
43
+
44
+ def ready(self) -> None: # noqa: C901
45
+ # Register Django settings
46
+ if self.settings["REGISTER_SETTINGS"]:
47
+ register_settings(
48
+ self.container,
49
+ prefix=getattr(
50
+ settings,
51
+ "ANYDI_SETTINGS_PREFIX",
52
+ "django.conf.settings.",
53
+ ),
54
+ )
55
+
56
+ # Register Django components
57
+ if self.settings["REGISTER_COMPONENTS"]:
58
+ register_components(self.container)
59
+
60
+ # Register modules
61
+ for module_path in self.settings["MODULES"]:
62
+ try:
63
+ module_cls = import_string(module_path)
64
+ except ImportError as exc:
65
+ raise ImproperlyConfigured(
66
+ f"Cannot import module '{module_path}'."
67
+ ) from exc
68
+ self.container.register_module(module_cls)
69
+
70
+ # Patching the django-ninja framework if it installed
71
+ if self.settings["PATCH_NINJA"]:
72
+ from .ninja import patch_ninja
73
+
74
+ patch_ninja()
75
+
76
+ # Auto-injecting the container into views
77
+ if urlconf := self.settings["INJECT_URLCONF"]:
78
+ inject_urlpatterns(self.container, urlconf=urlconf)
79
+
80
+ # Scan packages
81
+ for scan_package in self.settings["SCAN_PACKAGES"]:
82
+ self.container.scan(scan_package)
@@ -0,0 +1,26 @@
1
+ from typing import Callable
2
+
3
+ from asgiref.sync import iscoroutinefunction
4
+ from django.http import HttpRequest, HttpResponse
5
+ from django.utils.decorators import sync_and_async_middleware
6
+
7
+ from ._container import container
8
+
9
+
10
+ @sync_and_async_middleware # type: ignore[misc]
11
+ def request_scoped_middleware(
12
+ get_response: Callable[[HttpRequest], HttpResponse],
13
+ ) -> Callable[[HttpRequest], HttpResponse]:
14
+ if iscoroutinefunction(get_response):
15
+
16
+ async def async_middleware(request: HttpRequest) -> HttpResponse:
17
+ async with container.arequest_context():
18
+ return await get_response(request)
19
+
20
+ return async_middleware
21
+
22
+ def middleware(request: HttpRequest) -> HttpResponse:
23
+ with container.request_context():
24
+ return get_response(request)
25
+
26
+ return middleware
@@ -0,0 +1,16 @@
1
+ try:
2
+ from ninja import operation
3
+ except ImportError as exc: # pragma: no cover
4
+ raise ImportError(
5
+ "'django-ninja' is not installed. "
6
+ "Please install it using 'pip install django-ninja'."
7
+ ) from exc
8
+
9
+ from ._operation import AsyncOperation, Operation
10
+ from ._signature import ViewSignature
11
+
12
+
13
+ def patch_ninja() -> None:
14
+ operation.ViewSignature = ViewSignature # type: ignore[attr-defined]
15
+ operation.Operation = Operation # type: ignore[misc]
16
+ operation.AsyncOperation = AsyncOperation # type: ignore[misc]
@@ -0,0 +1,75 @@
1
+ from __future__ import annotations
2
+
3
+ from typing import Any
4
+
5
+ from django.http import HttpRequest, HttpResponseBase
6
+ from ninja.operation import (
7
+ AsyncOperation as BaseAsyncOperation, # noqa
8
+ Operation as BaseOperation,
9
+ )
10
+
11
+ from anydi.ext.django import container
12
+
13
+ from ._signature import ViewSignature
14
+
15
+
16
+ def _update_exc_args(exc: Exception) -> None:
17
+ if isinstance(exc, TypeError) and "required positional argument" in str(exc):
18
+ msg = "Did you fail to use functools.wraps() in a decorator?"
19
+ msg = f"{exc.args[0]}: {msg}" if exc.args else msg
20
+ exc.args = (msg,) + exc.args[1:]
21
+
22
+
23
+ class Operation(BaseOperation):
24
+ signature: ViewSignature
25
+
26
+ def __init__(self, *args: Any, **kwargs: Any) -> None:
27
+ super().__init__(*args, **kwargs)
28
+ self.dependencies = self.signature.dependencies
29
+
30
+ def run(self, request: HttpRequest, **kw: Any) -> HttpResponseBase:
31
+ error = self._run_checks(request)
32
+ if error:
33
+ return error
34
+ try:
35
+ temporal_response = self.api.create_temporal_response(request)
36
+ values = self._get_values(request, kw, temporal_response)
37
+ values.update(self._get_dependencies())
38
+ result = self.view_func(request, **values)
39
+ return self._result_to_response(request, result, temporal_response)
40
+ except Exception as e:
41
+ _update_exc_args(e)
42
+ return self.api.on_exception(request, e)
43
+
44
+ def _get_dependencies(self) -> dict[str, Any]:
45
+ return {
46
+ name: container.resolve(interface) for name, interface in self.dependencies
47
+ }
48
+
49
+
50
+ class AsyncOperation(BaseAsyncOperation):
51
+ signature: ViewSignature
52
+
53
+ def __init__(self, *args: Any, **kwargs: Any) -> None:
54
+ super().__init__(*args, **kwargs)
55
+ self.dependencies = self.signature.dependencies
56
+
57
+ async def run(self, request: HttpRequest, **kw: Any) -> HttpResponseBase: # type: ignore
58
+ error = await self._run_checks(request)
59
+ if error:
60
+ return error
61
+ try:
62
+ temporal_response = self.api.create_temporal_response(request)
63
+ values = self._get_values(request, kw, temporal_response)
64
+ values.update(await self._get_dependencies())
65
+ result = await self.view_func(request, **values)
66
+ return self._result_to_response(request, result, temporal_response)
67
+ except Exception as e:
68
+ _update_exc_args(e)
69
+ return self.api.on_exception(request, e)
70
+
71
+ async def _get_dependencies(self) -> dict[str, Any]:
72
+ return {
73
+ name: await container.aresolve(interface)
74
+ for name, interface in self.dependencies
75
+ }
@@ -0,0 +1,64 @@
1
+ from __future__ import annotations
2
+
3
+ import inspect
4
+ from collections.abc import Callable
5
+ from typing import Any
6
+
7
+ from django.http import HttpResponse
8
+ from ninja.signature.details import (
9
+ FuncParam, # noqa
10
+ ViewSignature as BaseViewSignature,
11
+ )
12
+ from ninja.signature.utils import get_path_param_names, get_typed_signature
13
+
14
+ from anydi._types import Marker # noqa
15
+
16
+
17
+ class ViewSignature(BaseViewSignature):
18
+ def __init__(self, path: str, view_func: Callable[..., Any]) -> None:
19
+ self.view_func = view_func
20
+ self.signature = get_typed_signature(self.view_func)
21
+ self.path = path
22
+ self.path_params_names = get_path_param_names(path)
23
+ self.docstring = inspect.cleandoc(view_func.__doc__ or "")
24
+ self.has_kwargs = False
25
+ self.dependencies = []
26
+
27
+ self.params = []
28
+ for name, arg in self.signature.parameters.items():
29
+ if name == "request":
30
+ # TODO: maybe better assert that 1st param is request or check by type?
31
+ # maybe even have attribute like `has_request`
32
+ # so that users can ignore passing request if not needed
33
+ continue
34
+
35
+ if arg.kind == arg.VAR_KEYWORD:
36
+ # Skipping **kwargs
37
+ self.has_kwargs = True
38
+ continue
39
+
40
+ if arg.kind == arg.VAR_POSITIONAL:
41
+ # Skipping *args
42
+ continue
43
+
44
+ if arg.annotation is HttpResponse:
45
+ self.response_arg = name
46
+ continue
47
+
48
+ # Skip default values that are anydi dependency markers
49
+ if isinstance(arg.default, Marker):
50
+ self.dependencies.append((name, arg.annotation))
51
+ continue
52
+
53
+ func_param = self._get_param_type(name, arg)
54
+ self.params.append(func_param)
55
+
56
+ if hasattr(view_func, "_ninja_contribute_args"):
57
+ for p_name, p_type, p_source in view_func._ninja_contribute_args: # noqa
58
+ self.params.append(
59
+ FuncParam(p_name, p_source.alias or p_name, p_source, p_type, False)
60
+ )
61
+
62
+ self.models = self._create_models()
63
+
64
+ self._validate_view_path_params()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: anydi
3
- Version: 0.24.3
3
+ Version: 0.25.0
4
4
  Summary: Dependency Injection library
5
5
  Home-page: https://github.com/antonrh/anydi
6
6
  License: MIT
@@ -139,3 +139,59 @@ def say_hello(message: str = Inject()) -> dict[str, str]:
139
139
  anydi.ext.fastapi.install(app, container)
140
140
  ```
141
141
 
142
+
143
+
144
+ ## Django Ninja Example
145
+
146
+ *container.py*
147
+
148
+ ```python
149
+ from anydi import Container
150
+
151
+
152
+ def get_container() -> Container:
153
+ container = Container()
154
+
155
+ @container.provider(scope="singleton")
156
+ def message() -> str:
157
+ return "Hello, World!"
158
+
159
+ return container
160
+ ```
161
+
162
+ *settings.py*
163
+
164
+ ```python
165
+ INSTALLED_APPS = [
166
+ ...
167
+ "anydi.ext.django",
168
+ ]
169
+
170
+ ANYDI = {
171
+ "CONTAINER_FACTORY": "myapp.container.get_container",
172
+ "PATCH_NINJA": True,
173
+ }
174
+ ```
175
+
176
+ *urls.py*
177
+
178
+ ```python
179
+ from django.http import HttpRequest
180
+ from django.urls import path
181
+ from ninja import NinjaAPI
182
+
183
+ from anydi import auto
184
+
185
+ api = NinjaAPI()
186
+
187
+
188
+ @api.get("/hello")
189
+ def say_hello(request: HttpRequest, message: str = auto) -> dict[str, str]:
190
+ return {"message": message}
191
+
192
+
193
+ urlpatterns = [
194
+ path("api/", api.urls),
195
+ ]
196
+ ```
197
+
@@ -0,0 +1,28 @@
1
+ anydi/__init__.py,sha256=aeaBp5vq09sG-e9sqqs9qpUtUIDNfOdFPrlAfE5Ku9E,584
2
+ anydi/_container.py,sha256=rZ0HgWFC7jJuZo7iLjMYnTm4utWBMOeiaPThz8a5sbY,27996
3
+ anydi/_context.py,sha256=k956mFE_pfPdU0fxOJ8YRHBZx7sU_ln8fheYNofbmSs,10215
4
+ anydi/_logger.py,sha256=UpubJUnW83kffFxkhUlObm2DmZX1Pjqoz9YFKS-JOPg,52
5
+ anydi/_module.py,sha256=E1TfLud_Af-MPB83PxIzHVA1jlDW2FGaRP_il1a6y3Y,3675
6
+ anydi/_scanner.py,sha256=cyEk-K2Q8ssZStq8GrxMeEcCuAZMw-RXrjlgWEevKCs,6667
7
+ anydi/_types.py,sha256=vQTrFjsYhlMxfo1nOFem05x2QUJMQkVh4ZaC7W0XZJY,3434
8
+ anydi/_utils.py,sha256=XHVNkd-__SKlWlyeGE2e1Yi-DBr4DPWzZOIVbTrQyMI,3692
9
+ anydi/ext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
+ anydi/ext/django/__init__.py,sha256=QI1IABCVgSDTUoh7M9WMECKXwB3xvh04HfQ9TOWw1Mk,223
11
+ anydi/ext/django/_container.py,sha256=cxVoYQG16WP0S_Yv4TnLwuaaT7NVEOhLWO-YdALJUb4,418
12
+ anydi/ext/django/_settings.py,sha256=uS2l3oaSjf2pxAHIAZKpB6bTwqnn8vaNPnlJssL-x_E,828
13
+ anydi/ext/django/_utils.py,sha256=1nB2FPTlchrX5z_VALMIeSYj_bmaFTKTEu6uyYcd7Hk,3491
14
+ anydi/ext/django/apps.py,sha256=hJuvCZVyaROO-hl46fle6O0bv9tX4dX_M8SJKjsvuT4,2761
15
+ anydi/ext/django/middleware.py,sha256=iVHWtE829khMY-BXbNNt0g2FrIApKprna7dCG9ObEis,823
16
+ anydi/ext/django/ninja/__init__.py,sha256=kW3grUgWp_nkWSG_-39ADHMrZLGNcj9TsJ9OW8iWWrk,546
17
+ anydi/ext/django/ninja/_operation.py,sha256=wSWa7D73XTVlOibmOciv2l6JHPe1ERZcXrqI8W-oO2w,2696
18
+ anydi/ext/django/ninja/_signature.py,sha256=xDKIkQ58WaiK4UHdbqUx0mb7vNM_fqES4tZzBUTauws,2213
19
+ anydi/ext/fastapi.py,sha256=kVUKVKtqCx1Nfnm1oh2BMyB0G7qQKPw6OGfxFlqUqtc,5305
20
+ anydi/ext/pytest_plugin.py,sha256=vtjQCwQ0_saG8qhYAYn2wQzXVrXfwXOEhJlTjGqtXA8,3999
21
+ anydi/ext/starlette/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
+ anydi/ext/starlette/middleware.py,sha256=Ni0BQaPjs_Ha6zcLZYYJ3-XkslTCnL9aCSa06rnRDMI,1139
23
+ anydi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
+ anydi-0.25.0.dist-info/LICENSE,sha256=V6rU8a8fv6o2jQ-7ODHs0XfDFimot8Q6Km6CylRIDTo,1069
25
+ anydi-0.25.0.dist-info/METADATA,sha256=rVRV-iLMPwVHEJTtXvA1LaH_fZNUSGYoDc1bzDYqAi8,5160
26
+ anydi-0.25.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
27
+ anydi-0.25.0.dist-info/entry_points.txt,sha256=GmQblwzxFg42zva1HyBYJJ7TvrTIcSAGBHmyi3bvsi4,42
28
+ anydi-0.25.0.dist-info/RECORD,,
@@ -1,19 +0,0 @@
1
- anydi/__init__.py,sha256=aeaBp5vq09sG-e9sqqs9qpUtUIDNfOdFPrlAfE5Ku9E,584
2
- anydi/_container.py,sha256=geBYRsvWECDuKJSAal84RjF88ZYf9_w4wxBUgOI3XWs,27978
3
- anydi/_context.py,sha256=k956mFE_pfPdU0fxOJ8YRHBZx7sU_ln8fheYNofbmSs,10215
4
- anydi/_logger.py,sha256=UpubJUnW83kffFxkhUlObm2DmZX1Pjqoz9YFKS-JOPg,52
5
- anydi/_module.py,sha256=E1TfLud_Af-MPB83PxIzHVA1jlDW2FGaRP_il1a6y3Y,3675
6
- anydi/_scanner.py,sha256=cyEk-K2Q8ssZStq8GrxMeEcCuAZMw-RXrjlgWEevKCs,6667
7
- anydi/_types.py,sha256=vQTrFjsYhlMxfo1nOFem05x2QUJMQkVh4ZaC7W0XZJY,3434
8
- anydi/_utils.py,sha256=xM5Lw4SNcUKL-9nA8arlhUeUveXFpvvY8cB9ZGV2h6g,3439
9
- anydi/ext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
- anydi/ext/fastapi.py,sha256=kVUKVKtqCx1Nfnm1oh2BMyB0G7qQKPw6OGfxFlqUqtc,5305
11
- anydi/ext/pytest_plugin.py,sha256=vtjQCwQ0_saG8qhYAYn2wQzXVrXfwXOEhJlTjGqtXA8,3999
12
- anydi/ext/starlette/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
- anydi/ext/starlette/middleware.py,sha256=Ni0BQaPjs_Ha6zcLZYYJ3-XkslTCnL9aCSa06rnRDMI,1139
14
- anydi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- anydi-0.24.3.dist-info/LICENSE,sha256=V6rU8a8fv6o2jQ-7ODHs0XfDFimot8Q6Km6CylRIDTo,1069
16
- anydi-0.24.3.dist-info/METADATA,sha256=NcsRJMFeKJAEWl6FERdpxutYYFfYYQhh5tGi39CvVKo,4371
17
- anydi-0.24.3.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
18
- anydi-0.24.3.dist-info/entry_points.txt,sha256=GmQblwzxFg42zva1HyBYJJ7TvrTIcSAGBHmyi3bvsi4,42
19
- anydi-0.24.3.dist-info/RECORD,,
File without changes