DiskAnnPy
Python bindings for DiskANN, providing efficient vector quantization and approximate nearest neighbor search.
Installation
Prerequisites
Building from Source
Navigate to diskann/DiskAnnPy:
Linux
# Create and activate virtual environment
python -m venv venv
source venv/bin/activate
# Install build dependencies
pip install maturin numpy
# Option 1: Build wheel (creates .whl in DiskANN/target/wheels)
maturin build -r
# Option 2: Build and install directly into active environment
maturin develop -r
Windows
# Create and activate virtual environment
python -m venv venv
venv\Scripts\activate
# Install build dependencies
pip install maturin numpy
# Option 1: Build wheel (creates .whl in DiskANN\target\wheels)
maturin build -r
# Option 2: Build and install directly into active environment
maturin develop -r
Running Tests
Once installed, run the Python tests from the DiskAnnPy directory:
python -m unittest discover tests
Quantizers
See src/quantization/README.md for documentation on the vector quantization APIs.
Metadata
Release files for diskannpy-rust 0.49.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 | |
|---|---|---|---|---|
| diskannpy_rust-0.49.1.tar.gz | 3.0 MB | With provenance | Details |
Built distributions (wheels)
Total release size: 64.9 MB
Release files / diskannpy_rust-0.49.1.tar.gz
| Download URL | diskannpy_rust-0.49.1.tar.gz |
|---|---|
| Size | 3.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5989037203ba8a730ea752cf80bde8cae21f9d7a4b39a2808d5bf73e4fd2755
|
|
BLAKE2b-256 checksum How to use checksums |
700acae6ae205e1d83375f386d82c9b8823d701d95e54b4543987603f7d1a62c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.
Transparency logRelease files / diskannpy_rust-0.49.1-cp313-cp313-win_amd64.whl
| Download URL | diskannpy_rust-0.49.1-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 4.0 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5517ac7ab1a506990fb90182316581f9838203d3fb8b0e7ea4568be66483cac0
|
|
BLAKE2b-256 checksum How to use checksums |
d7fa55328e029aeabce4f68f8ff02a8e4af267a7330a902e83ac5191f0915c1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.
Transparency logRelease files / diskannpy_rust-0.49.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | diskannpy_rust-0.49.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 8.4 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
85017ac50705efc44da41c508faed32a84141d0fd461366b2d34ee88aca32f85
|
|
BLAKE2b-256 checksum How to use checksums |
4981d5efe4a21b109c174822ee68a7ed7456ee2430a7d2b6e8ad5f3e444a9878
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.
Transparency logRelease files / diskannpy_rust-0.49.1-cp312-cp312-win_amd64.whl
| Download URL | diskannpy_rust-0.49.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 4.0 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e5c52ff5f48b29ef4ec449c7122ee98a5efb8b81aa33983a1277ea8447f7d2c5
|
|
BLAKE2b-256 checksum How to use checksums |
99ec9b38c922da63aa89fe5a02c77d90d4d3afc265c754ff84222525da75030b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.
Transparency logRelease files / diskannpy_rust-0.49.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | diskannpy_rust-0.49.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 8.4 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
fedb92d569b8bfefc1787d6e5b8cf5ba9a878e9a7f42beec6a2a045b99c82e77
|
|
BLAKE2b-256 checksum How to use checksums |
d3f1556ff3d4e489bf86530e6dff23a7c7202ee345cb75e91f77d4b363392e7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.
Transparency logRelease files / diskannpy_rust-0.49.1-cp311-cp311-win_amd64.whl
| Download URL | diskannpy_rust-0.49.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 4.0 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8dafbdb6ad4b3ff5089ea69bf956604f8f444f1e4c3e896a85d6a35296cb8af7
|
|
BLAKE2b-256 checksum How to use checksums |
79192331c4a6ff187b2a2b31b9761fa6357092025941fd3c2ff154d9a156a931
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.
Transparency logRelease files / diskannpy_rust-0.49.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | diskannpy_rust-0.49.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 8.4 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
58923f531dbf0e324fa584b03b7adc61ce14b03a8878c054d50ce00a0d4eb95d
|
|
BLAKE2b-256 checksum How to use checksums |
d7a1eeb4b1117e4e4ce6cfe0e13d09b55300722c305f7321474cfa4261b76ba2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.
Transparency logRelease files / diskannpy_rust-0.49.1-cp310-cp310-win_amd64.whl
| Download URL | diskannpy_rust-0.49.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 4.0 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
113fecd1a74bbe6303499b132578549b91842e630c40cd52dea6c417e689473c
|
|
BLAKE2b-256 checksum How to use checksums |
75b1ddd3ad28b866178396673124c2c2f3b5244c83964e33e2c704db49265609
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.
Transparency logRelease files / diskannpy_rust-0.49.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | diskannpy_rust-0.49.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 8.4 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
eaa2703c4a2bd0d1103ff45c39bbdaa47a6886424bde7dcae3b342e76e9355b6
|
|
BLAKE2b-256 checksum How to use checksums |
741fa719b82ae1d2b0ae457e919c6e4bfed03a1a858ba05c9b70b06e5e3b1b6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.
Transparency logRelease files / diskannpy_rust-0.49.1-cp39-cp39-win_amd64.whl
| Download URL | diskannpy_rust-0.49.1-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 4.0 MB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
bb8ea282db9926e491c1d375774ff5696bfd3026065c08f009736bd182cc6dd8
|
|
BLAKE2b-256 checksum How to use checksums |
52442d39247c613bc2e4fc88364fc5ea5304c5b5bad7a7efd092dd0d38d06cdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.
Transparency logRelease files / diskannpy_rust-0.49.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | diskannpy_rust-0.49.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 8.4 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
fca8ef1938efdb141fcb6f2bbada034064e9b0b7146417a8c4b43af370459905
|
|
BLAKE2b-256 checksum How to use checksums |
9083e661d2b27b83a6d38116e8b962feed7de27d2cbf8ba34572a53aad2b7e65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.
Transparency logSecurity for diskannpy-rust 0.49.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.
Full provenance
All 11 files in this release have been uploaded with provenance metadata.
Attestation for diskannpy_rust-0.49.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.
Transparency logA 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.