Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Approximate Nearest Neighbor Search Python Packages

Python packages with the GitHub topic approximate-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
VectorDB-NTU
rabitqlib

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

22K 297 79
amzn
libpecos

PECOS - Prediction for Enormous and Correlated Spaces

11K 560 114
TileDB-Inc
tiledb-vector-search

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

7K 69 11
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
postgresml
pgml

Postgres with GPUs for ML/AI apps.

5K 7K 362
NGT-labs
ngt

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

4K 1K 134
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
cwida
superkmeans

⚡ Super fast clustering for high-dimensional vectors on CPUs (x86, ARM) and GPUs — for Python and C++. Faster clustering of vector embeddings than FAISS

3K 113 11
jina-ai
annlite

⚡ A fast embedded library for approximate nearest neighbor search

3K 233 24
matsui528
lotf

[CVPR25] LotusFilter: Fast Diverse Nearest Neighbor Search

2K 14 0
lancedb
lancedb-compat

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

2K 12K 1K
lmcinnes
bppynndescent

Nearest Neighbor Descent

2K 981 120
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

1K 38 4
scikit-learn-contrib
sklearn-ann

Integration with (approximate) nearest neighbors libraries for scikit-learn + clustering based on with kNN-graphs.

1K 31 15
matsui528
nanopq

Pure python implementation of product quantization for nearest neighbor search

1K 361 48
nnethercott
hannoy

Production-ready KV-backed HNSW implementation in Rust using LMDB

1K 89 14
cldrake01
nilvec

A lightweight library for nearest neighbor search in Rust.

972 0 1
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.

822 0 0
zeusdb
langchain-zeusdb

LangChain integration for ZeusDB, a high-performance Rust-powered vector database with lightning-fast search, metadata-aware filtering, and scalable RAG pipelines.

729 7 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology