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

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.2.0
File Size Uploaded
memoricai-0.2.0.tar.gz 4.6 kB Details

Built distribution (wheel)

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

Total release size: 8.9 kB

Release files / memoricai-0.2.0.tar.gz

Download URL memoricai-0.2.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2fa6deac14116a26a4ff2654aa24f2c4d3e89208f146666ddec33a1ab1a34a3a
BLAKE2b-256 checksum
How to use checksums
c2ffce8167c8a3d34f05b1ee01564bd8d2f03bfd7e27cfb707089a5356e6b6e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL memoricai-0.2.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
547e85da000c2d5061f0ce2e75c83675abaf8d890e29588131d3cee65ef59a37
BLAKE2b-256 checksum
How to use checksums
aa04c3b9e1e012f52e758b2ecf30ae4f7e06e7b0b8d165b5fbf145e5243004a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

This release

0.2.0 This release

2 release files

0.1.5

2 release files

0.1.3

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