-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (72 loc) · 2.25 KB
/
Copy pathpyproject.toml
File metadata and controls
82 lines (72 loc) · 2.25 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
[project]
name = "torch-dataloader-utils"
version = "0.2.0"
description = "Lightweight PyTorch DataLoader for structured data on cloud object storage"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "Apache-2.0" }
keywords = ["pytorch", "dataloader", "parquet", "iceberg", "s3", "machine-learning"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"torch>=2.2",
"pyarrow>=15.0",
"fsspec>=2024.2",
"numpy>=1.26",
]
[project.optional-dependencies]
s3 = ["s3fs>=2024.2"]
gcs = ["gcsfs>=2024.2"]
azure = ["adlfs>=2024.2"]
iceberg = ["pyiceberg[sql]>=0.6"]
all = ["s3fs>=2024.2", "gcsfs>=2024.2", "adlfs>=2024.2", "pyiceberg>=0.6"]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"ruff>=0.4",
"pre-commit>=3.7",
"moto[s3]>=5.0",
"pyiceberg[sql]>=0.6",
"gcsfs>=2024.2",
"adlfs>=2024.2",
"tqdm>=4.0",
"mkdocs-material>=9.5",
]
[project.urls]
Homepage = "https://github.com/srpraneeth/torch-dataloader-utils"
Repository = "https://github.com/srpraneeth/torch-dataloader-utils"
Issues = "https://github.com/srpraneeth/torch-dataloader-utils/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/torch_dataloader_utils"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP"] # pycodestyle, pyflakes, isort, pyupgrade
ignore = []
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"] # allow assert in tests
"benchmarks/*" = ["E501"] # long strings/aligned tables in benchmark scripts are intentional
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=torch_dataloader_utils --cov-report=term-missing"
markers = [
"integration: marks tests as integration tests (deselected by default)",
]
[tool.coverage.run]
source = ["src/torch_dataloader_utils"]
omit = ["tests/*"]
[dependency-groups]
dev = [
"s3fs>=2026.3.0",
"sqlalchemy>=2.0.49",
]