-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (72 loc) · 2.09 KB
/
Copy pathpyproject.toml
File metadata and controls
81 lines (72 loc) · 2.09 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
[build-system]
requires = ["setuptools>=68.0", "Cython>=3.0", "numpy>=1.24.0"]
build-backend = "setuptools.build_meta"
[project]
name = "snapvec"
version = "0.11.1"
description = "Fast compressed ANN search via randomized Hadamard transform and optimal Gaussian scalar quantization. NumPy + Cython compiled kernels."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
keywords = [
"vector-search", "ann", "approximate-nearest-neighbor",
"quantization", "embeddings", "hadamard", "lloyd-max",
"rag", "semantic-search",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Cython",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Database",
]
dependencies = [
"numpy>=1.24.0",
]
[project.urls]
Homepage = "https://github.com/stffns/snapvec"
Repository = "https://github.com/stffns/snapvec"
Issues = "https://github.com/stffns/snapvec/issues"
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"hypothesis>=6.100",
"mypy>=1.8",
"ruff",
"Cython>=3.0",
]
docs = [
"mkdocs>=1.6",
"mkdocs-material>=9.5",
"mkdocstrings[python]>=0.27",
]
[tool.setuptools.packages.find]
include = ["snapvec*"]
[tool.setuptools.package-data]
snapvec = ["py.typed", "*.pyi"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.mypy]
python_version = "3.10"
strict = true
warn_return_any = true
warn_unused_ignores = true
disallow_untyped_defs = true
disallow_any_generics = false
# numpy.typing.mypy_plugin is deprecated as of NumPy 2.3; NDArray typing
# works without it on modern numpy.
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false