Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
127 lines (116 loc) · 3.25 KB
/
Copy pathpyproject.toml
File metadata and controls
127 lines (116 loc) · 3.25 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
[build-system]
requires = ["setuptools>=77.0.0", "wheel", "cffi>=1.15"]
build-backend = "setuptools.build_meta"
[project]
name = "stdiobus"
version = "2.2.1"
description = "Python SDK for stdio_bus - AI agent transport layer"
readme = {file = "README.md", content-type = "text/markdown"}
license = "Apache-2.0"
license-files = ["LICENSE"]
authors = [
{name = "Raman Marozau", email = "raman@worktif.com"}
]
maintainers = [
{name = "Raman Marozau", email = "raman@worktif.com"}
]
keywords = [
"stdiobus",
"stdio-bus",
"acp",
"mcp",
"agent",
"ai",
"llm",
"transport",
"json-rpc",
"ndjson",
"agent-client-protocol",
"model-context-protocol"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Networking",
"Typing :: Typed",
]
requires-python = ">=3.10"
dependencies = []
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-asyncio>=0.21",
"mypy>=1.0",
"ruff>=0.1",
"build>=1.0",
"twine>=4.0",
]
native = [
"cffi>=1.15",
]
all = [
"stdiobus[dev,native]",
]
[project.urls]
Homepage = "https://stdiobus.com"
Documentation = "https://github.com/stdiobus/stdiobus-python/tree/main/#readme"
Repository = "https://github.com/stdiobus/stdiobus-python"
Issues = "https://github.com/stdiobus/stdiobus-python/issues"
Changelog = "https://github.com/stdiobus/stdiobus-python/blob/main/CHANGELOG.md"
[tool.setuptools]
package-dir = {"" = "."}
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
include = ["stdiobus*"]
[tool.setuptools.package-data]
stdiobus = ["py.typed", "*.pyi", "native/cdefs.h"]
# Include prebuilt kernel artifacts in the sdist/wheel so native build and
# subprocess backend can resolve them without external dependencies.
[tool.setuptools.data-files]
# Not used — we include via MANIFEST.in + include-package-data for non-package dirs.
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.mypy]
python_version = "3.10"
strict = true
warn_return_any = true
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
show_error_codes = true
namespace_packages = true
explicit_package_bases = true
[tool.ruff]
target-version = "py310"
line-length = 100
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.isort]
known-first-party = ["stdiobus"]