Skip to main content

memoire-engine (Python)

Python bindings for the Memoire semantic memory engine, built as a PyO3 extension with maturin. Import name: memoire_engine.

memoire-engine 0.1.1 is on PyPI as prebuilt cp310-abi3 wheels for Linux x86_64 (manylinux_2_28), macOS arm64 and Windows x86_64 (Python 3.10+). There is no sdist. The import name is memoire_engine; the unrelated PyPI project memoire is a different package, so do not install it expecting this one.

pip install memoire-engine

On any other platform (for example Intel macOS, Linux aarch64 or musl), or to develop, build from a source checkout (needs a Rust toolchain; targets without a prebuilt ONNX Runtime also need ORT_LIB_LOCATION, see docs/RELEASE.md), inside a virtualenv:

python -m venv .venv && . .venv/bin/activate   # Windows: .venv\Scripts\activate
pip install maturin
cd bindings/python
maturin develop --release
from memoire_engine import Memoire

with Memoire("agent.db") as m:
    m.remember("Fixed the JWT issuer validation bug in auth middleware")
    for r in m.recall("authentication security issues", top_k=3):
        print(f"[{r.score:.3f}] {r.content}")

The first real remember()/recall() downloads the embedding model (about 87 MiB) unless it is already in the Hugging Face cache.

import_namespace(snapshot) ignores trust metadata in the snapshot by default. Pass preserve_trust=True only to restore a snapshot you exported yourself.

Tests: cd bindings/python && pytest tests/ (needs the extension built as above). MEMOIRE_LIB is not used by this package. See docs/RELEASE.md for releases.

Metadata

Release files for memoire-engine 0.1.1

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

Built distributions (wheels)

Table of built distributions (wheels) for memoire-engine 0.1.1
File Interpreter ABI Platform Actions
memoire_engine-0.1.1-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for memoire_engine-0.1.1-cp310-abi3-win_amd64.whl
memoire_engine-0.1.1-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details for memoire_engine-0.1.1-cp310-abi3-manylinux_2_28_x86_64.whl
memoire_engine-0.1.1-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for memoire_engine-0.1.1-cp310-abi3-macosx_11_0_arm64.whl

Total release size: 35.4 MB

Release files / memoire_engine-0.1.1-cp310-abi3-win_amd64.whl

Download URL memoire_engine-0.1.1-cp310-abi3-win_amd64.whl
Size 11.1 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
c5941e00e392a8211dd6643e5010d5d6bac90ecd114da5c019b2e316cf82f156
BLAKE2b-256 checksum
How to use checksums
db1ab7e8eae71c62a40981c720666b7ea1b9ce813f08c7aae7040463cec4e2a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Release files / memoire_engine-0.1.1-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL memoire_engine-0.1.1-cp310-abi3-manylinux_2_28_x86_64.whl
Size 13.8 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
0cbaa67c874a6b560c088b7cb9763684cb0c6f5f375e07e25cae87e130f4755f
BLAKE2b-256 checksum
How to use checksums
a0d6ba1290fc78c8cf9a1da88404a6c14b337dfd7d4d6f07963f918d6a26da59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Release files / memoire_engine-0.1.1-cp310-abi3-macosx_11_0_arm64.whl

Download URL memoire_engine-0.1.1-cp310-abi3-macosx_11_0_arm64.whl
Size 10.5 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6016a51b9b75d4a744dcc519c0dd99c6bd01d5bb67c067a490d24a4dd571b8a4
BLAKE2b-256 checksum
How to use checksums
1f2788cdc7b689b4b5d65f1ee89f8c56413821570bd288ac44baa5d41caf07bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Security for memoire-engine 0.1.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.

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