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.

The PyPI distribution name memoire-engine is not published yet. The unrelated PyPI project memoire is a different package; do not install it expecting this one.

Install from a source checkout (needs a Rust toolchain), 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 23 MB) 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.0

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.0
File Interpreter ABI Platform Actions
memoire_engine-0.1.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for memoire_engine-0.1.0-cp310-abi3-win_amd64.whl
memoire_engine-0.1.0-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details for memoire_engine-0.1.0-cp310-abi3-manylinux_2_28_x86_64.whl
memoire_engine-0.1.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for memoire_engine-0.1.0-cp310-abi3-macosx_11_0_arm64.whl

Total release size: 35.4 MB

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

Download URL memoire_engine-0.1.0-cp310-abi3-win_amd64.whl
Size 11.1 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
57e5ff5f61e5cec3720e3d42d0a267a3c06f079cda76e8afa7c3bc11bbaf2522
BLAKE2b-256 checksum
How to use checksums
4e3c07d312b1be8d34ee5961d7f1197b1357e9fd9ab5cd701422d7b8a050066c
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.0-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL memoire_engine-0.1.0-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
ba7641bb988386492332cfe5b59935e368ed7a5949ab8140329dfef0fc7fcc4f
BLAKE2b-256 checksum
How to use checksums
114f9c50b2c7c8f3e2e6d64e1bd6a0ff35ca2616a007bcf6a0e543104fb93ae4
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.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL memoire_engine-0.1.0-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
cacf3b8f3038cf1ed8178f41da87e7d621fee311d9a830c0902815832993b34e
BLAKE2b-256 checksum
How to use checksums
5a1f584d839d203c4179225dbc7bc3de374623e1b9c56da3330dea7cc5b86343
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.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

3 release files No 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