Skip to main content

Holographic Memory logo

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.

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.3

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

Source distribution (sdist)

Source distribution for holographic-memory-py 0.6.3
File Size Uploaded Provenance
holographic_memory_py-0.6.3.tar.gz 5.2 MB With provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for holographic-memory-py 0.6.3
File
holographic_memory_py-0.6.3-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
holographic_memory_py-0.6.3-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details
holographic_memory_py-0.6.3-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details
holographic_memory_py-0.6.3-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.3-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details
holographic_memory_py-0.6.3-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
holographic_memory_py-0.6.3-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details

Total release size: 28.7 MB

Release files / holographic_memory_py-0.6.3.tar.gz

Download URL holographic_memory_py-0.6.3.tar.gz
Size 5.2 MB
Tags Source
SHA-256 checksum
How to use checksums
75a5253cd057e304dcc0168c952ccfeb15650e195d11ecf30ba03696f2b7a079
BLAKE2b-256 checksum
How to use checksums
137f26e5f7a85e9179c9944c441b9662ac620e4ecee4583ffad8e9cf63c19d5c
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 26, 2026.

Transparency log

Release files / holographic_memory_py-0.6.3-cp39-abi3-win_amd64.whl

Download URL holographic_memory_py-0.6.3-cp39-abi3-win_amd64.whl
Size 3.2 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
de54e6d6ffe2f549e5613b09f49369e5f7824254350cd5ad1c019e7993565f2a
BLAKE2b-256 checksum
How to use checksums
8b9b9dfeac5d40e0a2907210208262854f4ad13b925c90de4e7832f05d8947d4
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 26, 2026.

Transparency log

Release files / holographic_memory_py-0.6.3-cp39-abi3-musllinux_1_2_x86_64.whl

Download URL holographic_memory_py-0.6.3-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
39c7e7ab9a3ab33de9ce203e8d32e9f46fac70159db198b93d759f2e01b3d331
BLAKE2b-256 checksum
How to use checksums
7e8ef6285f79dba0de79c3a5b9a7eb91967363316d8fdc9657def54be76a6dad
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 26, 2026.

Transparency log

Release files / holographic_memory_py-0.6.3-cp39-abi3-musllinux_1_2_aarch64.whl

Download URL holographic_memory_py-0.6.3-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
d1cb3762678aadcc2563d00f41ebacefaf88b823c4aeaa333062e6eac28c5327
BLAKE2b-256 checksum
How to use checksums
4b3579976bb01fdfa55a4bbb4addc461407e28866ff7c85bf84cc0fe888a9b1f
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 26, 2026.

Transparency log

Release files / holographic_memory_py-0.6.3-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL holographic_memory_py-0.6.3-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
96f431a4810be6778f36b1d691c98bf7abf8bb8f5e9925f97bf299e530ccb242
BLAKE2b-256 checksum
How to use checksums
486ece1bb31b5ed09f470b05c5c1f0b5468d719b6237c8693f72cb19d6fcda2b
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 26, 2026.

Transparency log

Release files / holographic_memory_py-0.6.3-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL holographic_memory_py-0.6.3-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
113b33bbffbb2c2c5f217fd15c5fe53a689289d9edc78f7273efe09d45689889
BLAKE2b-256 checksum
How to use checksums
3cf9c2e02f7422a84bde4dd2eb2fd8b98a5089f246f72a5bb58a4af8c8b1ebdf
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 26, 2026.

Transparency log

Release files / holographic_memory_py-0.6.3-cp39-abi3-macosx_11_0_arm64.whl

Download URL holographic_memory_py-0.6.3-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
3aca1b73c537f5564ae139a629679f32e4368211badeaa99618710d34c5fc5a1
BLAKE2b-256 checksum
How to use checksums
6f916471b948ad6d280548ba758a1ecbd4e97d67be494ad6b4ecd406ae3bba9b
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 26, 2026.

Transparency log

Release files / holographic_memory_py-0.6.3-cp39-abi3-macosx_10_12_x86_64.whl

Download URL holographic_memory_py-0.6.3-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
c29ede9478431685a106324ced09ae56146f2f5af51d66e9e20d80f8333b4bf4
BLAKE2b-256 checksum
How to use checksums
95d4b9a1527b929d577c155fa82f4059deb936deb1208f6550d2b25d770f3d4d
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 26, 2026.

Transparency log

Security for holographic-memory-py 0.6.3

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 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for holographic_memory_py-0.6.3.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 Oct 26, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.6.3 This release

8 release files Full provenance

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