Vicinity – Fast, Lightweight Nearest Neighbors with Flexible Back Ends
We’ve just open-sourced Vicinity, a lightweight approximate nearest neighbors (ANN) search package that allows for fast experimentation and comparison of a larger number of well known algorithms. Main features: - Lightweight: the base package only uses Numpy - Unified interface: use any of the supported algorithms and backends with a single interface: HNSW, Annoy, FAISS, and many more algorithms and libraries are supported - Easy evaluation: evaluate the performance of your backend with a simple function to measure queries per second vs recall - Serialization: save and load your index for…
Vicinity – Fast, Lightweight Nearest Neighbors with Flexible Back Ends launched on December 1, 2024 with 57 votes, #468 of 5,365 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 1 year on.
In plain words
Vicinity is an open-source Python package for approximate nearest neighbors search that provides a unified interface across multiple algorithms including HNSW, Annoy, and FAISS. It requires only NumPy as a base dependency, making it lightweight for developers who need to experiment with and compare different ANN backends. The package includes built-in evaluation tools to measure query speed versus recall performance, and supports saving and loading indexes for persistence.
written from the facts on this page · September 2026
From the sources
Lightweight Nearest Neighbors with Flexible Backends - MinishLab/vicinity
Vicinity is a light-weight, low-dependency vector store. It provides a simple and intuitive interface for nearest neighbor search, with support for different backends and evaluation. There are many nearest neighbors packages and methods out there. However, we found it difficult to compare them. Every package has its own interface, quirks, and limitations, and learning a new package can be time-consuming. In addition to that, how do you effectively evaluate different packages? How do you know which one is the best for your use case? This is where Vicinity comes in. Instead of learning a new interface for each new package or backend, Vicinity provides a unified interface for all backends.…from github.com
In the maker’s words, at launch
We’ve just open-sourced Vicinity, a lightweight approximate nearest neighbors (ANN) search package that allows for fast experimentation and comparison of a larger number of well known algorithms. Main features: - Lightweight: the base package only uses Numpy - Unified interface: use any of the supported algorithms…
Does a similar job
all alternatives →
A fast HNSW implementation in Rust2024 · github.com · ▲111HNSW implementation in Rust. Reference: https://arxiv.org/ftp/arxiv/papers/1603/1603.09320.pdf - swapneel/hnsw-rust
- FSFashion Shopping with Nearest Neighbors2025 · vibewall.shop · ▲76
I made this website with my wife in mind; it makes it possible to browse for similar fashion products over many different retailers at once. The backend is written in Swift, and is hosted on a single Mac Mini. It performs nearest neighbors on the GPU over ~3M product images. No vector DB, just pure matrix multiplications. Since we aren't just doing approximate nearest neighbors but rather sorting all results by distance, it's possible to show different "variety" levels by changing the stride over the sorted search results. Nearest neighbors are computed in a latent vector space. The model…
ProximityHash – Geohashes in Proximity2017 · github.com · ▲36Geohashes in proximity. Contribute to ashwin711/proximityhash development by creating an account on GitHub.
Fast vector similarity using Rust and Python2023 · github.com · ▲141I recently found myself computing the similarity between lots of very high dimensional vectors (i.e., sentence embedding vectors from LLMs), and I wanted to try some more powerful measures of similarity/dependency than just Cosine similarity, which seems to be the default for everything nowadays because of its computational efficiency. There are many other more involved measures that can detect more subtle relationships, but the problem is that some of them are quite slow to compute, especially if you're trying to do it in Python. For my favorite measure of statistical dependency,…
Tinyhnsw – The Littlest Vector Database2025 · github.com · ▲17In an effort to understand it, I put together a simple, pure python implementation of HNSW, an approximate nearest neighbor library. Learned a lot, and I think for anyone interested in vector search it's an exercise that's absolutely worth doing. The code is optimized (imo) for readability, and working (albeit, quite slowly) on putting together a tutorial that walks through the motivation and implementation of HNSW. There's also working code examples for using the library for text and image search with sentence transformers and CLIP!
All-pair similarity search on millions of sets in Python and on laptop2018 · github.com · ▲123All-pair set similarity search on millions of sets in Python and on a laptop - GitHub - ekzhu/SetSimilaritySearch: All-pair set similarity search on millions of sets in Python and on a laptop
More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 2d ago · permit.petercai.com
- IV
Life & fun · 15d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 16d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 9d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 13d ago · carrierexplode.com

Life & fun · 23d ago · space.bl2.net
Source: Show HN post ↗ · launch text quoted in part