Skip to content
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.
lmcinnes
pynndescent

A Python nearest neighbor descent for approximate nearest neighbors

7.6M 981 120
lancedb
lancedb

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

6.2M 12K 1K
spotify
annoy

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

975K 14K 1K
unum-cloud
usearch

One proximity graph for vector search, sparse products & attention across RAM, VRAM & NVMe, over dense vectors, sequences, shapes & geospatial sets in 14 languages 🔍

932K 4K 380
spotify
voyager

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

118K 2K 96
docarray
docarray

Represent, send, store and search multimodal data

82K 3K 241
VectorDB-NTU
rabitqlib

Official library for RaBitQ vector quantization and approximate nearest-neighbor search, in C++ and Python.

22K 297 79
infino-ai
infino

Search library built on Parquet. Fast, efficient, and scalable.

20K 167 34
alexklibisz
elastiknn-client

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

19K 396 50
mikepapadim
mlxvs

GPU k-NN search and k-NN graph construction on Apple silicon, built on MLX

16K 4 0
mlpack
mlpack

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

9K 6K 2K
DeMoriarty
torchpq

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

8K 238 23
TileDB-Inc
tiledb-vector-search

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

7K 69 11
mahpate
vlite-embedded

Single-file vector and graph database in Rust: embedded (Rust/Python/Node/C ABI) or self-hosted with REST, gRPC and a web dashboard. Exact + HNSW search, typed metadata filters, property graphs, durable atomic commits.

7K 3 0
spotify
annoy-mm

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

6K 14K 1K
BirchKwok
lynsedb

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

5K 41 7
SimoSartori
meshsearch

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

5K 0 0
NGT-labs
ngt

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

4K 1K 134
PeterOvermann
creating-intelligence

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

3K 18 3
unum-cloud
usearch-iscc

One proximity graph for vector search, sparse products & attention across RAM, VRAM & NVMe, over dense vectors, sequences, shapes & geospatial sets in 14 languages 🔍

3K 4K 380
mahpate
vlite-client

Single-file vector and graph database in Rust: embedded (Rust/Python/Node/C ABI) or self-hosted with REST, gRPC and a web dashboard. Exact + HNSW search, typed metadata filters, property graphs, durable atomic commits.

3K 3 0
notAI-tech
liteindex

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

3K 6 0
Srinivas26k
srvdb

SrvDB: open-source embedded vector database for Python & Rust. Local semantic search, RAG and AI memory with no server. Crash-safe, offline, Apache-2.0. (Not SurrealDB)

3K 18 6
tensorflow
tfsim-nightly

Metric Learning for Humans

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