Holographic Memory for Python
Native Python bindings for Holographic Memory's vector search and vector-symbolic algebra.
Website · Documentation · Source · License
Install
Python 3.9 or newer is required. Install the native binding and NumPy for the vector-index API:
uv add holographic-memory-py numpy
The distribution is named holographic-memory-py; the import is holographic_memory.
For the pinned default embedding model with no first-use download, install
holographic-memory-py[embed]. That extra adds the separate
holographic-memory-models wheel.
Vector search
VectorIndex builds an approximate nearest-neighbor index over vectors you supply. It supports
angular, Euclidean, and inner-product search. The returned IDs are row numbers in the input matrix.
import numpy as np
from holographic_memory import VectorIndex
vectors = np.random.default_rng(7).normal(size=(128, 32)).astype(np.float32)
index = VectorIndex("angular", degree=16, build_ef=64)
index.fit(vectors)
index.set_query_arguments(ef=64, rerank=32)
matches = index.query(vectors[0], 5)
print(matches.tolist())
The binding also provides UpdatableIndex for inserts and deletes, FilteredIndex for restricted
searches, and SparseIndex for sparse vectors.
With the [embed] extra, the pinned default text embedding model is available offline:
from holographic_memory import Embedder
embedder = Embedder(offline=True)
print(len(embedder.embed_query("Where is my note?")))
Phase-vector algebra
PhaseHVec supports deterministic phase-vector binding, unbinding, bundling, and similarity.
from holographic_memory import PhaseHVec
key = PhaseHVec.random(1024, 64, seed=1)
value = PhaseHVec.random(1024, 64, seed=2)
stored = key.bind(value)
assert stored.unbind(key).phases() == value.phases()
resonator_factorize searches codebooks for factors of a bound phase vector.
Choosing the right Python package
This native binding runs vector search and phase-vector operations in your Python process. It does
not expose the persistent document-search and agent-memory APIs. For an HTTP client to hms-server,
use holographic-memory-sdk. The Rust and Node.js
packages expose the full embedded engine.
Metadata
Release files for holographic-memory-py 0.6.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| holographic_memory_py-0.6.2-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details |
| holographic_memory_py-0.6.2-cp39-abi3-musllinux_1_2_x86_64.whl | CPython 3.9 | abi3 | Linux musl 1.2+ x86-64 | Details |
| holographic_memory_py-0.6.2-cp39-abi3-musllinux_1_2_aarch64.whl | CPython 3.9 | abi3 | Linux musl 1.2+ ARM64 | Details |
| holographic_memory_py-0.6.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| holographic_memory_py-0.6.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| holographic_memory_py-0.6.2-cp39-abi3-macosx_11_0_arm64.whl | CPython 3.9 | abi3 | macOS 11.0+ ARM64 | Details |
| holographic_memory_py-0.6.2-cp39-abi3-macosx_10_12_x86_64.whl | CPython 3.9 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 23.5 MB
Release files / holographic_memory_py-0.6.2-cp39-abi3-win_amd64.whl
| Download URL | holographic_memory_py-0.6.2-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
9d1542ede26aa6fa471c75003072d01a26c852e4b46fccc4c9a105c075ee969e
|
|
BLAKE2b-256 checksum How to use checksums |
23753e1806c8424a005ae675dc9d70853319ddf18cbc8b37a482f336e445166d
|
| 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 25, 2026.
Transparency logRelease files / holographic_memory_py-0.6.2-cp39-abi3-musllinux_1_2_x86_64.whl
| Download URL | holographic_memory_py-0.6.2-cp39-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | CPython 3.9 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
81095dcc0a24f712c4dc93bb8d8e09549202de62e8c6ca2c3528d8d4e9821e88
|
|
BLAKE2b-256 checksum How to use checksums |
d1140a001e60961dff7a10e6963693d5a860cba570af7e23998f627f95111fb7
|
| 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 25, 2026.
Transparency logRelease files / holographic_memory_py-0.6.2-cp39-abi3-musllinux_1_2_aarch64.whl
| Download URL | holographic_memory_py-0.6.2-cp39-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.9 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
3ff07140e55d5103f118c2f5239d2027e70b0c8afe67680bdc61887c4396508c
|
|
BLAKE2b-256 checksum How to use checksums |
f06947fb51bb3afabaffe2cc99511f23e90e897b877da3ef4b6e478be7354264
|
| 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 25, 2026.
Transparency logRelease files / holographic_memory_py-0.6.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | holographic_memory_py-0.6.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 3.4 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
7f7298b896e68424b7408cd54b562b091d2b445081b71565a79ac0b01f41b974
|
|
BLAKE2b-256 checksum How to use checksums |
a48a50783b675ba31e15bb0757ae4ce6ab70ee9c3924e10dbabb6bdbd27640a7
|
| 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 25, 2026.
Transparency logRelease files / holographic_memory_py-0.6.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | holographic_memory_py-0.6.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 3.3 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
b50d7af5b94f9b4e0141d6e4828da7fb1833bcfd931528c51bca2beb83c856a9
|
|
BLAKE2b-256 checksum How to use checksums |
fcf9648c4d554a134cf3239398eee70436e069dff54b9b3e291656762ee43ace
|
| 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 25, 2026.
Transparency logRelease files / holographic_memory_py-0.6.2-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | holographic_memory_py-0.6.2-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
921f8258dc67fbb73386ed0f4e5279aa37f38c89f088b9c82a4b5b93841430aa
|
|
BLAKE2b-256 checksum How to use checksums |
fb372f381e1a520e9f36e4019b03ac9981dbbad55872d4c8839db8baf6ddfc56
|
| 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 25, 2026.
Transparency logRelease files / holographic_memory_py-0.6.2-cp39-abi3-macosx_10_12_x86_64.whl
| Download URL | holographic_memory_py-0.6.2-cp39-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 3.3 MB |
| Tags | CPython 3.9 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
a2c532019e70a5a101eaf694e12be13810c063ccfab075a312c765d11170b747
|
|
BLAKE2b-256 checksum How to use checksums |
aab44237e6e6b5cdbc047b197c279733fe84b42c511ed3ce87b91e9d62bc22da
|
| 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 25, 2026.
Transparency logSecurity for holographic-memory-py 0.6.2
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 7 files in this release have been uploaded with provenance metadata.
Attestation for holographic_memory_py-0.6.2-cp39-abi3-win_amd64.whl
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 25, 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.