engin 0.0.17__tar.gz → 0.0.18__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 (92) hide show
  1. {engin-0.0.17 → engin-0.0.18}/CHANGELOG.md +8 -0
  2. {engin-0.0.17 → engin-0.0.18}/PKG-INFO +1 -1
  3. {engin-0.0.17 → engin-0.0.18}/pyproject.toml +1 -1
  4. {engin-0.0.17 → engin-0.0.18}/src/engin/_assembler.py +6 -1
  5. {engin-0.0.17 → engin-0.0.18}/src/engin/_cli/__init__.py +11 -0
  6. engin-0.0.18/src/engin/_cli/_common.py +51 -0
  7. {engin-0.0.17 → engin-0.0.18}/src/engin/_cli/_graph.py +4 -35
  8. engin-0.0.18/src/engin/_cli/_inspect.py +94 -0
  9. {engin-0.0.17 → engin-0.0.18}/tests/cli/test_graph.py +1 -1
  10. engin-0.0.18/tests/cli/test_inspect.py +13 -0
  11. {engin-0.0.17 → engin-0.0.18}/uv.lock +37 -37
  12. engin-0.0.17/src/engin/_cli/_utils.py +0 -18
  13. {engin-0.0.17 → engin-0.0.18}/.github/workflows/check.yaml +0 -0
  14. {engin-0.0.17 → engin-0.0.18}/.github/workflows/publish.yaml +0 -0
  15. {engin-0.0.17 → engin-0.0.18}/.gitignore +0 -0
  16. {engin-0.0.17 → engin-0.0.18}/.readthedocs.yaml +0 -0
  17. {engin-0.0.17 → engin-0.0.18}/LICENSE +0 -0
  18. {engin-0.0.17 → engin-0.0.18}/README.md +0 -0
  19. {engin-0.0.17 → engin-0.0.18}/docs/concepts/engin.md +0 -0
  20. {engin-0.0.17 → engin-0.0.18}/docs/concepts/invocations.md +0 -0
  21. {engin-0.0.17 → engin-0.0.18}/docs/concepts/lifecycle.md +0 -0
  22. {engin-0.0.17 → engin-0.0.18}/docs/concepts/providers.md +0 -0
  23. {engin-0.0.17 → engin-0.0.18}/docs/getting-started.md +0 -0
  24. {engin-0.0.17 → engin-0.0.18}/docs/guides/fastapi-graph.png +0 -0
  25. {engin-0.0.17 → engin-0.0.18}/docs/guides/fastapi.md +0 -0
  26. {engin-0.0.17 → engin-0.0.18}/docs/index.md +0 -0
  27. {engin-0.0.17 → engin-0.0.18}/docs/js/readthedocs.js +0 -0
  28. {engin-0.0.17 → engin-0.0.18}/docs/overrides/main.html +0 -0
  29. {engin-0.0.17 → engin-0.0.18}/docs/reference.md +0 -0
  30. {engin-0.0.17 → engin-0.0.18}/examples/__init__.py +0 -0
  31. {engin-0.0.17 → engin-0.0.18}/examples/asgi/__init__.py +0 -0
  32. {engin-0.0.17 → engin-0.0.18}/examples/asgi/app.py +0 -0
  33. {engin-0.0.17 → engin-0.0.18}/examples/asgi/common/__init__.py +0 -0
  34. {engin-0.0.17 → engin-0.0.18}/examples/asgi/common/db/__init__.py +0 -0
  35. {engin-0.0.17 → engin-0.0.18}/examples/asgi/common/db/adapaters/__init__.py +0 -0
  36. {engin-0.0.17 → engin-0.0.18}/examples/asgi/common/db/adapaters/memory.py +0 -0
  37. {engin-0.0.17 → engin-0.0.18}/examples/asgi/common/db/block.py +0 -0
  38. {engin-0.0.17 → engin-0.0.18}/examples/asgi/common/db/ports.py +0 -0
  39. {engin-0.0.17 → engin-0.0.18}/examples/asgi/common/starlette/__init__.py +0 -0
  40. {engin-0.0.17 → engin-0.0.18}/examples/asgi/common/starlette/endpoint.py +0 -0
  41. {engin-0.0.17 → engin-0.0.18}/examples/asgi/features/__init__.py +0 -0
  42. {engin-0.0.17 → engin-0.0.18}/examples/asgi/features/cats/__init__.py +0 -0
  43. {engin-0.0.17 → engin-0.0.18}/examples/asgi/features/cats/api/__init__.py +0 -0
  44. {engin-0.0.17 → engin-0.0.18}/examples/asgi/features/cats/api/get.py +0 -0
  45. {engin-0.0.17 → engin-0.0.18}/examples/asgi/features/cats/api/post.py +0 -0
  46. {engin-0.0.17 → engin-0.0.18}/examples/asgi/features/cats/block.py +0 -0
  47. {engin-0.0.17 → engin-0.0.18}/examples/asgi/features/cats/domain.py +0 -0
  48. {engin-0.0.17 → engin-0.0.18}/examples/asgi/main.py +0 -0
  49. {engin-0.0.17 → engin-0.0.18}/examples/fastapi/__init__.py +0 -0
  50. {engin-0.0.17 → engin-0.0.18}/examples/fastapi/app.py +0 -0
  51. {engin-0.0.17 → engin-0.0.18}/examples/fastapi/main.py +0 -0
  52. {engin-0.0.17 → engin-0.0.18}/examples/fastapi/routes/__init__.py +0 -0
  53. {engin-0.0.17 → engin-0.0.18}/examples/fastapi/routes/cats/__init__.py +0 -0
  54. {engin-0.0.17 → engin-0.0.18}/examples/fastapi/routes/cats/adapters/__init__.py +0 -0
  55. {engin-0.0.17 → engin-0.0.18}/examples/fastapi/routes/cats/adapters/repository.py +0 -0
  56. {engin-0.0.17 → engin-0.0.18}/examples/fastapi/routes/cats/api.py +0 -0
  57. {engin-0.0.17 → engin-0.0.18}/examples/fastapi/routes/cats/block.py +0 -0
  58. {engin-0.0.17 → engin-0.0.18}/examples/fastapi/routes/cats/domain.py +0 -0
  59. {engin-0.0.17 → engin-0.0.18}/examples/fastapi/routes/cats/ports.py +0 -0
  60. {engin-0.0.17 → engin-0.0.18}/examples/simple/__init__.py +0 -0
  61. {engin-0.0.17 → engin-0.0.18}/examples/simple/main.py +0 -0
  62. {engin-0.0.17 → engin-0.0.18}/mkdocs.yaml +0 -0
  63. {engin-0.0.17 → engin-0.0.18}/src/engin/__init__.py +0 -0
  64. {engin-0.0.17 → engin-0.0.18}/src/engin/_block.py +0 -0
  65. {engin-0.0.17 → engin-0.0.18}/src/engin/_cli/_graph.html +0 -0
  66. {engin-0.0.17 → engin-0.0.18}/src/engin/_dependency.py +0 -0
  67. {engin-0.0.17 → engin-0.0.18}/src/engin/_engin.py +0 -0
  68. {engin-0.0.17 → engin-0.0.18}/src/engin/_exceptions.py +0 -0
  69. {engin-0.0.17 → engin-0.0.18}/src/engin/_graph.py +0 -0
  70. {engin-0.0.17 → engin-0.0.18}/src/engin/_introspect.py +0 -0
  71. {engin-0.0.17 → engin-0.0.18}/src/engin/_lifecycle.py +0 -0
  72. {engin-0.0.17 → engin-0.0.18}/src/engin/_option.py +0 -0
  73. {engin-0.0.17 → engin-0.0.18}/src/engin/_type_utils.py +0 -0
  74. {engin-0.0.17 → engin-0.0.18}/src/engin/ext/__init__.py +0 -0
  75. {engin-0.0.17 → engin-0.0.18}/src/engin/ext/asgi.py +0 -0
  76. {engin-0.0.17 → engin-0.0.18}/src/engin/ext/fastapi.py +0 -0
  77. {engin-0.0.17 → engin-0.0.18}/src/engin/py.typed +0 -0
  78. {engin-0.0.17 → engin-0.0.18}/tests/__init__.py +0 -0
  79. {engin-0.0.17 → engin-0.0.18}/tests/acceptance/__init__.py +0 -0
  80. {engin-0.0.17 → engin-0.0.18}/tests/acceptance/test_error_in_shutdown.py +0 -0
  81. {engin-0.0.17 → engin-0.0.18}/tests/acceptance/test_error_in_start_up.py +0 -0
  82. {engin-0.0.17 → engin-0.0.18}/tests/acceptance/test_fastapi.py +0 -0
  83. {engin-0.0.17 → engin-0.0.18}/tests/cli/__init__.py +0 -0
  84. {engin-0.0.17 → engin-0.0.18}/tests/conftest.py +0 -0
  85. {engin-0.0.17 → engin-0.0.18}/tests/deps.py +0 -0
  86. {engin-0.0.17 → engin-0.0.18}/tests/test_assembler.py +0 -0
  87. {engin-0.0.17 → engin-0.0.18}/tests/test_block.py +0 -0
  88. {engin-0.0.17 → engin-0.0.18}/tests/test_dependencies.py +0 -0
  89. {engin-0.0.17 → engin-0.0.18}/tests/test_engin.py +0 -0
  90. {engin-0.0.17 → engin-0.0.18}/tests/test_graph.py +0 -0
  91. {engin-0.0.17 → engin-0.0.18}/tests/test_lifecycle.py +0 -0
  92. {engin-0.0.17 → engin-0.0.18}/tests/test_utils.py +0 -0
@@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
8
 
9
+ ## [0.0.18] - 2025-04-25
10
+
11
+ ### Added
12
+
13
+ - A new cli option `engin inspect` that can be used to inspect providers, e.g.
14
+ `engin inspect examples.simple.main:engin --module httpx`
15
+
16
+
9
17
  ## [0.0.17] - 2025-04-20
10
18
 
11
19
  ### Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: engin
3
- Version: 0.0.17
3
+ Version: 0.0.18
4
4
  Summary: An async-first modular application framework
5
5
  Project-URL: Homepage, https://github.com/invokermain/engin
6
6
  Project-URL: Documentation, https://engin.readthedocs.io/en/latest/
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "engin"
3
- version = "0.0.17"
3
+ version = "0.0.18"
4
4
  description = "An async-first modular application framework"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -1,7 +1,7 @@
1
1
  import asyncio
2
2
  import logging
3
3
  from collections import defaultdict
4
- from collections.abc import Iterable
4
+ from collections.abc import Iterable, Sequence
5
5
  from contextvars import ContextVar
6
6
  from dataclasses import dataclass
7
7
  from inspect import BoundArguments, Signature
@@ -75,6 +75,11 @@ class Assembler:
75
75
  else:
76
76
  self._multiproviders[type_id].append(provider)
77
77
 
78
+ @property
79
+ def providers(self) -> Sequence[Provide[Any]]:
80
+ multi_providers = [p for multi in self._multiproviders.values() for p in multi]
81
+ return [*self._providers.values(), *multi_providers]
82
+
78
83
  async def assemble(self, dependency: Dependency[Any, T]) -> AssembledDependency[T]:
79
84
  """
80
85
  Assemble a dependency.
@@ -1,3 +1,6 @@
1
+ import logging
2
+ import sys
3
+
1
4
  try:
2
5
  import typer
3
6
  except ImportError:
@@ -7,7 +10,15 @@ except ImportError:
7
10
  ) from None
8
11
 
9
12
  from engin._cli._graph import cli as graph_cli
13
+ from engin._cli._inspect import cli as inspect_cli
14
+
15
+ # mute logging from importing of files + engin's debug logging.
16
+ logging.disable()
17
+
18
+ # add cwd to path to enable local package imports
19
+ sys.path.insert(0, "")
10
20
 
11
21
  app = typer.Typer()
12
22
 
13
23
  app.add_typer(graph_cli)
24
+ app.add_typer(inspect_cli)
@@ -0,0 +1,51 @@
1
+ import importlib
2
+ from typing import Never
3
+
4
+ import typer
5
+ from rich import print
6
+ from rich.panel import Panel
7
+
8
+ from engin import Engin
9
+
10
+
11
+ def print_error(msg: str) -> Never:
12
+ print(
13
+ Panel(
14
+ title="Error",
15
+ renderable=msg,
16
+ title_align="left",
17
+ border_style="red",
18
+ highlight=True,
19
+ )
20
+ )
21
+ raise typer.Exit(code=1)
22
+
23
+
24
+ COMMON_HELP = {
25
+ "app": (
26
+ "The import path of your Engin instance, in the form 'package:application'"
27
+ ", e.g. 'app.main:engin'"
28
+ )
29
+ }
30
+
31
+
32
+ def get_engin_instance(app: str) -> tuple[str, str, Engin]:
33
+ try:
34
+ module_name, engin_name = app.split(":", maxsplit=1)
35
+ except ValueError:
36
+ print_error("Expected an argument of the form 'module:attribute', e.g. 'myapp:engin'")
37
+
38
+ try:
39
+ module = importlib.import_module(module_name)
40
+ except ModuleNotFoundError:
41
+ print_error(f"Unable to find module '{module_name}'")
42
+
43
+ try:
44
+ instance = getattr(module, engin_name)
45
+ except AttributeError:
46
+ print_error(f"Module '{module_name}' has no attribute '{engin_name}'")
47
+
48
+ if not isinstance(instance, Engin):
49
+ print_error(f"'{app}' is not an Engin instance")
50
+
51
+ return module_name, engin_name, instance
@@ -1,8 +1,5 @@
1
1
  import contextlib
2
- import importlib
3
- import logging
4
2
  import socketserver
5
- import sys
6
3
  import threading
7
4
  from http.server import BaseHTTPRequestHandler
8
5
  from pathlib import Path
@@ -12,8 +9,8 @@ from typing import Annotated, Any
12
9
  import typer
13
10
  from rich import print
14
11
 
15
- from engin import Engin, Entrypoint, Invoke, TypeId
16
- from engin._cli._utils import print_error
12
+ from engin import Entrypoint, Invoke, TypeId
13
+ from engin._cli._common import COMMON_HELP, get_engin_instance
17
14
  from engin._dependency import Dependency, Provide, Supply
18
15
  from engin.ext.asgi import ASGIEngin
19
16
 
@@ -24,53 +21,25 @@ except ImportError:
24
21
 
25
22
  cli = typer.Typer()
26
23
 
27
- # mute logging from importing of files + engin's debug logging.
28
- logging.disable()
29
24
 
30
25
  _APP_ORIGIN = ""
31
26
 
32
- _CLI_HELP = {
33
- "app": (
34
- "The import path of your Engin instance, in the form 'package:application'"
35
- ", e.g. 'app.main:engin'"
36
- )
37
- }
38
-
39
27
 
40
28
  @cli.command(name="graph")
41
29
  def serve_graph(
42
30
  app: Annotated[
43
31
  str,
44
- typer.Argument(help=_CLI_HELP["app"]),
32
+ typer.Argument(help=COMMON_HELP["app"]),
45
33
  ],
46
34
  ) -> None:
47
35
  """
48
36
  Creates a visualisation of your application's dependencies.
49
37
  """
50
- # add cwd to path to enable local package imports
51
- sys.path.insert(0, "")
52
-
53
- try:
54
- module_name, engin_name = app.split(":", maxsplit=1)
55
- except ValueError:
56
- print_error("Expected an argument of the form 'module:attribute', e.g. 'myapp:engin'")
38
+ module_name, _, instance = get_engin_instance(app)
57
39
 
58
40
  global _APP_ORIGIN
59
41
  _APP_ORIGIN = module_name.split(".", maxsplit=1)[0]
60
42
 
61
- try:
62
- module = importlib.import_module(module_name)
63
- except ModuleNotFoundError:
64
- print_error(f"unable to find module '{module_name}'")
65
-
66
- try:
67
- instance = getattr(module, engin_name)
68
- except AttributeError:
69
- print_error(f"module '{module_name}' has no attribute '{engin_name}'")
70
-
71
- if not isinstance(instance, Engin):
72
- print_error(f"'{app}' is not an Engin instance")
73
-
74
43
  nodes = instance.graph()
75
44
 
76
45
  # transform dependencies into mermaid syntax
@@ -0,0 +1,94 @@
1
+ from typing import Annotated
2
+
3
+ import typer
4
+ from rich import box
5
+ from rich.console import Console
6
+ from rich.table import Table
7
+
8
+ from engin import Supply
9
+ from engin._cli._common import COMMON_HELP, get_engin_instance, print_error
10
+
11
+ cli = typer.Typer()
12
+ _CLI_HELP = {
13
+ "type": "Filter providers by the provided type, e.g. `AsyncClient` or `float[]`",
14
+ "module": "Filter providers by the provided types' module, e.g. `engin` or `httpx`",
15
+ "verbose": "Enables verbose output",
16
+ }
17
+
18
+
19
+ @cli.command(name="inspect")
20
+ def serve_graph(
21
+ app: Annotated[
22
+ str,
23
+ typer.Argument(help=COMMON_HELP["app"]),
24
+ ],
25
+ type_: Annotated[
26
+ str | None,
27
+ typer.Option("--type", help=_CLI_HELP["type"]),
28
+ ] = None,
29
+ module: Annotated[
30
+ str | None,
31
+ typer.Option(help=_CLI_HELP["module"]),
32
+ ] = None,
33
+ verbose: Annotated[
34
+ bool, typer.Option("--verbose", "-v", help=_CLI_HELP["verbose"])
35
+ ] = False,
36
+ ) -> None:
37
+ """
38
+ Shows metadata for all matching providers.
39
+
40
+ Examples:
41
+
42
+ 1. `engin inspect examples.simple.main:engin --module httpx`
43
+
44
+ 2. `engin inspect examples.simple.main:engin --type AsyncClient`
45
+ """
46
+ module_name, _, instance = get_engin_instance(app)
47
+
48
+ console = Console()
49
+
50
+ providers = []
51
+ for provider in instance.assembler.providers:
52
+ type_id = provider.return_type_id
53
+ if type_ is not None:
54
+ type_name = str(type_id).rsplit(".", maxsplit=1)[-1]
55
+ if type_ != type_name:
56
+ if verbose:
57
+ console.print(
58
+ f"Ignoring '{provider.return_type_id}' as `{type_} != {type_name}",
59
+ style="dim",
60
+ )
61
+ continue
62
+ if module is not None:
63
+ module_name = str(type_id).split(".", maxsplit=1)[0]
64
+ if module != module_name:
65
+ if verbose:
66
+ console.print(
67
+ f"Ignoring '{provider.return_type_id}' as `{module} != {module_name}",
68
+ style="dim",
69
+ )
70
+ continue
71
+ providers.append(provider)
72
+
73
+ matching_provider_count = len(providers)
74
+ if matching_provider_count == 0:
75
+ available = sorted(map(str, instance.assembler.providers))
76
+ print_error(f"No matching providers, available: {available}")
77
+
78
+ if matching_provider_count > 1:
79
+ console.print(f"Found {matching_provider_count} matching providers", style="dim")
80
+
81
+ table = Table(show_header=False, show_lines=False, box=box.ASCII)
82
+
83
+ for provider in sorted(providers, key=lambda p: p.source_module):
84
+ is_supply = isinstance(provider, Supply)
85
+
86
+ table.add_row("name", str(provider), style="bold", end_section=True)
87
+ table.add_row("scope", provider.scope or "N/A")
88
+ table.add_row("func", provider.func_name if not is_supply else "N/A")
89
+ table.add_row("block", provider.block_name or "N/A")
90
+ table.add_row("source module", provider.source_module or "N/A")
91
+ table.add_row("source package", provider.source_package or "N/A")
92
+ table.add_section()
93
+
94
+ console.print(table)
@@ -36,4 +36,4 @@ def test_cli_invalid_app_attribute() -> None:
36
36
  def test_cli_invalid_app_instance() -> None:
37
37
  result = runner.invoke(app=cli, args=["tests.cli.test_graph:runner"])
38
38
  assert result.exit_code == 1
39
- assert "engin" in result.output
39
+ assert "Engin" in result.output
@@ -0,0 +1,13 @@
1
+ from typer.testing import CliRunner
2
+
3
+ from engin import Engin
4
+ from engin._cli._inspect import cli
5
+ from tests.deps import ABlock
6
+
7
+ engin = Engin(ABlock)
8
+ runner = CliRunner()
9
+
10
+
11
+ def test_cli_inspect() -> None:
12
+ result = runner.invoke(app=cli, args=["tests.cli.test_inspect:engin", "--type", "float[]"])
13
+ assert result.exit_code == 0
@@ -206,7 +206,7 @@ toml = [
206
206
 
207
207
  [[package]]
208
208
  name = "engin"
209
- version = "0.0.17"
209
+ version = "0.0.18"
210
210
  source = { editable = "." }
211
211
 
212
212
  [package.optional-dependencies]
@@ -299,36 +299,36 @@ wheels = [
299
299
 
300
300
  [[package]]
301
301
  name = "griffe"
302
- version = "1.7.2"
302
+ version = "1.7.3"
303
303
  source = { registry = "https://pypi.org/simple" }
304
304
  dependencies = [
305
305
  { name = "colorama" },
306
306
  ]
307
- sdist = { url = "https://files.pythonhosted.org/packages/59/08/7df7e90e34d08ad890bd71d7ba19451052f88dc3d2c483d228d1331a4736/griffe-1.7.2.tar.gz", hash = "sha256:98d396d803fab3b680c2608f300872fd57019ed82f0672f5b5323a9ad18c540c", size = 394919 }
307
+ sdist = { url = "https://files.pythonhosted.org/packages/a9/3e/5aa9a61f7c3c47b0b52a1d930302992229d191bf4bc76447b324b731510a/griffe-1.7.3.tar.gz", hash = "sha256:52ee893c6a3a968b639ace8015bec9d36594961e156e23315c8e8e51401fa50b", size = 395137 }
308
308
  wheels = [
309
- { url = "https://files.pythonhosted.org/packages/b1/5e/38b408f41064c9fcdbb0ea27c1bd13a1c8657c4846e04dab9f5ea770602c/griffe-1.7.2-py3-none-any.whl", hash = "sha256:1ed9c2e338a75741fc82083fe5a1bc89cb6142efe126194cc313e34ee6af5423", size = 129187 },
309
+ { url = "https://files.pythonhosted.org/packages/58/c6/5c20af38c2a57c15d87f7f38bee77d63c1d2a3689f74fefaf35915dd12b2/griffe-1.7.3-py3-none-any.whl", hash = "sha256:c6b3ee30c2f0f17f30bcdef5068d6ab7a2a4f1b8bf1a3e74b56fffd21e1c5f75", size = 129303 },
310
310
  ]
311
311
 
312
312
  [[package]]
313
313
  name = "h11"
314
- version = "0.14.0"
314
+ version = "0.16.0"
315
315
  source = { registry = "https://pypi.org/simple" }
316
- sdist = { url = "https://files.pythonhosted.org/packages/f5/38/3af3d3633a34a3316095b39c8e8fb4853a28a536e55d347bd8d8e9a14b03/h11-0.14.0.tar.gz", hash = "sha256:8f19fbbe99e72420ff35c00b27a34cb9937e902a8b810e2c88300c6f0a3b699d", size = 100418 }
316
+ sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250 }
317
317
  wheels = [
318
- { url = "https://files.pythonhosted.org/packages/95/04/ff642e65ad6b90db43e668d70ffb6736436c7ce41fcc549f4e9472234127/h11-0.14.0-py3-none-any.whl", hash = "sha256:e3fe4ac4b851c468cc8363d500db52c2ead036020723024a109d37346efaa761", size = 58259 },
318
+ { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515 },
319
319
  ]
320
320
 
321
321
  [[package]]
322
322
  name = "httpcore"
323
- version = "1.0.8"
323
+ version = "1.0.9"
324
324
  source = { registry = "https://pypi.org/simple" }
325
325
  dependencies = [
326
326
  { name = "certifi" },
327
327
  { name = "h11" },
328
328
  ]
329
- sdist = { url = "https://files.pythonhosted.org/packages/9f/45/ad3e1b4d448f22c0cff4f5692f5ed0666658578e358b8d58a19846048059/httpcore-1.0.8.tar.gz", hash = "sha256:86e94505ed24ea06514883fd44d2bc02d90e77e7979c8eb71b90f41d364a1bad", size = 85385 }
329
+ sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484 }
330
330
  wheels = [
331
- { url = "https://files.pythonhosted.org/packages/18/8d/f052b1e336bb2c1fc7ed1aaed898aa570c0b61a09707b108979d9fc6e308/httpcore-1.0.8-py3-none-any.whl", hash = "sha256:5254cf149bcb5f75e9d1b2b9f729ea4a4b883d1ad7379fc632b727cec23674be", size = 78732 },
331
+ { url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784 },
332
332
  ]
333
333
 
334
334
  [[package]]
@@ -633,11 +633,11 @@ wheels = [
633
633
 
634
634
  [[package]]
635
635
  name = "mypy-extensions"
636
- version = "1.0.0"
636
+ version = "1.1.0"
637
637
  source = { registry = "https://pypi.org/simple" }
638
- sdist = { url = "https://files.pythonhosted.org/packages/98/a4/1ab47638b92648243faf97a5aeb6ea83059cc3624972ab6b8d2316078d3f/mypy_extensions-1.0.0.tar.gz", hash = "sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782", size = 4433 }
638
+ sdist = { url = "https://files.pythonhosted.org/packages/a2/6e/371856a3fb9d31ca8dac321cda606860fa4548858c0cc45d9d1d4ca2628b/mypy_extensions-1.1.0.tar.gz", hash = "sha256:52e68efc3284861e772bbcd66823fde5ae21fd2fdb51c62a211403730b916558", size = 6343 }
639
639
  wheels = [
640
- { url = "https://files.pythonhosted.org/packages/2a/e2/5d3f6ada4297caebe1a2add3b126fe800c96f56dbe5d1988a2cbe0b267aa/mypy_extensions-1.0.0-py3-none-any.whl", hash = "sha256:4392f6c0eb8a5668a69e23d168ffa70f0be9ccfd32b5cc2d26a34ae5b844552d", size = 4695 },
640
+ { url = "https://files.pythonhosted.org/packages/79/7b/2c79738432f5c924bef5071f933bcc9efd0473bac3b4aa584a6f7c1c8df8/mypy_extensions-1.1.0-py3-none-any.whl", hash = "sha256:1be4cccdb0f2482337c4743e60421de3a356cd97508abadd57d47403e94f5505", size = 4963 },
641
641
  ]
642
642
 
643
643
  [[package]]
@@ -696,16 +696,16 @@ wheels = [
696
696
 
697
697
  [[package]]
698
698
  name = "poethepoet"
699
- version = "0.33.1"
699
+ version = "0.34.0"
700
700
  source = { registry = "https://pypi.org/simple" }
701
701
  dependencies = [
702
702
  { name = "pastel" },
703
703
  { name = "pyyaml" },
704
704
  { name = "tomli", marker = "python_full_version < '3.11'" },
705
705
  ]
706
- sdist = { url = "https://files.pythonhosted.org/packages/cd/1d/ec87271390cc5fafdd5996137331ad3a7ce99b715e4ee68db554d202817f/poethepoet-0.33.1.tar.gz", hash = "sha256:8775e09b64f773278b5483659ff238a708723491efadeedd1c2cbf773558cb4c", size = 62536 }
706
+ sdist = { url = "https://files.pythonhosted.org/packages/b3/f2/3853d6a9a0dac08aa680895839eeab8ec0ed63db375e1f782e623c9309b6/poethepoet-0.34.0.tar.gz", hash = "sha256:86203acce555bbfe45cb6ccac61ba8b16a5784264484195874da457ddabf5850", size = 64474 }
707
707
  wheels = [
708
- { url = "https://files.pythonhosted.org/packages/34/ea/c476bfec360eb6831ce46df2719f76d1132b9a87da11c302081a9def5fce/poethepoet-0.33.1-py3-none-any.whl", hash = "sha256:b86d80a81b2ca4e4ce8e8f716cc6004a1a1cdead027778bc07d1c26cb3664770", size = 83512 },
708
+ { url = "https://files.pythonhosted.org/packages/da/d1/61431afe22577083fcb50614bc5e5aa73aa0ab35e3fc2ae49708a59ff70b/poethepoet-0.34.0-py3-none-any.whl", hash = "sha256:c472d6f0fdb341b48d346f4ccd49779840c15b30dfd6bc6347a80d6274b5e34e", size = 85851 },
709
709
  ]
710
710
 
711
711
  [[package]]
@@ -1008,27 +1008,27 @@ wheels = [
1008
1008
 
1009
1009
  [[package]]
1010
1010
  name = "ruff"
1011
- version = "0.11.6"
1012
- source = { registry = "https://pypi.org/simple" }
1013
- sdist = { url = "https://files.pythonhosted.org/packages/d9/11/bcef6784c7e5d200b8a1f5c2ddf53e5da0efec37e6e5a44d163fb97e04ba/ruff-0.11.6.tar.gz", hash = "sha256:bec8bcc3ac228a45ccc811e45f7eb61b950dbf4cf31a67fa89352574b01c7d79", size = 4010053 }
1014
- wheels = [
1015
- { url = "https://files.pythonhosted.org/packages/6e/1f/8848b625100ebcc8740c8bac5b5dd8ba97dd4ee210970e98832092c1635b/ruff-0.11.6-py3-none-linux_armv6l.whl", hash = "sha256:d84dcbe74cf9356d1bdb4a78cf74fd47c740bf7bdeb7529068f69b08272239a1", size = 10248105 },
1016
- { url = "https://files.pythonhosted.org/packages/e0/47/c44036e70c6cc11e6ee24399c2a1e1f1e99be5152bd7dff0190e4b325b76/ruff-0.11.6-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:9bc583628e1096148011a5d51ff3c836f51899e61112e03e5f2b1573a9b726de", size = 11001494 },
1017
- { url = "https://files.pythonhosted.org/packages/ed/5b/170444061650202d84d316e8f112de02d092bff71fafe060d3542f5bc5df/ruff-0.11.6-py3-none-macosx_11_0_arm64.whl", hash = "sha256:f2959049faeb5ba5e3b378709e9d1bf0cab06528b306b9dd6ebd2a312127964a", size = 10352151 },
1018
- { url = "https://files.pythonhosted.org/packages/ff/91/f02839fb3787c678e112c8865f2c3e87cfe1744dcc96ff9fc56cfb97dda2/ruff-0.11.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:63c5d4e30d9d0de7fedbfb3e9e20d134b73a30c1e74b596f40f0629d5c28a193", size = 10541951 },
1019
- { url = "https://files.pythonhosted.org/packages/9e/f3/c09933306096ff7a08abede3cc2534d6fcf5529ccd26504c16bf363989b5/ruff-0.11.6-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:26a4b9a4e1439f7d0a091c6763a100cef8fbdc10d68593df6f3cfa5abdd9246e", size = 10079195 },
1020
- { url = "https://files.pythonhosted.org/packages/e0/0d/a87f8933fccbc0d8c653cfbf44bedda69c9582ba09210a309c066794e2ee/ruff-0.11.6-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b5edf270223dd622218256569636dc3e708c2cb989242262fe378609eccf1308", size = 11698918 },
1021
- { url = "https://files.pythonhosted.org/packages/52/7d/8eac0bd083ea8a0b55b7e4628428203441ca68cd55e0b67c135a4bc6e309/ruff-0.11.6-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:f55844e818206a9dd31ff27f91385afb538067e2dc0beb05f82c293ab84f7d55", size = 12319426 },
1022
- { url = "https://files.pythonhosted.org/packages/c2/dc/d0c17d875662d0c86fadcf4ca014ab2001f867621b793d5d7eef01b9dcce/ruff-0.11.6-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1d8f782286c5ff562e4e00344f954b9320026d8e3fae2ba9e6948443fafd9ffc", size = 11791012 },
1023
- { url = "https://files.pythonhosted.org/packages/f9/f3/81a1aea17f1065449a72509fc7ccc3659cf93148b136ff2a8291c4bc3ef1/ruff-0.11.6-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:01c63ba219514271cee955cd0adc26a4083df1956d57847978383b0e50ffd7d2", size = 13949947 },
1024
- { url = "https://files.pythonhosted.org/packages/61/9f/a3e34de425a668284e7024ee6fd41f452f6fa9d817f1f3495b46e5e3a407/ruff-0.11.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:15adac20ef2ca296dd3d8e2bedc6202ea6de81c091a74661c3666e5c4c223ff6", size = 11471753 },
1025
- { url = "https://files.pythonhosted.org/packages/df/c5/4a57a86d12542c0f6e2744f262257b2aa5a3783098ec14e40f3e4b3a354a/ruff-0.11.6-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:4dd6b09e98144ad7aec026f5588e493c65057d1b387dd937d7787baa531d9bc2", size = 10417121 },
1026
- { url = "https://files.pythonhosted.org/packages/58/3f/a3b4346dff07ef5b862e2ba06d98fcbf71f66f04cf01d375e871382b5e4b/ruff-0.11.6-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:45b2e1d6c0eed89c248d024ea95074d0e09988d8e7b1dad8d3ab9a67017a5b03", size = 10073829 },
1027
- { url = "https://files.pythonhosted.org/packages/93/cc/7ed02e0b86a649216b845b3ac66ed55d8aa86f5898c5f1691797f408fcb9/ruff-0.11.6-py3-none-musllinux_1_2_i686.whl", hash = "sha256:bd40de4115b2ec4850302f1a1d8067f42e70b4990b68838ccb9ccd9f110c5e8b", size = 11076108 },
1028
- { url = "https://files.pythonhosted.org/packages/39/5e/5b09840fef0eff1a6fa1dea6296c07d09c17cb6fb94ed5593aa591b50460/ruff-0.11.6-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:77cda2dfbac1ab73aef5e514c4cbfc4ec1fbef4b84a44c736cc26f61b3814cd9", size = 11512366 },
1029
- { url = "https://files.pythonhosted.org/packages/6f/4c/1cd5a84a412d3626335ae69f5f9de2bb554eea0faf46deb1f0cb48534042/ruff-0.11.6-py3-none-win32.whl", hash = "sha256:5151a871554be3036cd6e51d0ec6eef56334d74dfe1702de717a995ee3d5b287", size = 10485900 },
1030
- { url = "https://files.pythonhosted.org/packages/42/46/8997872bc44d43df986491c18d4418f1caff03bc47b7f381261d62c23442/ruff-0.11.6-py3-none-win_amd64.whl", hash = "sha256:cce85721d09c51f3b782c331b0abd07e9d7d5f775840379c640606d3159cae0e", size = 11558592 },
1031
- { url = "https://files.pythonhosted.org/packages/d7/6a/65fecd51a9ca19e1477c3879a7fda24f8904174d1275b419422ac00f6eee/ruff-0.11.6-py3-none-win_arm64.whl", hash = "sha256:3567ba0d07fb170b1b48d944715e3294b77f5b7679e8ba258199a250383ccb79", size = 10682766 },
1011
+ version = "0.11.7"
1012
+ source = { registry = "https://pypi.org/simple" }
1013
+ sdist = { url = "https://files.pythonhosted.org/packages/5b/89/6f9c9674818ac2e9cc2f2b35b704b7768656e6b7c139064fc7ba8fbc99f1/ruff-0.11.7.tar.gz", hash = "sha256:655089ad3224070736dc32844fde783454f8558e71f501cb207485fe4eee23d4", size = 4054861 }
1014
+ wheels = [
1015
+ { url = "https://files.pythonhosted.org/packages/b4/ec/21927cb906c5614b786d1621dba405e3d44f6e473872e6df5d1a6bca0455/ruff-0.11.7-py3-none-linux_armv6l.whl", hash = "sha256:d29e909d9a8d02f928d72ab7837b5cbc450a5bdf578ab9ebee3263d0a525091c", size = 10245403 },
1016
+ { url = "https://files.pythonhosted.org/packages/e2/af/fec85b6c2c725bcb062a354dd7cbc1eed53c33ff3aa665165871c9c16ddf/ruff-0.11.7-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:dd1fb86b168ae349fb01dd497d83537b2c5541fe0626e70c786427dd8363aaee", size = 11007166 },
1017
+ { url = "https://files.pythonhosted.org/packages/31/9a/2d0d260a58e81f388800343a45898fd8df73c608b8261c370058b675319a/ruff-0.11.7-py3-none-macosx_11_0_arm64.whl", hash = "sha256:d3d7d2e140a6fbbc09033bce65bd7ea29d6a0adeb90b8430262fbacd58c38ada", size = 10378076 },
1018
+ { url = "https://files.pythonhosted.org/packages/c2/c4/9b09b45051404d2e7dd6d9dbcbabaa5ab0093f9febcae664876a77b9ad53/ruff-0.11.7-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4809df77de390a1c2077d9b7945d82f44b95d19ceccf0c287c56e4dc9b91ca64", size = 10557138 },
1019
+ { url = "https://files.pythonhosted.org/packages/5e/5e/f62a1b6669870a591ed7db771c332fabb30f83c967f376b05e7c91bccd14/ruff-0.11.7-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f3a0c2e169e6b545f8e2dba185eabbd9db4f08880032e75aa0e285a6d3f48201", size = 10095726 },
1020
+ { url = "https://files.pythonhosted.org/packages/45/59/a7aa8e716f4cbe07c3500a391e58c52caf665bb242bf8be42c62adef649c/ruff-0.11.7-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:49b888200a320dd96a68e86736cf531d6afba03e4f6cf098401406a257fcf3d6", size = 11672265 },
1021
+ { url = "https://files.pythonhosted.org/packages/dd/e3/101a8b707481f37aca5f0fcc3e42932fa38b51add87bfbd8e41ab14adb24/ruff-0.11.7-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:2b19cdb9cf7dae00d5ee2e7c013540cdc3b31c4f281f1dacb5a799d610e90db4", size = 12331418 },
1022
+ { url = "https://files.pythonhosted.org/packages/dd/71/037f76cbe712f5cbc7b852e4916cd3cf32301a30351818d32ab71580d1c0/ruff-0.11.7-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:64e0ee994c9e326b43539d133a36a455dbaab477bc84fe7bfbd528abe2f05c1e", size = 11794506 },
1023
+ { url = "https://files.pythonhosted.org/packages/ca/de/e450b6bab1fc60ef263ef8fcda077fb4977601184877dce1c59109356084/ruff-0.11.7-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bad82052311479a5865f52c76ecee5d468a58ba44fb23ee15079f17dd4c8fd63", size = 13939084 },
1024
+ { url = "https://files.pythonhosted.org/packages/0e/2c/1e364cc92970075d7d04c69c928430b23e43a433f044474f57e425cbed37/ruff-0.11.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7940665e74e7b65d427b82bffc1e46710ec7f30d58b4b2d5016e3f0321436502", size = 11450441 },
1025
+ { url = "https://files.pythonhosted.org/packages/9d/7d/1b048eb460517ff9accd78bca0fa6ae61df2b276010538e586f834f5e402/ruff-0.11.7-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:169027e31c52c0e36c44ae9a9c7db35e505fee0b39f8d9fca7274a6305295a92", size = 10441060 },
1026
+ { url = "https://files.pythonhosted.org/packages/3a/57/8dc6ccfd8380e5ca3d13ff7591e8ba46a3b330323515a4996b991b10bd5d/ruff-0.11.7-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:305b93f9798aee582e91e34437810439acb28b5fc1fee6b8205c78c806845a94", size = 10058689 },
1027
+ { url = "https://files.pythonhosted.org/packages/23/bf/20487561ed72654147817885559ba2aa705272d8b5dee7654d3ef2dbf912/ruff-0.11.7-py3-none-musllinux_1_2_i686.whl", hash = "sha256:a681db041ef55550c371f9cd52a3cf17a0da4c75d6bd691092dfc38170ebc4b6", size = 11073703 },
1028
+ { url = "https://files.pythonhosted.org/packages/9d/27/04f2db95f4ef73dccedd0c21daf9991cc3b7f29901a4362057b132075aa4/ruff-0.11.7-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:07f1496ad00a4a139f4de220b0c97da6d4c85e0e4aa9b2624167b7d4d44fd6b6", size = 11532822 },
1029
+ { url = "https://files.pythonhosted.org/packages/e1/72/43b123e4db52144c8add336581de52185097545981ff6e9e58a21861c250/ruff-0.11.7-py3-none-win32.whl", hash = "sha256:f25dfb853ad217e6e5f1924ae8a5b3f6709051a13e9dad18690de6c8ff299e26", size = 10362436 },
1030
+ { url = "https://files.pythonhosted.org/packages/c5/a0/3e58cd76fdee53d5c8ce7a56d84540833f924ccdf2c7d657cb009e604d82/ruff-0.11.7-py3-none-win_amd64.whl", hash = "sha256:0a931d85959ceb77e92aea4bbedfded0a31534ce191252721128f77e5ae1f98a", size = 11566676 },
1031
+ { url = "https://files.pythonhosted.org/packages/68/ca/69d7c7752bce162d1516e5592b1cc6b6668e9328c0d270609ddbeeadd7cf/ruff-0.11.7-py3-none-win_arm64.whl", hash = "sha256:778c1e5d6f9e91034142dfd06110534ca13220bfaad5c3735f6cb844654f6177", size = 10677936 },
1032
1032
  ]
1033
1033
 
1034
1034
  [[package]]
@@ -1,18 +0,0 @@
1
- from typing import Never
2
-
3
- import typer
4
- from rich import print
5
- from rich.panel import Panel
6
-
7
-
8
- def print_error(msg: str) -> Never:
9
- print(
10
- Panel(
11
- title="Error",
12
- renderable=msg.capitalize(),
13
- title_align="left",
14
- border_style="red",
15
- highlight=True,
16
- )
17
- )
18
- raise typer.Exit(code=1)
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
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
File without changes
File without changes
File without changes
File without changes
File without changes