vicinity 0.4.2__tar.gz → 0.4.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. {vicinity-0.4.2 → vicinity-0.4.4}/.github/workflows/ci.yaml +1 -3
  2. vicinity-0.4.4/CITATION.cff +27 -0
  3. {vicinity-0.4.2 → vicinity-0.4.4}/PKG-INFO +19 -4
  4. {vicinity-0.4.2 → vicinity-0.4.4}/README.md +17 -1
  5. {vicinity-0.4.2 → vicinity-0.4.4}/pyproject.toml +1 -2
  6. {vicinity-0.4.2 → vicinity-0.4.4}/uv.lock +3 -241
  7. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity/backends/__init__.py +27 -3
  8. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity/backends/annoy.py +9 -10
  9. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity/backends/base.py +2 -2
  10. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity/backends/basic.py +14 -14
  11. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity/backends/faiss.py +8 -8
  12. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity/backends/hnsw.py +10 -10
  13. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity/backends/pynndescent.py +10 -10
  14. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity/backends/usearch.py +9 -10
  15. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity/backends/voyager.py +12 -12
  16. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity/datatypes.py +10 -7
  17. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity/integrations/huggingface.py +3 -1
  18. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity/utils.py +2 -3
  19. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity/version.py +1 -1
  20. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity/vicinity.py +21 -19
  21. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity.egg-info/PKG-INFO +19 -4
  22. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity.egg-info/SOURCES.txt +1 -0
  23. {vicinity-0.4.2 → vicinity-0.4.4}/.gitignore +0 -0
  24. {vicinity-0.4.2 → vicinity-0.4.4}/.pre-commit-config.yaml +0 -0
  25. {vicinity-0.4.2 → vicinity-0.4.4}/LICENSE +0 -0
  26. {vicinity-0.4.2 → vicinity-0.4.4}/Makefile +0 -0
  27. {vicinity-0.4.2 → vicinity-0.4.4}/assets/images/vicinity_logo.png +0 -0
  28. {vicinity-0.4.2 → vicinity-0.4.4}/setup.cfg +0 -0
  29. {vicinity-0.4.2 → vicinity-0.4.4}/tests/conftest.py +0 -0
  30. {vicinity-0.4.2 → vicinity-0.4.4}/tests/test_utils.py +0 -0
  31. {vicinity-0.4.2 → vicinity-0.4.4}/tests/test_vicinity.py +0 -0
  32. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity/__init__.py +0 -0
  33. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity/integrations/dataset_card_template.md +0 -0
  34. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity/py.typed +0 -0
  35. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity.egg-info/dependency_links.txt +0 -0
  36. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity.egg-info/requires.txt +0 -0
  37. {vicinity-0.4.2 → vicinity-0.4.4}/vicinity.egg-info/top_level.txt +0 -0
@@ -12,10 +12,8 @@ jobs:
12
12
  strategy:
13
13
  matrix:
14
14
  os: ["ubuntu-latest", "windows-latest"]
15
- python-version: ["3.9", "3.10", "3.11", "3.12"]
15
+ python-version: ["3.10", "3.11", "3.12"]
16
16
  exclude:
17
- - os: windows-latest
18
- python-version: "3.9"
19
17
  - os: windows-latest
20
18
  python-version: "3.11"
21
19
  - os: windows-latest
@@ -0,0 +1,27 @@
1
+ cff-version: 1.2.0
2
+ message: "If you use Vicinity in your research, please cite it as below."
3
+ title: "Vicinity: Lightweight Nearest Neighbors with Flexible Backends"
4
+ authors:
5
+ - family-names: "Tulkens"
6
+ given-names: "Stephan"
7
+ - family-names: "van Dongen"
8
+ given-names: "Thomas"
9
+ doi: 10.5281/zenodo.17265874
10
+ license: MIT
11
+ url: "https://github.com/MinishLab/vicinity"
12
+ repository-code: "https://github.com/MinishLab/vicinity"
13
+ date-released: "2024-11-09"
14
+
15
+ preferred-citation:
16
+ type: software
17
+ title: "Vicinity: Lightweight Nearest Neighbors with Flexible Backends"
18
+ authors:
19
+ - family-names: "Tulkens"
20
+ given-names: "Stephan"
21
+ - family-names: "van Dongen"
22
+ given-names: "Thomas"
23
+ year: 2024
24
+ publisher: Zenodo
25
+ doi: 10.5281/zenodo.17265874
26
+ url: "https://github.com/MinishLab/vicinity"
27
+ license: MIT
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vicinity
3
- Version: 0.4.2
3
+ Version: 0.4.4
4
4
  Summary: Lightweight Nearest Neighbors with Flexible Backends
5
5
  Author-email: Stéphan Tulkens <stephantul@gmail.com>, Thomas van Dongen <thomas123@live.nl>
6
6
  License: MIT License
@@ -35,11 +35,10 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
35
35
  Classifier: Topic :: Software Development :: Libraries
36
36
  Classifier: License :: OSI Approved :: MIT License
37
37
  Classifier: Programming Language :: Python :: 3 :: Only
38
- Classifier: Programming Language :: Python :: 3.9
39
38
  Classifier: Programming Language :: Python :: 3.10
40
39
  Classifier: Programming Language :: Python :: 3.11
41
40
  Classifier: Programming Language :: Python :: 3.12
42
- Requires-Python: >=3.9
41
+ Requires-Python: >=3.10
43
42
  Description-Content-Type: text/markdown
44
43
  Requires-Dist: numpy
45
44
  Requires-Dist: orjson
@@ -103,7 +102,7 @@ Requires-Dist: voyager; extra == "all"
103
102
  <div align="center">
104
103
  <h2>
105
104
  <a href="https://pypi.org/project/vicinity/"><img src="https://img.shields.io/pypi/v/vicinity?color=%23007ec6&label=pypi%20package" alt="Package version"></a>
106
- <a href="https://pypi.org/project/vicinity/"><img src="https://img.shields.io/pypi/pyversions/vicinity" alt="Supported Python versions"></a>
105
+ <a href="https://minish.ai/packages/vicinity/introduction"><img src="https://img.shields.io/badge/docs-minish.ai-blue.svg" alt="Docs"></a>
107
106
  <a href="https://pepy.tech/project/vicinity">
108
107
  <img src="https://static.pepy.tech/badge/vicinity" alt="Downloads">
109
108
  </a>
@@ -294,3 +293,19 @@ pip install vicinity[voyager]
294
293
  ## License
295
294
 
296
295
  MIT
296
+
297
+ ## Citing
298
+
299
+ If you use Vicinity in your research, please cite the following:
300
+
301
+ ```bibtex
302
+ @software{minishlab2024vicinity,
303
+ author = {Stephan Tulkens and {van Dongen}, Thomas},
304
+ title = {Vicinity: Lightweight Nearest Neighbors with Flexible Backends},
305
+ year = {2024},
306
+ publisher = {Zenodo},
307
+ doi = {10.5281/zenodo.17265874},
308
+ url = {https://github.com/MinishLab/vicinity},
309
+ license = {MIT}
310
+ }
311
+ ```
@@ -7,7 +7,7 @@
7
7
  <div align="center">
8
8
  <h2>
9
9
  <a href="https://pypi.org/project/vicinity/"><img src="https://img.shields.io/pypi/v/vicinity?color=%23007ec6&label=pypi%20package" alt="Package version"></a>
10
- <a href="https://pypi.org/project/vicinity/"><img src="https://img.shields.io/pypi/pyversions/vicinity" alt="Supported Python versions"></a>
10
+ <a href="https://minish.ai/packages/vicinity/introduction"><img src="https://img.shields.io/badge/docs-minish.ai-blue.svg" alt="Docs"></a>
11
11
  <a href="https://pepy.tech/project/vicinity">
12
12
  <img src="https://static.pepy.tech/badge/vicinity" alt="Downloads">
13
13
  </a>
@@ -198,3 +198,19 @@ pip install vicinity[voyager]
198
198
  ## License
199
199
 
200
200
  MIT
201
+
202
+ ## Citing
203
+
204
+ If you use Vicinity in your research, please cite the following:
205
+
206
+ ```bibtex
207
+ @software{minishlab2024vicinity,
208
+ author = {Stephan Tulkens and {van Dongen}, Thomas},
209
+ title = {Vicinity: Lightweight Nearest Neighbors with Flexible Backends},
210
+ year = {2024},
211
+ publisher = {Zenodo},
212
+ doi = {10.5281/zenodo.17265874},
213
+ url = {https://github.com/MinishLab/vicinity},
214
+ license = {MIT}
215
+ }
216
+ ```
@@ -3,7 +3,7 @@ name = "vicinity"
3
3
  description = "Lightweight Nearest Neighbors with Flexible Backends"
4
4
  readme = { file = "README.md", content-type = "text/markdown" }
5
5
  dynamic = ["version"]
6
- requires-python = ">=3.9"
6
+ requires-python = ">=3.10"
7
7
  license = { file = "LICENSE" }
8
8
  authors = [{ name = "Stéphan Tulkens", email = "stephantul@gmail.com"}, {name = "Thomas van Dongen", email = "thomas123@live.nl"}]
9
9
 
@@ -15,7 +15,6 @@ classifiers = [
15
15
  "Topic :: Software Development :: Libraries",
16
16
  "License :: OSI Approved :: MIT License",
17
17
  "Programming Language :: Python :: 3 :: Only",
18
- "Programming Language :: Python :: 3.9",
19
18
  "Programming Language :: Python :: 3.10",
20
19
  "Programming Language :: Python :: 3.11",
21
20
  "Programming Language :: Python :: 3.12",