-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
140 lines (127 loc) · 3.18 KB
/
Copy pathpyproject.toml
File metadata and controls
140 lines (127 loc) · 3.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[build-system]
requires = ["uv_build==0.11.21"]
build-backend = "uv_build"
[project]
name = "faststream_fastapi"
description = "FastAPI integration for FastStream"
readme = "README.md"
authors = [
{ name = "Ivan Kirpichnikov", email = "mmssvvvv570@gmail.com" },
]
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.10"
version = "1.2.1"
keywords = [
"rabbitmq",
"kafka",
"nats",
"redis",
"mqtt",
"asyncapi",
"framework",
"message brokers",
"fastapi",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Topic :: System :: Networking",
"Topic :: System :: Distributed Computing",
"Typing :: Typed",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Environment :: Web Environment",
"Framework :: AsyncIO",
"Framework :: Pydantic",
"Framework :: Pydantic :: 1",
"Framework :: Pydantic :: 2",
]
dependencies = [
"fastapi<1.0.0",
"faststream>=0.7.0",
]
[dependency-groups]
linters = [
"ruff==0.16.0",
"typos==1.48.0",
"codespell==2.4.3",
]
static_analysis = [
"mypy==2.3.0",
"bandit==1.9.4",
"semgrep==1.171.0",
"zizmor==1.28.0",
]
docs = [
"zensical==0.0.51",
"mkdocstrings[python]==1.0.6",
]
testing = [
"pytest==9.1.1",
"pytest-asyncio==1.4.0",
"pytest-xdist==3.8.0",
"pytest-timeout==2.4.0",
"pytest-cov==7.1.0",
"covdefaults==2.3.0",
{ include-group = "testing-dependencies" },
]
testing-dependencies = [
"httpx2==2.5.0",
"asgi_lifespan==2.1.0",
"zmqtt==0.0.5",
"faststream[rabbit,kafka,confluent,nats,redis,mqtt]>=0.7.0",
]
dev = [
{ include-group = "docs"},
{ include-group = "testing" },
{ include-group = "linters" },
{ include-group = "static_analysis" },
]
[tool.uv.build-backend]
module-root = "src"
module-name = "faststream_fastapi"
[tool.pytest.ini_options]
minversion = "7.0"
timeout = 30
addopts = "--strict-markers --strict-config -q -m 'not slow'"
testpaths = ["tests"]
markers = [
"rabbit",
"kafka",
"confluent",
"nats",
"redis",
"redis_cluster",
"mqtt",
"slow",
"connected",
"all",
]
asyncio_default_fixture_loop_scope = "function"
[tool.coverage.run]
source = ["src/"]
relative_files = true
[tool.coverage.paths]
source = ["src/", "/app/src/"]
[tool.coverage.report]
exclude_lines = [
"pass",
"def __str__",
"raise AssertionError",
"raise NotImplementedError",
]