"""Remembra Python client.
A dependency-free client for the Remembra
memory API. It mirrors the published @hilbras/remembra TypeScript SDK in paths,
authentication, error classes, retry policy, pagination, and idempotency rules.
Install
pip install hilbras-remembra
Use
from remembra import Remembra
client = Remembra("http://127.0.0.1:8787", api_key="your-key")
client.store({"type": "fact", "content": "the release train leaves at 09:00"})
results = client.search({"query": "release train", "limit": 5})
for page in client.iter_list({"limit": 50}):
...
The asynchronous client has the same surface and the same policy:
import asyncio
from remembra import AsyncRemembra
async def main() -> None:
async with AsyncRemembra("http://127.0.0.1:8787", api_key="your-key") as client:
await client.store({"type": "fact", "content": "deploy window is tuesday 02:00"})
asyncio.run(main())
Guarantees
- No runtime dependencies. The client uses the standard library only.
- Writes are never retried automatically. Retries apply to read-only requests only, so a retry can never duplicate a mutation.
- Bounded everything. Timeouts, retry attempts, pagination limits, search limits, and batch size/count budgets are validated before a request is sent.
- Server-managed identity is never sent.
storerejectsid,tenantId,organizationId,userId,agentId, andembeddingfields. - Typed errors.
ApiError(status, code, body),NetworkError,RequestTimeout, andValidationErrorall derive fromRemembraError. - Idempotency parity.
Idempotency-Keyis accepted only for batch mutations, and a keyed response containing a failed item is rejected.
Metadata
Release files for hilbras-remembra 5.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hilbras_remembra-5.4.0.tar.gz | 17.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hilbras_remembra-5.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.4 kB
Release files / hilbras_remembra-5.4.0.tar.gz
| Download URL | hilbras_remembra-5.4.0.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c6c9604742aab0baef4aa2b4a6f14366559bcd680cb676fb8663950d2060043
|
|
BLAKE2b-256 checksum How to use checksums |
b2dd46d5fb9cd7f97246ecacba6113671c6f03b88caf267ae04fd7ba62f5d366
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / hilbras_remembra-5.4.0-py3-none-any.whl
| Download URL | hilbras_remembra-5.4.0-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc93ecf3310805417374296501b675bbe05ef24c6aa16adaba34bc5ff6c11a11
|
|
BLAKE2b-256 checksum How to use checksums |
b1c69649f8a49f73a8eea079f726f9ca62a5eb99f5fbf7f6d3576937ba67d52b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|