-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (69 loc) · 1.97 KB
/
pyproject.toml
File metadata and controls
80 lines (69 loc) · 1.97 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "orloj-sdk"
dynamic = ["version"]
description = "Official Python SDK for the Orloj multi-agent orchestration platform"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10"
authors = [{ name = "Orloj HQ" }]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dependencies = ["httpx>=0.27,<1", "pydantic>=2.5,<3", "typing-extensions>=4.8"]
[project.urls]
Homepage = "https://orloj.dev"
Documentation = "https://docs.orloj.dev"
Repository = "https://github.com/OrlojHQ/orloj-python-sdk"
Issues = "https://github.com/OrlojHQ/orloj-python-sdk/issues"
[project.optional-dependencies]
dev = [
"pytest>=8",
"pytest-asyncio>=0.23",
"pytest-cov>=4",
"pytest-httpx>=0.30",
"respx>=0.21",
"ruff>=0.3",
"mypy>=1.9",
"coverage>=7",
]
[tool.hatch.build.targets.wheel]
packages = ["src/orloj_sdk"]
# Package version comes from Git tags (e.g. v0.1.0). Tag the release; no manual bump in pyproject.
[tool.hatch.version]
source = "vcs"
fallback-version = "0.1.0"
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "TC"]
ignore = ["TC001", "TC002", "TC003"]
[tool.mypy]
python_version = "3.10"
strict = true
plugins = ["pydantic.mypy"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
markers = [
"integration: requires a live Orloj server (set ORLOJ_INTEGRATION_TEST=1)",
]
[tool.coverage.run]
branch = true
source = ["src/orloj_sdk"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
"if __name__ == .__main__.:",
]