hnswlib
NMSLIB projecthnswlib is a header-only C++ implementation of Hierarchical Navigable Small World graphs for approximate nearest neighbour search, with Python bindings and support for insertions, updates and filtered queries. Several vector databases embed it as their graph index.
Verified 2026-08-18 via the GitHub API and the LICENSE body.
Openness
5 high confidence- license
- Apache-2.0(OSI)
- source
- public
- core-gated
- ungated
Apache-2.0 license body confirmed. The repository is public and unarchived and builds the whole product, and the README describes no paid tier, enterprise edition or license-gated build beside it, so source is public and the core ungated.
- https://github.com/nmslib/hnswlib/blob/master/LICENSE recorded 2026-08-18
LICENSE file is the verbatim Apache-2.0 text
- https://api.github.com/repos/nmslib/hnswlib recorded 2026-08-18
Repo metadata - license spdx_id Apache-2.0, private false, archived false, default branch master - for nmslib/hnswlib.
- https://github.com/nmslib/hnswlib/blob/master/README.md recorded 2026-08-18
README describes a header-only C++ HNSW implementation with Python bindings supporting insertions, updates and filtered search, with no paid tier, enterprise edition or license-key-gated build beside it.
Adoption
3 high confidence544,320 PyPI downloads of `hnswlib` in the trailing 30 days, which lands in the 100K-1M band of the software usage scale, level 3. The PyPI project's declared source URL points at the author's own hnsw repository rather than nmslib/hnswlib; the package is this library's Python distribution and not a client for something else, so the figure is the product's.
- https://pypistats.org/api/packages/hnswlib/recent recorded 2026-08-18
last_month downloads = 544,320 for hnswlib
Capability
2 medium confidenceBanded on the category feature matrix as single index family as a library. Placed two bands below the chroma anchor, on a matrix that bands on how much of the persist-index-retrieve path a product provides itself, at what scale and over how many retrieval modes.
- https://github.com/nmslib/hnswlib/blob/master/README.md recorded 2026-08-18
README still documents a header-only C++ HNSW implementation with Python bindings supporting insertions, updates and filtered search.
Verified 2026-08-18