PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Nearest Neighbor Search Python Packages

Python packages with the GitHub topic nearest-neighbor-search. Sorted by monthly downloads, with stars and forks.
lancedb
lancedb

Developer-friendly OSS embedded retrieval library for multimodal AI. Search More; Manage Less.

7.8M 12K 1K
lmcinnes
pynndescent

A Python nearest neighbor descent for approximate nearest neighbors

5.9M 971 113
spotify
annoy

Approximate Nearest Neighbors in C++/Python optimized for memory usage and loading/saving to disk

984K 14K 1K
unum-cloud
usearch

Fast Open-Source Search & Clustering engine × for Vectors & Arbitrary Objects × in C++, C, Python, JavaScript, Rust, Java, Objective-C, Swift, C#, GoLang, and Wolfram 🔍

696K 4K 353
docarray
docarray

Represent, send, store and search multimodal data

112K 3K 241
spotify
voyager

🛰️ An approximate nearest-neighbor search library for Python and Java with a focus on ease of use, simplicity, and deployability.

91K 2K 87
VectorDB-NTU
rabitqlib

An official lightweight library for the RaBitQ algorithm and its applications in vector search.

17K 289 69
infino-ai
infino

Embedded retrieval library built on Parquet. Fast, efficient, and scalable.

13K 118 23
DeMoriarty
torchpq

Approximate nearest neighbor search with product quantization on GPU in pytorch and cuda

12K 236 23
alexklibisz
elastiknn-client

Elasticsearch plugin for nearest neighbor search. Store vectors and run similarity search using exact and approximate algorithms.

10K 395 50
mlpack
mlpack

mlpack: a fast, header-only C++ machine learning library

7K 6K 2K
BirchKwok
lynsedb

Embedded-first vector database that grows into a self-hosted service and lightweight cluster.

6K 41 7
PeterOvermann
creating-intelligence

A computational foundation for AGI, based on hyperdimensional computing and framed in set theory.

6K 17 3
spotify
annoy-mm

Approximate Nearest Neighbors in C++/Python optimized for memory usage and loading/saving to disk

6K 14K 1K
SimoSartori
meshsearch

Uniform cubic mesh for fast neighbour queries in 3D, in C++ with Python bindings

6K 0 0
TheCleaners
scann-core

ScaNN vector similarity search as a standalone library: fast approximate nearest-neighbor search for C++, Python and Rust, no TensorFlow needed. AVX2/AVX-512 and Arm Neon/SVE kernels, free-threaded Python, optional PyTorch and TensorFlow integration. Not an official Google product.

5K 0 0
NGT-labs
ngt

Nearest Neighbor Search with Neighborhood Graph and Tree for High-dimensional Data

5K 1K 131
TileDB-Inc
tiledb-vector-search

Cloud-native vector similarity search and storage with efficient, serverless scale-out

5K 69 11
unum-cloud
usearch-iscc

Fast Open-Source Search & Clustering engine × for Vectors & Arbitrary Objects × in C++, C, Python, JavaScript, Rust, Java, Objective-C, Swift, C#, GoLang, and Wolfram 🔍

4K 4K 354
tensorflow
tfsim-nightly

TensorFlow Similarity is a python package focused on making similarity learning quick and easy.

2K 1K 104
notAI-tech
liteindex

ultra fast, thread and process safe, easily queryable Indexes/ caches for Python.

2K 6 0
NTU-Siqiang-Group
aster-vec

Embedded on-device vector database for AI agent memory and local RAG — disk-based HNSW in an LSM-tree, C++/Python, optimized for low memory footprint

2K 38 4
tensorflow
tensorflow-similarity

TensorFlow Similarity is a python package focused on making similarity learning quick and easy.

2K 1K 104
lancedb
lancedb-compat

Developer-friendly OSS embedded retrieval library for multimodal AI. Search More; Manage Less.

1K 12K 1K
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology