modern-di-faststream 0.1.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.
@@ -0,0 +1,22 @@
1
+ # Generic things
2
+ *.pyc
3
+ *~
4
+ __pycache__/*
5
+ *.swp
6
+ *.sqlite3
7
+ *.map
8
+ .vscode
9
+ .idea
10
+ .DS_Store
11
+ .env
12
+ .mypy_cache
13
+ .pytest_cache
14
+ .ruff_cache
15
+ .coverage
16
+ htmlcov/
17
+ coverage.xml
18
+ pytest.xml
19
+ dist/
20
+ .python-version
21
+ .venv
22
+ uv.lock
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.4
2
+ Name: modern-di-faststream
3
+ Version: 0.1.0
4
+ Summary: Modern-DI integration for FastStream
5
+ Project-URL: repository, https://github.com/modern-python/modern-di
6
+ Project-URL: docs, https://modern-di.readthedocs.io
7
+ Author-email: Artur Shiriev <me@shiriev.ru>
8
+ License-Expression: MIT
9
+ Keywords: DI,FastStream,dependency injector,ioc-container,python
10
+ Classifier: Programming Language :: Python :: 3.10
11
+ Classifier: Programming Language :: Python :: 3.11
12
+ Classifier: Programming Language :: Python :: 3.12
13
+ Classifier: Programming Language :: Python :: 3.13
14
+ Classifier: Topic :: Software Development :: Libraries
15
+ Classifier: Typing :: Typed
16
+ Requires-Python: <4,>=3.10
17
+ Requires-Dist: faststream
18
+ Requires-Dist: modern-di
19
+ Description-Content-Type: text/markdown
20
+
21
+ "Modern-DI-FastStream"
22
+ ==
23
+
24
+ Integration of [Modern-DI](https://github.com/modern-python/modern-di) to FastStream
25
+
26
+ 📚 [Documentation](https://modern-di.readthedocs.io)
@@ -0,0 +1,6 @@
1
+ "Modern-DI-FastStream"
2
+ ==
3
+
4
+ Integration of [Modern-DI](https://github.com/modern-python/modern-di) to FastStream
5
+
6
+ 📚 [Documentation](https://modern-di.readthedocs.io)
@@ -0,0 +1,55 @@
1
+ [project]
2
+ name = "modern-di-faststream"
3
+ description = "Modern-DI integration for FastStream"
4
+ authors = [{ name = "Artur Shiriev", email = "me@shiriev.ru" }]
5
+ requires-python = ">=3.10,<4"
6
+ license = "MIT"
7
+ readme = "README.md"
8
+ keywords = ["DI", "dependency injector", "ioc-container", "FastStream", "python"]
9
+ classifiers = [
10
+ "Programming Language :: Python :: 3.10",
11
+ "Programming Language :: Python :: 3.11",
12
+ "Programming Language :: Python :: 3.12",
13
+ "Programming Language :: Python :: 3.13",
14
+ "Typing :: Typed",
15
+ "Topic :: Software Development :: Libraries",
16
+ ]
17
+ dependencies = ["faststream", "modern-di"]
18
+ dynamic = ["version"]
19
+
20
+ [project.urls]
21
+ repository = "https://github.com/modern-python/modern-di"
22
+ docs = "https://modern-di.readthedocs.io"
23
+
24
+ [dependency-groups]
25
+ dev = [
26
+ "faststream[nats]",
27
+ "pytest",
28
+ "pytest-cov",
29
+ "pytest-asyncio",
30
+ "ruff",
31
+ "mypy",
32
+ "typing-extensions",
33
+ "httpx",
34
+ "asgi-lifespan",
35
+ ]
36
+
37
+ [build-system]
38
+ requires = ["hatchling", "hatch-vcs"]
39
+ build-backend = "hatchling.build"
40
+
41
+ [tool.hatch.version]
42
+ source = "vcs"
43
+ raw-options.root = "../.."
44
+ fallback-version = "0"
45
+
46
+ [tool.hatch.build]
47
+ include = ["modern_di_fastapi"]
48
+
49
+ [tool.pytest.ini_options]
50
+ addopts = "--cov=. --cov-report term-missing"
51
+ asyncio_mode = "auto"
52
+ asyncio_default_fixture_loop_scope = "function"
53
+
54
+ [tool.coverage.report]
55
+ exclude_also = ["if typing.TYPE_CHECKING:"]