Skip to main content

NMSLIB visualization tool

Project description


HitCount PyPI version Python application Python package GitHub stars GitHub forks GitHub contributors

📊 NMSLIB visualization tool


Install client via pip. Ideally, nmslib-viz is well supported for Python >= 3.7.

pip3 install nmslib-viz --no-binary nmslib

The --no-binary option is important for a better CPU performance.


Just run it like this:

nmslib-viz INDEX_FILE_PATH [--number_points NUMBER_POINTS]


  • INDEX_FILE_PATH: String pointing to the NMSLIB file path. There has to be the additional .dat file for the index, the one that is created when uses the save_data=True option in the saveIndex() function. For example: index.nmslib and index.nmslib.dat need to exist but only index.nmslib has to be provided as this parameter.
  • NUMBER_POINTS: (optional) Number of points as a maximum to plot from the NMSLIB index data, where has to be 1 at least. Default value: 1000.



Note: this example is a representation of the SearchLy index.



Usage of virtualenv is recommended for package library / runtime isolation.


  1. Setup virtual environment

  2. Install dependencies

pip3 install -r requirements.lock
  1. Install locally
pip3 install . --no-binary nmslib


Suggestions, improvements, and enhancements are always welcome! If you have any issues, please do raise one in the Issues section. If you have an improvement, do file an issue to discuss the suggestion before creating a PR.

All ideas – no matter how outrageous – welcome!



Apache-2.0 © nmslib-viz

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nmslib-viz, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size nmslib_viz-1.0.1-py3-none-any.whl (10.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size nmslib-viz-1.0.1.tar.gz (5.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page