Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (97 loc) · 2.92 KB
/
Copy pathpyproject.toml
File metadata and controls
111 lines (97 loc) · 2.92 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
[build-system]
requires = ["maturin>=1.4,<2.0"]
build-backend = "maturin"
[project]
name = "squeeze"
version = "0.1.0"
description = "High-performance dimensionality reduction library (UMAP, t-SNE, PCA, and more)"
readme = "README.md"
license = {text = "BSD"}
keywords = ["dimension reduction", "umap", "t-sne", "pca", "manifold", "visualization", "machine learning"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved",
"Programming Language :: Python",
"Programming Language :: Rust",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.9"
dependencies = [
"numpy > 2",
"scipy >= 1.3.1",
"scikit-learn >= 1.6",
"numba >= 0.51.2",
"pynndescent >= 0.5",
"tqdm",
]
[[project.maintainers]]
name = "George Pearse"
[project.urls]
Homepage = "http://github.com/georgepearse/squeeze"
Repository = "http://github.com/georgepearse/squeeze"
[project.optional-dependencies]
plot = [
"pandas",
"matplotlib",
"datashader",
"bokeh",
"holoviews",
"colorcet",
"seaborn",
"scikit-image",
"dask",
]
parametric = ["tensorflow >= 2.1"]
tbb = ["tbb >= 2019.0"]
test = ["pytest", "pytest-testmon", "pytest-watch"]
benchmark = ["matplotlib", "pandas"]
dev = ["maturin>=1.4,<2.0", "pytest", "pytest-testmon", "pytest-watch", "matplotlib", "ruff", "pre-commit"]
[tool.setuptools]
packages = ["squeeze"]
zip-safe = false
[tool.setuptools.package-data]
"*" = ["*.pyx", "*.pxd"]
[tool.ruff]
line-length = 88
target-version = "py39"
[tool.ruff.lint]
select = ["ALL"]
ignore = ["FBT001", "FBT002", "FBT003"] # Boolean arguments are OK in scientific code
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "lf"
[tool.ruff.lint.per-file-ignores]
"squeeze/tests/*" = [
"D100", # Missing module docstring
"D101", # Missing class docstring
"S101", # Use of assert (required in tests)
]
"setup.py" = ["D100"]
"squeeze/hnsw_wrapper.py" = [
"PLR0913", # Too many arguments - needed for compatibility
"N803", # Argument name X should be lowercase - sklearn convention
"N806", # Variable X in function should be lowercase - sklearn convention
]
[tool.pytest.ini_options]
testmon_db = ".testmon.db"
addopts = "-v"
[tool.maturin]
features = ["pyo3/extension-module"]
python-source = "."
module-name = "squeeze._hnsw_backend"
[tool.uv]
required-version = "==0.12.23"