NMSLIB-viz
📊 NMSLIB visualization tool
Installation
Install client via pip. Ideally, nmslib-viz is well supported for Python >= 3.7.
pip3 install nmslib-viz --no-binary nmslib
The
--no-binaryoption is important for a better CPU performance.
Usage
Just run it like this:
nmslib-viz INDEX_FILE_PATH [--number_points NUMBER_POINTS]
Arguments:
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 thesave_data=Trueoption in the saveIndex() function. For example:index.nmslibandindex.nmslib.datneed to exist but onlyindex.nmslibhas 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.
Result
Note: this example is a representation of the SearchLy index.
Development
Recommendations
Usage of virtualenv is recommended for package library / runtime isolation.
Installation
-
Setup virtual environment
-
Install dependencies
pip3 install -r requirements.lock
- Install locally
pip3 install . --no-binary nmslib
Contributing
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!
Authors
License
Apache-2.0 © nmslib-viz
Metadata
Release files for nmslib-viz 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nmslib-viz-1.0.1.tar.gz | 5.3 kB | Without provenance | Details for nmslib-viz-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nmslib_viz-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for nmslib_viz-1.0.1-py3-none-any.whl |
Total release size: 16.0 kB
Release files / nmslib-viz-1.0.1.tar.gz
| Download URL | nmslib-viz-1.0.1.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c13d99877e7f661cf17ebbde137e4f03bed708a2599a2c299e423a74c6ab8c31
|
|
BLAKE2b-256 checksum How to use checksums |
48607c0627e858d14be7188c5173575513ab7a59c5e1303df07cda3be53b7767
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
|
Release files / nmslib_viz-1.0.1-py3-none-any.whl
| Download URL | nmslib_viz-1.0.1-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0773732f1d7f29d526d8a4e8a519565e025af21289a05d325000b85debfa8f1f
|
|
BLAKE2b-256 checksum How to use checksums |
1808fa15a02b061738e9411356a4017a7eceac383a88fab6f5fc9ff7f96b517b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
|
Security for nmslib-viz 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.