-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (85 loc) · 1.98 KB
/
pyproject.toml
File metadata and controls
93 lines (85 loc) · 1.98 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "toolcase"
version = "0.2.0"
description = "Type-safe, extensible tool framework for AI agents with monadic error handling"
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
keywords = ["ai", "tools", "agents", "langchain", "llm", "mcp", "model-context-protocol"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dependencies = [
"pydantic>=2.7",
"pydantic-settings>=2.2",
"pydantic-extra-types>=2.6",
"beartype>=0.18",
"orjson>=3.9",
"msgpack>=1.0",
"msgspec>=0.18",
"structlog>=24.1",
"httpx>=0.27",
"stamina>=24.3",
]
[project.optional-dependencies]
langchain = [
"langchain-core>=0.2",
]
mcp = [
"fastmcp>=2.0",
]
http = [
"starlette>=0.37",
"uvicorn>=0.29",
]
redis = [
"redis>=5.0",
]
memcached = [
"pymemcache>=4.0",
]
otel = [
"opentelemetry-api>=1.20",
"opentelemetry-sdk>=1.20",
"opentelemetry-exporter-otlp-proto-grpc>=1.20",
"opentelemetry-exporter-otlp-proto-http>=1.20",
"opentelemetry-instrumentation-httpx>=0.42b0",
]
all = [
"toolcase[langchain,mcp,http,redis,memcached,otel]",
]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"hypothesis>=6.100",
"ruff>=0.4",
"mypy>=1.10",
]
[project.scripts]
toolcase = "toolcase.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/toolcase"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "TCH"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_ignores = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]