Python HTTP client SDK for the Cerememory Protocol (CMP)
Project description
Cerememory Python SDK
Python bindings for Cerememory.
Features
- Synchronous
Clientand asynchronousAsyncClient - High-level
store(),recall(),forget(), andstats()helpers - Full CMP protocol access via the underlying transport clients
store()supportsmetadatarecall()supportsreconsolidateandactivation_depth- Retries are opt-in; the default is
max_retries=0 - Native package support via
cerememory_native
Example
from cerememory import Client
client = Client("http://localhost:8420")
record_id = client.store(
"Coffee chat with Alice",
store="episodic",
metadata={"source": "chat"},
)
memories = client.recall("coffee", reconsolidate=False, activation_depth=4)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cerememory-0.2.2.tar.gz
(31.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cerememory-0.2.2.tar.gz.
File metadata
- Download URL: cerememory-0.2.2.tar.gz
- Upload date:
- Size: 31.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93cd3e83436b8548033291930c2c9b9160b5fc965ffdb21b7a0bc49a5ca5eb86
|
|
| MD5 |
8cc750fd0b084c8f91cfe27a5407ace7
|
|
| BLAKE2b-256 |
f6e6db54bc255d2a9733b0f03bc50bafdfca2053bd3fe66f6905aca3d18cdafc
|
File details
Details for the file cerememory-0.2.2-py3-none-any.whl.
File metadata
- Download URL: cerememory-0.2.2-py3-none-any.whl
- Upload date:
- Size: 27.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3eadb124c2fd547b486c5e9c6699f7050a379ebe063387aad8758ca34ca40b89
|
|
| MD5 |
4d6e4235049e5a13a9c35426e9a8884c
|
|
| BLAKE2b-256 |
081b068c78431c23cccaa4fae3588cb7b942738bfa37e9db91034ed7cc5e9b12
|