Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
159 lines (142 loc) · 4.55 KB
/
Copy pathpyproject.toml
File metadata and controls
159 lines (142 loc) · 4.55 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
[build-system]
requires = ["hatchling>=1.27.0", "hatch-vcs>=0.4.0"]
build-backend = "hatchling.build"
[project]
name = "orcapod"
description = "Intuitive and powerful library for highly reproducible scientific data pipeline"
dynamic = ["version"]
dependencies = [
"xxhash",
"networkx",
"pandas>=2.2.3,<3",
"pyarrow>=22.0.0",
"polars>=1.36.0",
"numpy>=1.26.4",
"beartype>=0.21.0",
"deltalake>=1.0.2",
"gitpython>=3.1.45",
"universal-pathlib>=0.3.8",
"starfix>=0.5.0,<0.6",
"tzdata>=2024.1",
"uuid-utils>=0.11.1",
"s3fs>=2025.12.0",
"pydantic>=2.0",
"typer>=0.12",
]
readme = "README.md"
requires-python = ">=3.11.0"
license = "MIT"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
]
[project.urls]
Homepage = "https://github.com/metamorphic-labs/orcapod-python"
Repository = "https://github.com/metamorphic-labs/orcapod-python"
Changelog = "https://github.com/metamorphic-labs/orcapod-python/blob/main/CHANGELOG.md"
Issues = "https://github.com/metamorphic-labs/orcapod-python/issues"
[project.optional-dependencies]
redis = ["redis>=6.2.0"]
ray = ["ray[default]==2.48.0", "ipywidgets>=8.1.7"]
postgresql = ["psycopg[binary]>=3.0"]
spiraldb = [
"pyspiral>=0.16.33",
]
# Convenience extra that installs PyTorch. Orcapod's torch.Tensor support depends only on
# torch being importable, however it was installed (ITL-871). 2.6 is the first version whose
# restricted loader (torch.load(weights_only=True)) reads uint16, uint32 and uint64 tensors.
torch = ["torch>=2.6"]
all = [
"orcapod[redis]",
"orcapod[ray]",
"orcapod[postgresql]",
"orcapod[spiraldb]",
"orcapod[torch]",
]
[project.scripts]
orcapod = "orcapod.cli:app"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/orcapod/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/orcapod"]
[tool.hatch.build.targets.sdist]
only-include = ["src/orcapod", "README.md", "LICENSE"]
[dependency-groups]
dev = [
"basedpyright>=1.38.1",
"httpie>=3.2.4",
"hypothesis>=6.0",
"hydra-core>=1.3.2",
"ipykernel>=6.29.5",
"ipywidgets>=8.1.7",
"jsonschema>=4.25.0",
"moto[s3]>=5.1",
"flask>=3.0",
"flask-cors>=5.0",
"pre-commit>=4.4.0",
"pre-commit-hooks>=6.0.0",
"pyarrow-stubs>=20.0.0.20250716",
"pyiceberg>=0.9.1",
"pyright>=1.1.404",
"pytest>=8.3.5",
"pytest-asyncio>=1.3.0",
"pytest-cov>=6.1.1",
"pytest-xdist>=3.6",
"psycopg[binary]>=3.0",
"ray[default]==2.48.0",
"redis>=6.2.0",
"ruff>=0.14.4",
"testcontainers[postgres]>=4.0.0",
"pip-licenses>=5.0.0",
"tqdm>=4.67.1",
"typing_extensions",
# The API reference of the documentation site is generated with griffe
# (scripts/docs_site_api.py).
"griffelib>=2.0.2",
# torch for the torch.Tensor tests: the default `uv run` sync (the org-required pytest
# and typecheck jobs) installs the dev group but no extras (ITL-871).
"orcapod[torch]",
]
[[tool.uv.index]]
# CPU-only PyTorch wheels, so Linux CI never downloads the CUDA stack (ITL-871). Only uv
# uses this; `pip install orcapod[torch]` installs torch from PyPI as usual.
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[tool.uv.sources]
torch = [{ index = "pytorch-cpu", marker = "sys_platform == 'linux'" }]
[tool.ruff]
target-version = "py311"
line-length = 88
[tool.basedpyright]
# Strictness stays at the basedpyright default. Existing errors and warnings are
# recorded in .basedpyright/baseline.json; new errors fail the check.
# Warnings are reported but do not fail it (the recommended mode's default is to
# fail on warnings; relaxed by developer decision on 2026-11-09, ITL-826).
failOnWarnings = false
# Analyse as the oldest supported Python (the version CI type-checks on), so a
# local run under another interpreter reports the same errors as CI.
pythonVersion = "3.11"
# Setting `exclude` replaces the built-in defaults, so they are repeated here.
exclude = [
"**/node_modules",
"**/__pycache__",
"**/.*",
"build",
"dist",
"site",
]
[tool.coverage.run]
omit = [
"src/orcapod/extension_types/protocols.py", # Protocol stubs — bodies are all `...`, not executable
]
[tool.coverage.report]
# Exclude lines that are never executed at runtime and cannot be covered by tests.
exclude_also = [
"if TYPE_CHECKING:", # typing-only imports; evaluated by type checkers only
]