-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (99 loc) · 2.91 KB
/
pyproject.toml
File metadata and controls
110 lines (99 loc) · 2.91 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
[project]
name = "arkiv-sdk"
version = "1.0.0b2"
description = "Python SDK for Arkiv networks - Web3.py + Entities"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "Arkiv Network", email = "matthias.zimmermann@golem.network"}
]
keywords = ["arkiv", "web3", "blockchain", "ethereum", "storage", "entities", "l2", "layer2"]
classifiers = [
"Development Status :: 3 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Distributed Computing",
]
dependencies = [
"brotli>=1.1.0",
"web3>=7.13.0,<7.14.0",
"zstd>=1.5.7.2",
]
[project.urls]
Homepage = "https://github.com/Arkiv-Network/arkiv-sdk-python"
Documentation = "https://github.com/Arkiv-Network/arkiv-sdk-python#readme"
Repository = "https://github.com/Arkiv-Network/arkiv-sdk-python"
Issues = "https://github.com/Arkiv-Network/arkiv-sdk-python/issues"
Changelog = "https://github.com/Arkiv-Network/arkiv-sdk-python/blob/main/CHANGELOG.md"
[project.optional-dependencies]
# Optional: Local development node support (ArkivNode)
dev = [
"testcontainers>=4.13.1",
"websockets>=13.0",
]
[dependency-groups]
test = [
"pytest>=8.4.2",
"pytest-asyncio>=0.24.0",
"pytest-cov>=7.0.0",
"pytest-xdist>=3.8.0",
"testcontainers>=4.13.1",
"websockets>=13.0",
"python-dotenv>=1.0.0",
"pytest-rerunfailures>=16.1",
]
lint = [
"mypy>=1.13.0",
"ruff==0.13.2",
"pre-commit>=4.0.0",
]
dev = [
"ipython>=8.37.0",
"testcontainers>=4.13.1",
"websockets>=13.0",
]
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
addopts = "--reruns 2 --reruns-delay 1 --ignore=tests/test_query_sorting.py"
filterwarnings = [
"ignore:The @wait_container_is_ready decorator is deprecated.*:DeprecationWarning:testcontainers.*",
"ignore:websockets.legacy is deprecated;.*",
]
[tool.mypy]
# Strict type checking configuration
strict = true
warn_return_any = true
warn_unused_configs = true
no_implicit_reexport = true
show_error_codes = true
show_column_numbers = true
# Per-module options
[[tool.mypy.overrides]]
module = [
"testcontainers.*",
"websockets.*",
]
ignore_missing_imports = true
[tool.ruff]
line-length = 88
target-version = "py312"
[tool.ruff.lint]
select = ["E", "W", "F", "I", "B", "C4", "UP", "RUF"]
ignore = [
"E501", # Line too long (handled by formatter)
"UP046", # Generic class uses Generic subclass (need Python 3.10 compatibility)
]
[tool.ruff.format]
quote-style = "double"