-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
149 lines (131 loc) · 3.21 KB
/
pyproject.toml
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
[project]
name = "rbyte"
version = "0.10.1"
description = "Multimodal PyTorch dataset library"
authors = [{ name = "Evgenii Gorchakov", email = "[email protected]" }]
maintainers = [{ name = "Evgenii Gorchakov", email = "[email protected]" }]
dependencies = [
"tensordict>=0.6.2",
"torch",
"numpy",
"polars>=1.16.0",
"pydantic>=2.10.2",
"more-itertools>=10.5.0",
"hydra-core>=1.3.2",
"optree>=0.13.1",
"cachetools>=5.5.0",
"diskcache>=5.6.3",
"parse>=1.20.2",
"structlog>=24.4.0",
"xxhash>=3.5.0",
"tqdm>=4.66.5",
"pipefunc>=0.41.0",
]
readme = "README.md"
requires-python = ">=3.12,<3.13"
license = { text = "Apache-2.0" }
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
[project.urls]
repo = "https://github.com/yaak-ai/rbyte"
[project.optional-dependencies]
build = ["hatchling>=1.25.0", "grpcio-tools>=1.62.0", "protoletariat==3.2.19"]
visualize = ["rerun-sdk[notebook]>=0.20.2"]
mcap = [
"mcap>=1.2.1",
"mcap-ros2-support>=0.5.5",
"protobuf",
"mcap-protobuf-support>=0.5.2",
]
yaak = ["protobuf", "ptars>=0.0.3"]
jpeg = ["simplejpeg>=1.7.6"]
video = [
"python-vali>=4.2.0.post0; sys_platform == 'linux'",
"video-reader-rs>=0.2.1",
]
hdf5 = ["h5py>=3.12.1"]
rrd = ["rerun-sdk>=0.20.2", "pyarrow-stubs"]
[project.scripts]
rbyte-visualize = 'rbyte.scripts.visualize:main'
[build-system]
requires = [
"hatchling>=1.25.0",
"grpcio-tools>=1.62.0",
"protoletariat==3.2.19",
]
build-backend = "hatchling.build"
[tool.uv]
dev-dependencies = [
"wat-inspector>=0.4.3",
"lovely-tensors>=0.1.18",
"pudb>=2024.1.2",
"ipython>=8.30.0",
"ipython-autoimport>=0.5",
"pytest>=8.3.3",
"testbook>=0.4.2",
"ipykernel>=6.29.5",
]
[tool.uv.sources]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build]
reproducible = true
[tool.hatch.build.targets.sdist]
include = ["src/rbyte"]
exclude = ["src/rbyte/io/yaak/idl-repo"]
artifacts = ["src/rbyte/io/yaak/proto/*_pb2.py*"]
[tool.hatch.build.targets.sdist.hooks.custom]
enable-by-default = true
require-runtime-features = ["build"]
[tool.hatch.build.targets.wheel]
packages = ["src/rbyte"]
artifacts = ["src/rbyte/io/yaak/proto/*_pb2.py*"]
[tool.basedpyright]
typeCheckingMode = "all"
enableTypeIgnoreComments = true
reportMissingTypeStubs = "none"
reportAny = "none"
reportExplicitAny = "none"
reportIgnoreCommentWithoutRule = "error"
venvPath = "."
venv = ".venv"
include = ["src/"]
ignore = ["src/**/*_pb2.py", "**/*.pyi"]
[tool.ruff]
extend-exclude = ['*_pb2.py']
output-format = "grouped"
preview = true
fix = true
unsafe-fixes = true
target-version = "py312"
[tool.ruff.format]
preview = true
skip-magic-trailing-comma = true
[tool.ruff.lint]
preview = true
select = ["ALL"]
fixable = ["ALL"]
ignore = [
"A001",
"A002",
"D",
"CPY",
"COM812",
"F722",
"PD901",
"ISC001",
"TD",
"TC006",
]
[tool.ruff.lint.isort]
split-on-trailing-comma = false
[tool.pytest.ini_options]
addopts = ["-ra", "-vv", "--import-mode=importlib"]
testpaths = ["tests"]