fastapi-injected 0.1.4__tar.gz → 0.2.0__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.
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/PKG-INFO +56 -1
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/README.md +55 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/fastapi_injected/__init__.py +8 -0
- fastapi_injected-0.2.0/fastapi_injected/_deps_tp.py +60 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/fastapi_injected/deps.py +20 -5
- fastapi_injected-0.2.0/fastapi_injected/overrides.py +106 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/fastapi_injected/scope.py +0 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/fastapi_injected/types.py +8 -2
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/pyproject.toml +2 -1
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/tests/deps.py +10 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/uv.lock +57 -55
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/.github/dependabot.yml +0 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/.github/workflows/automerge.yml +0 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/.github/workflows/lint.yml +0 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/.github/workflows/publish.yml +0 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/.github/workflows/test.yml +0 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/.gitignore +0 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/.pre-commit-config.yaml +0 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/LICENSE +0 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/fastapi_injected/_fastapi_lifecycle.py +0 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/fastapi_injected/inject.py +0 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/fastapi_injected/resolve.py +0 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/fastapi_injected/sign.py +0 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/tests/__init__.py +0 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/tests/ext/__init__.py +0 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/tests/ext/test_pydantic_ai.py +0 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/tests/test_fastapi.py +0 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/tests/test_inject.py +0 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/tests/test_resolve.py +0 -0
- {fastapi_injected-0.1.4 → fastapi_injected-0.2.0}/tests/test_typing.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fastapi-injected
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: Yet another library to reuse fastapi dependency injection
|
|
5
5
|
Project-URL: Repository, https://github.com/uriyyo/fastapi-injected
|
|
6
6
|
Author-email: Yurii Karabas <1998uriyyo@gmail.com>
|
|
@@ -116,6 +116,61 @@ async with push_inject_scope():
|
|
|
116
116
|
|
|
117
117
|
Use `@inject(new_scope=True)` to opt a function out of the surrounding scope and always get fresh dependencies.
|
|
118
118
|
|
|
119
|
+
### Overriding dependencies
|
|
120
|
+
|
|
121
|
+
`push_overrides` swaps dependencies out for the duration of a `with` block — handy in tests, or anywhere you need to run the same code against a different implementation:
|
|
122
|
+
|
|
123
|
+
```python
|
|
124
|
+
from fastapi_injected import push_overrides
|
|
125
|
+
|
|
126
|
+
with push_overrides({Session: Session(closed=True)}):
|
|
127
|
+
await handler() # gets the override instead of the real dependency
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
A key can be the dependency itself, or the annotation you wrote in the signature — `Dep[Session]` and `DepFactory[Session, session_dep]` both work and are normalized to the same underlying dependency:
|
|
131
|
+
|
|
132
|
+
```python
|
|
133
|
+
with push_overrides({DepFactory[Session, session_dep]: my_session}):
|
|
134
|
+
...
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
Values are used as-is, but two wrappers make the intent explicit and cover the ambiguous cases:
|
|
138
|
+
|
|
139
|
+
- `ValueOverride(value)` — always inject `value`, even when it is itself callable.
|
|
140
|
+
- `FactoryOverride(factory)` — call `factory` to produce the value. Sync, async, and generator factories are all supported, with the same teardown semantics as regular dependencies.
|
|
141
|
+
|
|
142
|
+
```python
|
|
143
|
+
from fastapi_injected import FactoryOverride, ValueOverride
|
|
144
|
+
|
|
145
|
+
with push_overrides(
|
|
146
|
+
{
|
|
147
|
+
Session: ValueOverride(fake_session),
|
|
148
|
+
Repository: FactoryOverride(lambda: FakeRepository()),
|
|
149
|
+
},
|
|
150
|
+
):
|
|
151
|
+
...
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
Overrides apply to the whole graph, not just top-level parameters — overriding a nested dependency changes what its dependents receive. Nested `push_overrides` blocks merge, with the innermost one winning.
|
|
155
|
+
|
|
156
|
+
Because the surrounding scope caches resolved dependencies, an override pushed after something has already been built would silently have no effect. To catch that, `push_overrides` raises `NonFreshScopeError` if the current scope already holds cached dependencies. Pass `require_fresh_scope=False` if you know what you are doing and want the override to apply only to what has not been resolved yet:
|
|
157
|
+
|
|
158
|
+
```python
|
|
159
|
+
async with push_inject_scope():
|
|
160
|
+
await handler() # dependencies cached here
|
|
161
|
+
|
|
162
|
+
with push_overrides({Session: fake}): # raises NonFreshScopeError
|
|
163
|
+
...
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### Inspecting annotations
|
|
167
|
+
|
|
168
|
+
A few helpers are exported for code that needs to reason about `Dep[...]` annotations — building override maps, custom decorators, and the like:
|
|
169
|
+
|
|
170
|
+
- `is_dep(tp)` — whether `tp` is a `Dep`/`DepFactory` annotation.
|
|
171
|
+
- `unwrap_dep_tp(tp)` — the annotated type (`Any` for a bare `Dep`).
|
|
172
|
+
- `unwrap_dep_dependency(tp)` — the callable that resolves it: the factory for `DepFactory[T, factory]`, the type itself for `Dep[T]`.
|
|
173
|
+
|
|
119
174
|
### FastAPI request integration
|
|
120
175
|
|
|
121
176
|
Inside a FastAPI app, `@inject`-ed functions and `resolve` can share the request's own dependency cache — the same instances FastAPI built for the handler. Register `init_inject_scope` as a dependency:
|
|
@@ -96,6 +96,61 @@ async with push_inject_scope():
|
|
|
96
96
|
|
|
97
97
|
Use `@inject(new_scope=True)` to opt a function out of the surrounding scope and always get fresh dependencies.
|
|
98
98
|
|
|
99
|
+
### Overriding dependencies
|
|
100
|
+
|
|
101
|
+
`push_overrides` swaps dependencies out for the duration of a `with` block — handy in tests, or anywhere you need to run the same code against a different implementation:
|
|
102
|
+
|
|
103
|
+
```python
|
|
104
|
+
from fastapi_injected import push_overrides
|
|
105
|
+
|
|
106
|
+
with push_overrides({Session: Session(closed=True)}):
|
|
107
|
+
await handler() # gets the override instead of the real dependency
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
A key can be the dependency itself, or the annotation you wrote in the signature — `Dep[Session]` and `DepFactory[Session, session_dep]` both work and are normalized to the same underlying dependency:
|
|
111
|
+
|
|
112
|
+
```python
|
|
113
|
+
with push_overrides({DepFactory[Session, session_dep]: my_session}):
|
|
114
|
+
...
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Values are used as-is, but two wrappers make the intent explicit and cover the ambiguous cases:
|
|
118
|
+
|
|
119
|
+
- `ValueOverride(value)` — always inject `value`, even when it is itself callable.
|
|
120
|
+
- `FactoryOverride(factory)` — call `factory` to produce the value. Sync, async, and generator factories are all supported, with the same teardown semantics as regular dependencies.
|
|
121
|
+
|
|
122
|
+
```python
|
|
123
|
+
from fastapi_injected import FactoryOverride, ValueOverride
|
|
124
|
+
|
|
125
|
+
with push_overrides(
|
|
126
|
+
{
|
|
127
|
+
Session: ValueOverride(fake_session),
|
|
128
|
+
Repository: FactoryOverride(lambda: FakeRepository()),
|
|
129
|
+
},
|
|
130
|
+
):
|
|
131
|
+
...
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
Overrides apply to the whole graph, not just top-level parameters — overriding a nested dependency changes what its dependents receive. Nested `push_overrides` blocks merge, with the innermost one winning.
|
|
135
|
+
|
|
136
|
+
Because the surrounding scope caches resolved dependencies, an override pushed after something has already been built would silently have no effect. To catch that, `push_overrides` raises `NonFreshScopeError` if the current scope already holds cached dependencies. Pass `require_fresh_scope=False` if you know what you are doing and want the override to apply only to what has not been resolved yet:
|
|
137
|
+
|
|
138
|
+
```python
|
|
139
|
+
async with push_inject_scope():
|
|
140
|
+
await handler() # dependencies cached here
|
|
141
|
+
|
|
142
|
+
with push_overrides({Session: fake}): # raises NonFreshScopeError
|
|
143
|
+
...
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Inspecting annotations
|
|
147
|
+
|
|
148
|
+
A few helpers are exported for code that needs to reason about `Dep[...]` annotations — building override maps, custom decorators, and the like:
|
|
149
|
+
|
|
150
|
+
- `is_dep(tp)` — whether `tp` is a `Dep`/`DepFactory` annotation.
|
|
151
|
+
- `unwrap_dep_tp(tp)` — the annotated type (`Any` for a bare `Dep`).
|
|
152
|
+
- `unwrap_dep_dependency(tp)` — the callable that resolves it: the factory for `DepFactory[T, factory]`, the type itself for `Dep[T]`.
|
|
153
|
+
|
|
99
154
|
### FastAPI request integration
|
|
100
155
|
|
|
101
156
|
Inside a FastAPI app, `@inject`-ed functions and `resolve` can share the request's own dependency cache — the same instances FastAPI built for the handler. Register `init_inject_scope` as a dependency:
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
from ._deps_tp import is_dep, unwrap_dep_dependency, unwrap_dep_tp
|
|
1
2
|
from ._fastapi_lifecycle import init_inject_scope
|
|
2
3
|
from .inject import inject
|
|
4
|
+
from .overrides import FactoryOverride, ValueOverride, push_overrides
|
|
3
5
|
from .resolve import resolve
|
|
4
6
|
from .scope import push_inject_scope
|
|
5
7
|
from .types import Dep, DepFactory, Injected
|
|
@@ -7,9 +9,15 @@ from .types import Dep, DepFactory, Injected
|
|
|
7
9
|
__all__ = [
|
|
8
10
|
"Dep",
|
|
9
11
|
"DepFactory",
|
|
12
|
+
"FactoryOverride",
|
|
10
13
|
"Injected",
|
|
14
|
+
"ValueOverride",
|
|
11
15
|
"init_inject_scope",
|
|
12
16
|
"inject",
|
|
17
|
+
"is_dep",
|
|
13
18
|
"push_inject_scope",
|
|
19
|
+
"push_overrides",
|
|
14
20
|
"resolve",
|
|
21
|
+
"unwrap_dep_dependency",
|
|
22
|
+
"unwrap_dep_tp",
|
|
15
23
|
]
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
from typing import Annotated, Any, TypeAliasType, TypeVar, get_args, get_origin
|
|
2
|
+
|
|
3
|
+
from fastapi.params import Depends
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def _unwrap_tp(tp: Any) -> Any:
|
|
7
|
+
if isinstance(tp, TypeAliasType):
|
|
8
|
+
return tp.__value__
|
|
9
|
+
|
|
10
|
+
return tp
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _get_annotated_metadata(tp: Any) -> tuple[Any, ...]:
|
|
14
|
+
if get_origin(tp) is Annotated:
|
|
15
|
+
return get_args(tp)[1:]
|
|
16
|
+
|
|
17
|
+
return ()
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def is_dep(tp: Any) -> bool:
|
|
21
|
+
tp = _unwrap_tp(tp)
|
|
22
|
+
|
|
23
|
+
return any(isinstance(tp, Depends) for tp in _get_annotated_metadata(tp))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def _enforce_dep(tp: Any) -> Any:
|
|
27
|
+
tp = _unwrap_tp(tp)
|
|
28
|
+
|
|
29
|
+
if not is_dep(tp):
|
|
30
|
+
msg = f"Expected a Dep, got {tp!r}"
|
|
31
|
+
raise TypeError(msg)
|
|
32
|
+
|
|
33
|
+
return tp
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
def unwrap_dep_tp(obj: Any, /) -> Any:
|
|
37
|
+
obj = _enforce_dep(obj)
|
|
38
|
+
|
|
39
|
+
match get_args(obj)[0]:
|
|
40
|
+
case TypeVar(): # bare `Dep`, used without a type argument
|
|
41
|
+
return Any
|
|
42
|
+
case tp:
|
|
43
|
+
return tp
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def unwrap_dep_dependency(obj: Any, /) -> Any:
|
|
47
|
+
obj = _enforce_dep(obj)
|
|
48
|
+
tp, *metadatas = get_args(obj)
|
|
49
|
+
for metadata in metadatas:
|
|
50
|
+
if isinstance(metadata, Depends) and metadata.dependency is not None:
|
|
51
|
+
return metadata.dependency
|
|
52
|
+
|
|
53
|
+
return tp
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
__all__ = [
|
|
57
|
+
"is_dep",
|
|
58
|
+
"unwrap_dep_dependency",
|
|
59
|
+
"unwrap_dep_tp",
|
|
60
|
+
]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import inspect
|
|
2
|
-
from collections.abc import Callable
|
|
3
|
-
from contextlib import AsyncExitStack
|
|
4
|
-
from contextvars import ContextVar
|
|
2
|
+
from collections.abc import Callable, Iterator
|
|
3
|
+
from contextlib import AbstractContextManager, AsyncExitStack, contextmanager
|
|
4
|
+
from contextvars import ContextVar, Token
|
|
5
5
|
from copy import copy
|
|
6
6
|
from functools import lru_cache, wraps
|
|
7
7
|
from typing import Annotated, Any, Literal, cast, overload
|
|
@@ -108,12 +108,27 @@ _dependency_override_provider: ContextVar[Any] = ContextVar(
|
|
|
108
108
|
)
|
|
109
109
|
|
|
110
110
|
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
@contextmanager
|
|
112
|
+
def _reset_token(var: ContextVar[Any], token: Token[Any]) -> Iterator[None]:
|
|
113
|
+
try:
|
|
114
|
+
yield
|
|
115
|
+
finally:
|
|
116
|
+
var.reset(token)
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
def set_inject_dependency_override_provider(provider: Any, /) -> AbstractContextManager[None]:
|
|
120
|
+
token = _dependency_override_provider.set(provider)
|
|
121
|
+
|
|
122
|
+
return _reset_token(_dependency_override_provider, token)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
def get_inject_dependency_override_provider() -> Any | None:
|
|
126
|
+
return _dependency_override_provider.get()
|
|
113
127
|
|
|
114
128
|
|
|
115
129
|
__all__ = [
|
|
116
130
|
"create_dependant",
|
|
131
|
+
"get_inject_dependency_override_provider",
|
|
117
132
|
"resolve_dependencies",
|
|
118
133
|
"set_inject_dependency_override_provider",
|
|
119
134
|
]
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
from collections import ChainMap
|
|
2
|
+
from collections.abc import AsyncGenerator, Awaitable, Callable, Generator, Iterator, Mapping
|
|
3
|
+
from contextlib import contextmanager
|
|
4
|
+
from dataclasses import dataclass
|
|
5
|
+
from typing import Any
|
|
6
|
+
|
|
7
|
+
from ._deps_tp import is_dep, unwrap_dep_dependency
|
|
8
|
+
from .deps import get_inject_dependency_override_provider, set_inject_dependency_override_provider
|
|
9
|
+
from .scope import current_inject_scope
|
|
10
|
+
from .types import HasDependencyOverrides
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class NonFreshScopeError(Exception):
|
|
14
|
+
def __init__(self) -> None:
|
|
15
|
+
super().__init__("push_overrides requires a fresh scope")
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def _get_current_overrides() -> Iterator[Mapping[Any, Any]]:
|
|
19
|
+
obj = get_inject_dependency_override_provider()
|
|
20
|
+
|
|
21
|
+
if isinstance(obj, HasDependencyOverrides):
|
|
22
|
+
yield obj.dependency_overrides
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def _get_override_key(tp: Any) -> Any:
|
|
26
|
+
if is_dep(tp):
|
|
27
|
+
value = unwrap_dep_dependency(tp)
|
|
28
|
+
|
|
29
|
+
if value is not None:
|
|
30
|
+
return value
|
|
31
|
+
|
|
32
|
+
return tp
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
@dataclass
|
|
36
|
+
class _OverridesProvider:
|
|
37
|
+
dependency_overrides: Mapping[Any, Any]
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def _create_async_resolver[T](val: T) -> Callable[[], Awaitable[T]]:
|
|
41
|
+
async def _resolver() -> T:
|
|
42
|
+
return val
|
|
43
|
+
|
|
44
|
+
return _resolver
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def _create_resolver[T](val: T, /) -> Any:
|
|
48
|
+
match val:
|
|
49
|
+
case ValueOverride(value):
|
|
50
|
+
return _create_async_resolver(value)
|
|
51
|
+
case FactoryOverride(factory):
|
|
52
|
+
return factory
|
|
53
|
+
case _:
|
|
54
|
+
return _create_async_resolver(val)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
@dataclass
|
|
58
|
+
class ValueOverride[T]:
|
|
59
|
+
value: T
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
@dataclass
|
|
63
|
+
class FactoryOverride[**P, T]:
|
|
64
|
+
factory: Callable[P, T | Awaitable[T] | Generator[T] | AsyncGenerator[T]]
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
type Overrides = dict[Any, Any | ValueOverride | FactoryOverride]
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
def _enforce_fresh_scope() -> None:
|
|
71
|
+
scope = current_inject_scope()
|
|
72
|
+
|
|
73
|
+
if scope is None:
|
|
74
|
+
return
|
|
75
|
+
|
|
76
|
+
if scope.dependency_cache:
|
|
77
|
+
raise NonFreshScopeError
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
@contextmanager
|
|
81
|
+
def push_overrides(
|
|
82
|
+
overrides: Overrides,
|
|
83
|
+
/,
|
|
84
|
+
*,
|
|
85
|
+
require_fresh_scope: bool = True,
|
|
86
|
+
) -> Iterator[None]:
|
|
87
|
+
|
|
88
|
+
if require_fresh_scope:
|
|
89
|
+
_enforce_fresh_scope()
|
|
90
|
+
|
|
91
|
+
deps = ChainMap(
|
|
92
|
+
{_get_override_key(k): _create_resolver(v) for k, v in overrides.items()},
|
|
93
|
+
*_get_current_overrides(), # type: ignore[ty:invalid-argument-type]
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
with set_inject_dependency_override_provider(
|
|
97
|
+
_OverridesProvider(deps),
|
|
98
|
+
):
|
|
99
|
+
yield
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
__all__ = [
|
|
103
|
+
"FactoryOverride",
|
|
104
|
+
"ValueOverride",
|
|
105
|
+
"push_overrides",
|
|
106
|
+
]
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import inspect
|
|
2
|
-
from collections.abc import Callable, Coroutine
|
|
3
|
-
from typing import TYPE_CHECKING, Annotated, Any, Protocol, TypeVar
|
|
2
|
+
from collections.abc import Callable, Coroutine, Mapping
|
|
3
|
+
from typing import TYPE_CHECKING, Annotated, Any, Protocol, TypeVar, runtime_checkable
|
|
4
4
|
|
|
5
5
|
from fastapi import Depends
|
|
6
6
|
from fastapi.types import DependencyCacheKey
|
|
@@ -49,6 +49,11 @@ class HasSignature(Protocol):
|
|
|
49
49
|
__signature__: inspect.Signature
|
|
50
50
|
|
|
51
51
|
|
|
52
|
+
@runtime_checkable
|
|
53
|
+
class HasDependencyOverrides(Protocol):
|
|
54
|
+
dependency_overrides: Mapping[Any, Any]
|
|
55
|
+
|
|
56
|
+
|
|
52
57
|
__all__ = [
|
|
53
58
|
"AsyncFunc",
|
|
54
59
|
"Coro",
|
|
@@ -57,6 +62,7 @@ __all__ = [
|
|
|
57
62
|
"DepFactory",
|
|
58
63
|
"DependencyCache",
|
|
59
64
|
"Func",
|
|
65
|
+
"HasDependencyOverrides",
|
|
60
66
|
"HasSignature",
|
|
61
67
|
"Injected",
|
|
62
68
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "fastapi-injected"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.2.0"
|
|
4
4
|
description = "Yet another library to reuse fastapi dependency injection"
|
|
5
5
|
authors = [
|
|
6
6
|
{ name = "Yurii Karabas", email = "1998uriyyo@gmail.com" },
|
|
@@ -65,6 +65,7 @@ ignore = [
|
|
|
65
65
|
"FBT", # ignore flake8-boolean-trap
|
|
66
66
|
"EM", # ignore error message formatting
|
|
67
67
|
"TC", # ignore type checking
|
|
68
|
+
"CPY", # ignore copyright
|
|
68
69
|
]
|
|
69
70
|
exclude = [
|
|
70
71
|
".bzr",
|
|
@@ -28,9 +28,19 @@ class Container:
|
|
|
28
28
|
ctx: DepFactory[ContextState, ctx_dep]
|
|
29
29
|
|
|
30
30
|
|
|
31
|
+
def get_value() -> int:
|
|
32
|
+
return 1
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
@dataclass
|
|
36
|
+
class State:
|
|
37
|
+
value: DepFactory[int, get_value]
|
|
38
|
+
|
|
39
|
+
|
|
31
40
|
__all__ = [
|
|
32
41
|
"Child",
|
|
33
42
|
"Container",
|
|
34
43
|
"ContextState",
|
|
44
|
+
"State",
|
|
35
45
|
"ctx_dep",
|
|
36
46
|
]
|
|
@@ -140,7 +140,7 @@ wheels = [
|
|
|
140
140
|
|
|
141
141
|
[[package]]
|
|
142
142
|
name = "fastapi"
|
|
143
|
-
version = "0.
|
|
143
|
+
version = "0.141.1"
|
|
144
144
|
source = { registry = "https://pypi.org/simple" }
|
|
145
145
|
dependencies = [
|
|
146
146
|
{ name = "annotated-doc" },
|
|
@@ -149,14 +149,14 @@ dependencies = [
|
|
|
149
149
|
{ name = "typing-extensions" },
|
|
150
150
|
{ name = "typing-inspection" },
|
|
151
151
|
]
|
|
152
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
152
|
+
sdist = { url = "https://files.pythonhosted.org/packages/8a/02/91e3416a8fdd715abb903a952a6bec7cdd8d14eed55d415fc8595524c319/fastapi-0.141.1.tar.gz", hash = "sha256:e8822fc40db1e1858054d7a949a888695bc9bdce70139178e33bd2871a453ca1", size = 425799, upload-time = "2026-07-29T17:18:05.568Z" }
|
|
153
153
|
wheels = [
|
|
154
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
154
|
+
{ url = "https://files.pythonhosted.org/packages/cb/03/10388a42375ee7e4ac9b94eb2c5c569c8b5795e377e701c9ac3ad63de890/fastapi-0.141.1-py3-none-any.whl", hash = "sha256:bfb91aa2d334c61cb35ba9a116fc123b3d3df31640b801cf57a7a78ec3f603b3", size = 131954, upload-time = "2026-07-29T17:18:04.364Z" },
|
|
155
155
|
]
|
|
156
156
|
|
|
157
157
|
[[package]]
|
|
158
158
|
name = "fastapi-injected"
|
|
159
|
-
version = "0.
|
|
159
|
+
version = "0.2.0"
|
|
160
160
|
source = { editable = "." }
|
|
161
161
|
dependencies = [
|
|
162
162
|
{ name = "fastapi" },
|
|
@@ -204,15 +204,15 @@ wheels = [
|
|
|
204
204
|
|
|
205
205
|
[[package]]
|
|
206
206
|
name = "genai-prices"
|
|
207
|
-
version = "0.
|
|
207
|
+
version = "0.1.1"
|
|
208
208
|
source = { registry = "https://pypi.org/simple" }
|
|
209
209
|
dependencies = [
|
|
210
210
|
{ name = "httpx2" },
|
|
211
211
|
{ name = "pydantic" },
|
|
212
212
|
]
|
|
213
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
213
|
+
sdist = { url = "https://files.pythonhosted.org/packages/83/9b/85e646305a90a2da18f1edf055498668391e71f9849d3e1754d66559a311/genai_prices-0.1.1.tar.gz", hash = "sha256:54a2237691e0aaefb057d10a0c3c20160accc9fc09521c64c03fcdb7a4a69f68", size = 91182, upload-time = "2026-08-01T09:02:49.552Z" }
|
|
214
214
|
wheels = [
|
|
215
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
215
|
+
{ url = "https://files.pythonhosted.org/packages/6e/5e/cfe36dff790ffad6aeff8a069b6f36743987ac17053579035ee0a67635dd/genai_prices-0.1.1-py3-none-any.whl", hash = "sha256:de2e3d8ea3ca1d0d292025995c598da447a74e94f22cd3342df46941aeb5416b", size = 95300, upload-time = "2026-08-01T09:02:48.308Z" },
|
|
216
216
|
]
|
|
217
217
|
|
|
218
218
|
[[package]]
|
|
@@ -407,9 +407,10 @@ wheels = [
|
|
|
407
407
|
|
|
408
408
|
[[package]]
|
|
409
409
|
name = "pydantic-ai-slim"
|
|
410
|
-
version = "2.
|
|
410
|
+
version = "2.23.0"
|
|
411
411
|
source = { registry = "https://pypi.org/simple" }
|
|
412
412
|
dependencies = [
|
|
413
|
+
{ name = "anyio" },
|
|
413
414
|
{ name = "genai-prices" },
|
|
414
415
|
{ name = "griffelib" },
|
|
415
416
|
{ name = "httpx" },
|
|
@@ -418,9 +419,9 @@ dependencies = [
|
|
|
418
419
|
{ name = "pydantic-graph" },
|
|
419
420
|
{ name = "typing-inspection" },
|
|
420
421
|
]
|
|
421
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
422
|
+
sdist = { url = "https://files.pythonhosted.org/packages/0d/9f/53b19efefa041c1080f7c4ad41679a9293cce64f1265168a98cbe06a0ab7/pydantic_ai_slim-2.23.0.tar.gz", hash = "sha256:d16dcbfb2bfea0ee162bf0f499442fab5a4d69b41e4c54f3b694c2e90b983768", size = 965485, upload-time = "2026-08-04T01:58:20.668Z" }
|
|
422
423
|
wheels = [
|
|
423
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
424
|
+
{ url = "https://files.pythonhosted.org/packages/9e/6f/539a255524178a8421d582271a8d7f8667b036f02b4ddc4f20abcc63888b/pydantic_ai_slim-2.23.0-py3-none-any.whl", hash = "sha256:a2fa3e56408bbf1b83900e3dd4ad9b137297742f450863c2f0f9a03a547d0e33", size = 1157486, upload-time = "2026-08-04T01:58:12.356Z" },
|
|
424
425
|
]
|
|
425
426
|
|
|
426
427
|
[[package]]
|
|
@@ -500,17 +501,18 @@ wheels = [
|
|
|
500
501
|
|
|
501
502
|
[[package]]
|
|
502
503
|
name = "pydantic-graph"
|
|
503
|
-
version = "2.
|
|
504
|
+
version = "2.23.0"
|
|
504
505
|
source = { registry = "https://pypi.org/simple" }
|
|
505
506
|
dependencies = [
|
|
507
|
+
{ name = "anyio" },
|
|
506
508
|
{ name = "httpx" },
|
|
507
509
|
{ name = "logfire-api" },
|
|
508
510
|
{ name = "pydantic" },
|
|
509
511
|
{ name = "typing-inspection" },
|
|
510
512
|
]
|
|
511
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
513
|
+
sdist = { url = "https://files.pythonhosted.org/packages/09/fc/273bac7d14fb62c060e0c20c51a9cc60e9e90a96d992fd20e77abf4b6ac1/pydantic_graph-2.23.0.tar.gz", hash = "sha256:54c9939f47fd8a268c96320d7d90e7cef037cbfd2625a675dc4028c1377f70ab", size = 45179, upload-time = "2026-08-04T01:58:23.085Z" }
|
|
512
514
|
wheels = [
|
|
513
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
515
|
+
{ url = "https://files.pythonhosted.org/packages/0d/c4/875cf853d205dc55422bd44ff0fbfac82e6e34ff7693df016fc3a4088d32/pydantic_graph-2.23.0-py3-none-any.whl", hash = "sha256:b0f12b4f72adb2a5522b5962c95e1a7b140cb3f631a628036f935e291a9e50ba", size = 52662, upload-time = "2026-08-04T01:58:15.858Z" },
|
|
514
516
|
]
|
|
515
517
|
|
|
516
518
|
[[package]]
|
|
@@ -626,27 +628,27 @@ wheels = [
|
|
|
626
628
|
|
|
627
629
|
[[package]]
|
|
628
630
|
name = "ruff"
|
|
629
|
-
version = "0.
|
|
630
|
-
source = { registry = "https://pypi.org/simple" }
|
|
631
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
632
|
-
wheels = [
|
|
633
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
634
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
635
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
636
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
637
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
638
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
639
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
640
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
641
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
642
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
643
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
644
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
645
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
646
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
647
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
648
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
649
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
631
|
+
version = "0.16.1"
|
|
632
|
+
source = { registry = "https://pypi.org/simple" }
|
|
633
|
+
sdist = { url = "https://files.pythonhosted.org/packages/70/25/7113f6d5498888c5fb7db34081cba7d5971c4cb1bfb26819966eee68f003/ruff-0.16.1.tar.gz", hash = "sha256:fedad7c801dabd3fb9741d76aca39246e6ddd9ca446a015875207bf19f1e6bc7", size = 4877500, upload-time = "2026-07-30T19:37:01.379Z" }
|
|
634
|
+
wheels = [
|
|
635
|
+
{ url = "https://files.pythonhosted.org/packages/1b/bd/694da69368e0973de65df2ddc73ab18d43c469d5963d9b150911de6bc513/ruff-0.16.1-py3-none-linux_armv6l.whl", hash = "sha256:58edb313b88f0c5460a26adf5f39a37a3be789494a15e3e411e35fa78b89f9a0", size = 10839126, upload-time = "2026-07-30T19:36:13.697Z" },
|
|
636
|
+
{ url = "https://files.pythonhosted.org/packages/3f/f0/b626e5d5bd0dd9576263658ef12885e2288afd1029a48e26ffed65ec1ac1/ruff-0.16.1-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:fde5a99e2f97479af66edd6622c6d5a2a7592c77cf4153d9e4428f5eeb55b60c", size = 11070253, upload-time = "2026-07-30T19:36:17.14Z" },
|
|
637
|
+
{ url = "https://files.pythonhosted.org/packages/83/63/f40acfb6b35b88623e71684942b552c3edd96035f5d98f313815f7b277de/ruff-0.16.1-py3-none-macosx_11_0_arm64.whl", hash = "sha256:e0d4c20532fca4f7fa609369161d968dd28f65d83dabbd61d8e9c7edbf7001f6", size = 10561425, upload-time = "2026-07-30T19:36:20.04Z" },
|
|
638
|
+
{ url = "https://files.pythonhosted.org/packages/aa/dd/14ec0e9c2b4d315547dd38765004b4863e354e1b52cb308272215d9f6f6d/ruff-0.16.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:30affbcedf59ad5703d9c91f82266e02b47739f797e1a7b6e158e5526a6dae38", size = 10948879, upload-time = "2026-07-30T19:36:22.476Z" },
|
|
639
|
+
{ url = "https://files.pythonhosted.org/packages/33/e9/9d870cbae575030fdef595f04b4b97573c525b5497cce4f4498cf2f85446/ruff-0.16.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:24e9c631573cbca9d20f1283f8f479b2afa4a8503504822bd71a293889f16743", size = 10643691, upload-time = "2026-07-30T19:36:24.914Z" },
|
|
640
|
+
{ url = "https://files.pythonhosted.org/packages/c4/09/12743d544e2173f53ecd27217c65f90d2bc0f8424a66a60339e56bbc0457/ruff-0.16.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b41bdd48fb420987a9b5212e4957c26ad4abce401fa9ea9d4d85843727945f4f", size = 11435354, upload-time = "2026-07-30T19:36:28.447Z" },
|
|
641
|
+
{ url = "https://files.pythonhosted.org/packages/7f/89/a1652b2daee52083c9554a6333b678a8b01d0400f976827bb87857f9449a/ruff-0.16.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b0d1e1393b7648079e13669de1c1f4fde06d4583e84d8fd5c1551e0a77a2aa75", size = 12259033, upload-time = "2026-07-30T19:36:31.326Z" },
|
|
642
|
+
{ url = "https://files.pythonhosted.org/packages/16/96/ecdcb8c54ee7b123b487f807eb014e6e019155a0b81dfb669acd52f28ce3/ruff-0.16.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:07bf434b1c95f4e093be4532068ef4fcf00924eb2ade8796075980902d6fd54a", size = 11667981, upload-time = "2026-07-30T19:36:34.394Z" },
|
|
643
|
+
{ url = "https://files.pythonhosted.org/packages/cd/90/c52e12e0d862e9572f2a33aa227409143520abe53111e9a6babbac7b4af8/ruff-0.16.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:39897739f112253ee4fdd2e8aa9a4f9ded99fb2be367d5f31dfa4ded6025584c", size = 11468183, upload-time = "2026-07-30T19:36:37.339Z" },
|
|
644
|
+
{ url = "https://files.pythonhosted.org/packages/2c/6b/4ffb7ad1d83eb16cf8cbb3c8815d3f11c88460fd162d4b372a2059be1c2a/ruff-0.16.1-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:82ae3c0c0d74daf17b968a10b7b3bb3ef297ab7de0c1f749646b25e690ccb150", size = 11470071, upload-time = "2026-07-30T19:36:39.91Z" },
|
|
645
|
+
{ url = "https://files.pythonhosted.org/packages/9c/72/32ae7db4c0b5e32ab611787caa19d1546800676d79f7483b7100a3561bf4/ruff-0.16.1-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:4d5f2ed10f8242d83fc08d521301089364e3375375705356f20c0e31606ef3ef", size = 10919503, upload-time = "2026-07-30T19:36:42.65Z" },
|
|
646
|
+
{ url = "https://files.pythonhosted.org/packages/f7/ca/3d901ba6ad6fc38da39c3448fc6c59ac945679293a17c3ceb6d6c1cba13e/ruff-0.16.1-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:a4665b309891f83f3e3c25447935f1213e9abbd4b5640af7a1f2def9f8d413c1", size = 10649861, upload-time = "2026-07-30T19:36:45.18Z" },
|
|
647
|
+
{ url = "https://files.pythonhosted.org/packages/92/79/894ef1ced26552d5f8c9cf6d85b0687840e1128c55aeab7b9c2d54a0d880/ruff-0.16.1-py3-none-musllinux_1_2_i686.whl", hash = "sha256:26e9ca5c9bc3971f20d3cf18a957f52ffd6a5f6564ff15c4912a144dcac22494", size = 11148137, upload-time = "2026-07-30T19:36:47.936Z" },
|
|
648
|
+
{ url = "https://files.pythonhosted.org/packages/2d/69/3609a09fa1cb46cc28b762363e440a354204e5dff01bd0c8d7437874d6b9/ruff-0.16.1-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:67e1e1e3fa4f0c82f0e36d4cd61e661f6e7a6196cb1aa92fe0828fa7b8f257cd", size = 11559211, upload-time = "2026-07-30T19:36:50.448Z" },
|
|
649
|
+
{ url = "https://files.pythonhosted.org/packages/fc/8a/fb22af2fd78a736e241fabf67e30ce1799a64244026377a49e133af90762/ruff-0.16.1-py3-none-win32.whl", hash = "sha256:d31765e131295b8445caf301e3e8a85b34d1b9b211b4109b7ba457888b051806", size = 10838258, upload-time = "2026-07-30T19:36:53.298Z" },
|
|
650
|
+
{ url = "https://files.pythonhosted.org/packages/d4/35/e57fd9fb5d423961df087a00b12d42c0a830288dc2f3b45ecca299158b4f/ruff-0.16.1-py3-none-win_amd64.whl", hash = "sha256:09b05e8b90c2cb06ad63464350e7a45e8e44a2dfe52072ebfba6666ca8d3f596", size = 11961111, upload-time = "2026-07-30T19:36:56.107Z" },
|
|
651
|
+
{ url = "https://files.pythonhosted.org/packages/cb/46/240ea004bf6dc4feb40e9832f2205a476a47dd5b8a3f8211a5fc5f95e20e/ruff-0.16.1-py3-none-win_arm64.whl", hash = "sha256:dbaadaac38c70239f056d306b7476f246b0bf000fa6b3876402acbf5b227eaf8", size = 11309414, upload-time = "2026-07-30T19:36:58.79Z" },
|
|
650
652
|
]
|
|
651
653
|
|
|
652
654
|
[[package]]
|
|
@@ -673,27 +675,27 @@ wheels = [
|
|
|
673
675
|
|
|
674
676
|
[[package]]
|
|
675
677
|
name = "ty"
|
|
676
|
-
version = "0.0.
|
|
677
|
-
source = { registry = "https://pypi.org/simple" }
|
|
678
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
679
|
-
wheels = [
|
|
680
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
681
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
682
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
683
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
684
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
685
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
686
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
687
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
688
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
689
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
690
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
691
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
692
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
693
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
694
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
695
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
696
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
678
|
+
version = "0.0.66"
|
|
679
|
+
source = { registry = "https://pypi.org/simple" }
|
|
680
|
+
sdist = { url = "https://files.pythonhosted.org/packages/cd/58/4f6ab2a86589e422a3cf840bcf6114c565e4c39ddf4d0b7cd328af5b52b4/ty-0.0.66.tar.gz", hash = "sha256:24bddd4479ce445b51ac015410dd2d34af1cadd62a77f5b3cb269149ed83f9b5", size = 6520402, upload-time = "2026-08-04T01:09:47.714Z" }
|
|
681
|
+
wheels = [
|
|
682
|
+
{ url = "https://files.pythonhosted.org/packages/45/4d/bbc28310d6d887ef73e5800f062c4bf54caa35a1b47d70c7b03d0515ecf1/ty-0.0.66-py3-none-linux_armv6l.whl", hash = "sha256:8b46450438b54b732338e4d7a78a7d2f5e1a012a13d77d121aacaca20fb814e2", size = 12409743, upload-time = "2026-08-04T01:09:01.229Z" },
|
|
683
|
+
{ url = "https://files.pythonhosted.org/packages/73/4e/c3d2eb2242fa0a2ef445ca2c7009dc9118e5b3dcb8b8a8bec70d58c8e4bc/ty-0.0.66-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:8e4adbe662bc3c62b52b83d46b07f703fdc3c123bb72601606c58be5ea017ed3", size = 12078362, upload-time = "2026-08-04T01:09:04.233Z" },
|
|
684
|
+
{ url = "https://files.pythonhosted.org/packages/fa/ba/7a4b5e45d701a8de6b714dacf6ffca91b0411baaceaa781d494037623a18/ty-0.0.66-py3-none-macosx_11_0_arm64.whl", hash = "sha256:776814351735847eb934f9a3cbea21d2278ba14aa0fc099f683da11bc2d5c90a", size = 11583289, upload-time = "2026-08-04T01:09:06.973Z" },
|
|
685
|
+
{ url = "https://files.pythonhosted.org/packages/4a/4a/fbb1f71ee2999f981f8c4b3b139231e4bcff4ede0c3b37e858fd1334ed26/ty-0.0.66-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cca1da877f613965b954bfd22d495386e260ec767c5536c8022cca98a260ea5d", size = 12137274, upload-time = "2026-08-04T01:09:09.592Z" },
|
|
686
|
+
{ url = "https://files.pythonhosted.org/packages/d5/07/9e0662f6603a5ac171ae6b314396e677ead4b45695fc948efb0a4837051f/ty-0.0.66-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:aa523e777bc36c0fbf8ded5844096f46cbfc3712fe5a003351a94259b7e86cf4", size = 12207047, upload-time = "2026-08-04T01:09:12.533Z" },
|
|
687
|
+
{ url = "https://files.pythonhosted.org/packages/bb/cc/12e01bc2ea47fa7bf20fc6cdd3249d6a340be9be4edc52b1d77256245dd0/ty-0.0.66-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3f7993c1f95f80a4e44056e6aaf8e46e608d778db131ae5ce59262ab59358f9a", size = 12919304, upload-time = "2026-08-04T01:09:15.175Z" },
|
|
688
|
+
{ url = "https://files.pythonhosted.org/packages/75/88/c6c0d3a8e71c9cdb560cc5c627a4bba6c47b5eec460b2f8c449b57c6d03a/ty-0.0.66-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f9b29354bcbac9f53b6952d8f46789bd81eeb9bdd7a68df7d26e654ca7498c3c", size = 13470963, upload-time = "2026-08-04T01:09:17.849Z" },
|
|
689
|
+
{ url = "https://files.pythonhosted.org/packages/27/c2/2f8c18063412ad80e1b3f87afce7bd50982b4a048166607b67f80660a9fb/ty-0.0.66-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:fbf4e5325f7f584d9c346946e7c415b2e3cd3b8f1119d468082a90a6afd020ce", size = 13244773, upload-time = "2026-08-04T01:09:20.59Z" },
|
|
690
|
+
{ url = "https://files.pythonhosted.org/packages/ed/f6/fdae2b95831116dffc055ad53a99a8f21437263651047b3ad46def4950a3/ty-0.0.66-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7bd304363764bd723c22fb20b17035c345420fdf66fee856934b158ebde08a91", size = 12751343, upload-time = "2026-08-04T01:09:23.225Z" },
|
|
691
|
+
{ url = "https://files.pythonhosted.org/packages/14/1e/7e75f0371d11463a256dc2bee98b0df401e0fa06021e200b8b601d21949d/ty-0.0.66-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:205d8589bd957ea9718d488b731b2fbdd0d1b1cefd37c79f52c0deb7cafddfef", size = 13068057, upload-time = "2026-08-04T01:09:26.052Z" },
|
|
692
|
+
{ url = "https://files.pythonhosted.org/packages/b4/84/f20f24518f6f0bea936e2e668ede250b9ce0774624559931599bd1f42772/ty-0.0.66-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:7304a1df54741a2343801354f41d7ad87974acb541ee3e93c26cb6a1a0b863af", size = 12082318, upload-time = "2026-08-04T01:09:28.877Z" },
|
|
693
|
+
{ url = "https://files.pythonhosted.org/packages/08/20/70ca0eac2427d4a58a81a3a9426b20e46fb4a5a13aefc9edc2e5172e1243/ty-0.0.66-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:cf2c062863e5da0f588b0b120fec0da2e81c0913ee4cd07b50d77aa60ffd8deb", size = 12228978, upload-time = "2026-08-04T01:09:31.905Z" },
|
|
694
|
+
{ url = "https://files.pythonhosted.org/packages/7c/01/5a461ab34456d788248780830aed673c9e0e796f6e9dd92d3dbf02e04d7f/ty-0.0.66-py3-none-musllinux_1_2_i686.whl", hash = "sha256:a58d32c879d86428978332adf21e85009ec269314a23d330c3483c65b57aedc7", size = 12471917, upload-time = "2026-08-04T01:09:34.418Z" },
|
|
695
|
+
{ url = "https://files.pythonhosted.org/packages/46/ed/f8eb5eff7c9ee644490c6d2626425935c097acc54871adf659ea70624a2c/ty-0.0.66-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:b2f810fa3516c977630d78dbe9161592b3c27029fa9bb81074366624d9b5e4b6", size = 12858086, upload-time = "2026-08-04T01:09:37.602Z" },
|
|
696
|
+
{ url = "https://files.pythonhosted.org/packages/02/7f/8a78361f752274a550a7f6f07f127b246ece7d7fdde31121d22074e46eab/ty-0.0.66-py3-none-win32.whl", hash = "sha256:d28c3df565a387c1c5ea359aa452a46d19163616ef71be819058a424a62f1ae1", size = 11782494, upload-time = "2026-08-04T01:09:40.136Z" },
|
|
697
|
+
{ url = "https://files.pythonhosted.org/packages/7d/e2/deed22b823ce309b8410d50414fd15afe9e90aee8b8ca04789ba55c21231/ty-0.0.66-py3-none-win_amd64.whl", hash = "sha256:e3a457f3312c078f24c47d0da6e4f73de34d0a77ed2de22571c066c80b2fd5e7", size = 12893338, upload-time = "2026-08-04T01:09:42.825Z" },
|
|
698
|
+
{ url = "https://files.pythonhosted.org/packages/f9/ce/6c828f42ef1ed39f53f57f9c0cdcdf03e23666fa7a29d799042a2c34bcb4/ty-0.0.66-py3-none-win_arm64.whl", hash = "sha256:2f62ae247b9c75674fcc060635f9f00210357da7681de59234d97b50fb9e9e94", size = 12227381, upload-time = "2026-08-04T01:09:45.365Z" },
|
|
697
699
|
]
|
|
698
700
|
|
|
699
701
|
[[package]]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|