-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (89 loc) · 2.88 KB
/
pyproject.toml
File metadata and controls
101 lines (89 loc) · 2.88 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "aleatoric-hypercore-sdk"
version = "0.3.1"
description = "Aleatoric Systems Hypercore Python SDK for Hyperliquid market data, dedicated streams, and gRPC."
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10"
authors = [
{ name = "Aleatoric Systems", email = "github@aleatoric.systems" }
]
keywords = ["aleatoric-systems", "aleatoric", "hypercore", "hyperliquid", "sdk", "python", "grpc", "websocket", "mcp", "market-data", "synthetic-data", "backtesting", "trading", "fintech", "quantitative-finance", "perpetuals", "futures", "order-book"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules"
]
dependencies = [
"grpcio>=1.66.0,<1.72.0",
"grpcio-health-checking>=1.66.0,<1.72.0",
"grpcio-reflection>=1.66.0,<1.72.0",
"protobuf>=5.26.1,<6.0.0",
"httpx>=0.27.0",
"typing-extensions>=4.6.0",
"websockets>=12.0",
]
[project.optional-dependencies]
dev = [
"build>=1.2.2,<2.0.0",
"mypy>=1.10.0,<2.0.0",
"pytest>=8.3.0,<9.0.0",
"pytest-asyncio>=0.23.0,<1.0.0",
"pytest-cov>=5.0.0,<6.0.0",
"twine>=5.1.1,<7.0.0",
]
[project.scripts]
hypercore-sdk = "hypercore_sdk.cli:main"
hypercore-sdk-mcp = "hypercore_sdk.mcp_cli:main"
[project.urls]
Homepage = "https://aleatoric.systems"
Documentation = "https://github.com/aleatoric/hypercore-python-sdk#readme"
Repository = "https://github.com/aleatoric/hypercore-python-sdk"
Issues = "https://github.com/aleatoric/hypercore-python-sdk/issues"
Support = "https://aleatoric.systems/contact"
[tool.setuptools]
packages = ["hypercore_sdk", "hypercore_sdk.proto"]
[tool.setuptools.package-data]
hypercore_sdk = ["py.typed"]
[tool.pytest.ini_options]
addopts = "-q --strict-markers --disable-warnings --cov=hypercore_sdk --cov-report=term-missing --cov-report=xml --cov-fail-under=90"
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.coverage.run]
branch = true
source = ["hypercore_sdk"]
omit = [
"tests/*",
"hypercore_sdk/proto/*",
]
[tool.coverage.report]
show_missing = true
skip_covered = false
[tool.mypy]
python_version = "3.10"
warn_unused_configs = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unreachable = true
strict_equality = true
check_untyped_defs = true
no_implicit_optional = true
ignore_missing_imports = true
exclude = "(^tests/|^hypercore_sdk/proto/)"
[[tool.mypy.overrides]]
module = "hypercore_sdk.*"
disallow_untyped_defs = true
disallow_incomplete_defs = true
warn_return_any = true
[[tool.mypy.overrides]]
module = "hypercore_sdk.proto.*"
ignore_errors = true