Skip to main content

PANNA: Playground for Approximate Nearest Neighbor Algorithms

This repository aims at providing useful building blocks to implement algorithms for approximate nearest neighbor search.

The repository provides mainly two things:

  • A software library to build similarity search algorithms, implemented mainly as a C++ library, with python bindings
  • An environment to run experiments, pinning versions and dependencies of related baselines by means of Nix flakes

Python: installing

The library should be easily installable with the usual

pip install pypanna

If you are using uv to manage your dependencies

uv add pypanna

should suffice.

C++: Building

This is, first and foremost, a header only library requiring C++20 and depending on ffht (vendored in external). To integrate with other codebases simply place include/panna in your include path, while making sure that the headers of the dependency (i.e. the contents of external) are included as well.

That said, the repository includes tests and examples, which are built using cmake with the usual steps

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make

Metadata

Release files for pypanna 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pypanna 0.1.0
File Size Uploaded
pypanna-0.1.0.tar.gz 399.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pypanna 0.1.0
File Interpreter ABI Platform
pypanna-0.1.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details

Total release size: 1.1 MB

Release files / pypanna-0.1.0.tar.gz

Download URL pypanna-0.1.0.tar.gz
Size 399.9 kB
Tags Source
SHA-256 checksum
How to use checksums
91aba393d38bbb016b66b577b90daa4a3801617f28b2c762030026e5807f9b4b
BLAKE2b-256 checksum
How to use checksums
f11da91abb4d229e5efd98f738811f1ac91741e32f4d95093dee3dfba76ecf44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 6, 2026.

Transparency log

Release files / pypanna-0.1.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL pypanna-0.1.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 677.0 kB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
d893f8d0d3b99f087d2eaf8b96409f1ad1b93a60c660ca82610a9273f914afdb
BLAKE2b-256 checksum
How to use checksums
d695c327764d9d073683d0e5a7a99d5a0a7823f512ef6b4c7adab5047f1276be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 6, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page