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.
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
amzn
libpecos

PECOS - Prediction for Enormous and Correlated Spaces

13K 555 113
BirchKwok
lynsedb

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

6K 41 7
spotify
annoy-mm

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

6K 14K 1K
postgresml
pgml

Postgres with GPUs for ML/AI apps.

6K 7K 364
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
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
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
lancedb
lancedb-compat

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

1K 12K 1K
cldrake01
nilvec

A lightweight library for nearest neighbor search in Rust.

1K 0 0
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

1K 90 9
nnethercott
hannoy

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

831 87 13
ejaasaari
lorann

[NeurIPS'24] Approximate Nearest Neighbor search using reduced-rank regression, with extremely fast queries, tiny memory usage, and rapid indexing on modern vector embeddings.

707 52 3
InstantDomain
instant-distance

Fast approximate nearest neighbor searching in Rust, based on HNSW index

697 344 33
0xDebabrata
citrusdb

(distributed) vector database

662 104 13
matsui528
nanopq

Pure python implementation of product quantization for nearest neighbor search

622 362 48
dobraczka
kiez

🏘️ Hubness reduced nearest neighbor search for entity alignment with knowledge graph embeddings

377 29 3
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology