Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (61 loc) · 1.48 KB
/
Copy pathpyproject.toml
File metadata and controls
71 lines (61 loc) · 1.48 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
[build-system]
requires = ["hatchling>=1.26,<1.28"]
build-backend = "hatchling.build"
[project]
name = "exos-python-sdk"
version = "1.0.0"
description = "Python SDK for synchronous exchangeOS REST, EIP-712 signing, and WebSocket APIs"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "ExchangeOS SDK Contributors" }]
dependencies = [
"httpx>=0.27,<1",
"msgpack>=1.0,<2",
"eth-abi>=5.0.1,<6",
"eth-hash[pycryptodome]>=0.7,<1",
"eth-keys>=0.7,<1",
"eth-utils>=5,<6",
"websockets>=13,<16",
]
[project.optional-dependencies]
notebook = [
"ipykernel>=6.29,<8",
]
test = [
"pytest>=8,<10",
"pytest-asyncio>=0.24,<2",
"pytest-cov>=5,<8",
"ruff>=0.8,<1",
"mypy>=1.13,<2",
"build>=1.2,<2",
"twine>=5,<7",
]
[tool.hatch.build.targets.wheel]
packages = ["src/exos_python_sdk"]
[tool.hatch.build.targets.sdist]
exclude = ["/.claude", "/security-audit-*.md", "/tests"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
pythonpath = ["src"]
addopts = "--strict-markers --strict-config"
markers = [
"live: calls a deployed ExchangeOS API and is skipped unless explicitly enabled",
]
[tool.coverage.run]
branch = true
source = ["exos_python_sdk"]
[tool.coverage.report]
show_missing = true
skip_covered = true
fail_under = 90
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.mypy]
python_version = "3.10"
strict = true
packages = ["exos_python_sdk"]