Skip to main content

memoricai Python SDK

Stdlib-only client for the memoricai /v1 HTTP API (Python 3.9+).

from memoricai import Client

client = Client("http://localhost:7373", "mc_...")

doc = client.add_text("My name is Ada.", container_tag="mc_project_default")
client.wait_for_document(doc["id"])

res = client.search_memories("what is my name",
                             container_tag="mc_project_default", digest=True)
print(res["digest"])          # ready-to-inject, date-stamped context
print(client.profile("mc_project_default"))

Install from the repo: pip install ./sdks/python. Transient failures (429/5xx) are retried with exponential backoff; API errors raise MemoricaiError(status, message).

Release files for memoricai 0.1.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 memoricai 0.1.3
File Size Uploaded
memoricai-0.1.3.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for memoricai 0.1.3
File Interpreter ABI Platform
memoricai-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / memoricai-0.1.3.tar.gz

Download URL memoricai-0.1.3.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
41d19556935cb7ab9be3845f655498953357b1baa11ae28fa3a436f4ab410deb
BLAKE2b-256 checksum
How to use checksums
7ab7d2a6af32b9e460aff7e72024f917fcdd67696a5684d069f9babfebf14b40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / memoricai-0.1.3-py3-none-any.whl

Download URL memoricai-0.1.3-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
810b69ac1a20ec7711c0c2c2cb94dedbb9c122b6d160648379e057b87bee3a74
BLAKE2b-256 checksum
How to use checksums
11ad0bac49eb46dc466938a649e4ef1a10b748a1636ab518e7551c37ff56bb42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release history Release notifications | RSS feed

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.5

2 release files

This release

0.1.3 This release

2 release files

0.1.0

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