Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (85 loc) · 2.28 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (85 loc) · 2.28 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
[project]
name = "astro-hipster"
version = "0.2"
description = "Generate HiPS representation"
authors = [
{name = "Kai Polsterer", email = "kai.polsterer@h-its.org"},
{name = "Bernd Doser", email = "bernd.doser@h-its.org"},
{name = "Andreas Fehlner", email = "andreas.fehlner@h-its.org"},
{name = "Sebastian T. Gomez", email = "sebastian.trujillogomez@h-its.org"},
]
license = "Apache-2.0"
readme = "README.md"
requires-python = ">=3.12,<4.0"
dependencies = [
"astropy>=7.0",
"gaiaxpy>=2.1",
"healpy>=1.18",
"huggingface-hub>=1.0",
"jsonargparse[omegaconf]>=4.37",
"matplotlib>=3.10",
"onnxruntime>=1.21",
"pandas>2.2",
"pyarrow>=25.0.0",
"scipy>1.15",
"tqdm>=4.67",
"jinja2>3.1",
"datasets>=4.8.5",
]
[project.optional-dependencies]
catalog = [
"hipscatalog-gen>=0.3.3",
]
cuda = [
"onnxruntime-gpu>=1.21",
"nvidia-cudnn-cu13>=9.24.0.43",
]
dev = [
"astro-hipster[catalog]",
"ipykernel>=6.29",
"pre-commit>=4.7.0",
"pytest>=8.3",
"ruff>=0.11",
]
docs = [
"myst-parser>=5.0.0",
"recommonmark>=0.7",
"sphinx>=9.1.0",
"sphinx-autobuild>=2025.8.25",
"sphinx-autodoc-typehints>=3.9.11",
"sphinx-rtd-theme>=3.0",
"sphinxcontrib-bibtex>=2.6.3",
]
[project.scripts]
hipster = 'hipster.main:main'
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.package-data]
hipster = ["templates/*"]
[tool.ruff]
line-length = 120
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.pytest.ini_options]
timeout = 300
testpaths = ["tests"]
xfail_strict = true
filterwarnings = [
"ignore::DeprecationWarning",
"ignore:The 'train_dataloader' does not have many workers which may be a bottleneck. Consider increasing the value of the `num_workers` argument",
"ignore:torch.onnx.dynamo_export only implements opset version 18 for now.",
"ignore:GPU available but not used.",
"ignore:You requested to overfit but enabled train dataloader shuffling.",
]
[tool.pylint.TYPECHECK]
generated-members = 'numpy.*, torch.*'
[tool.uv]
required-environments = [
"sys_platform == 'linux' and platform_machine == 'x86_64'",
]
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true