"""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
Building from a checkout needs build and twine; use python3, since many
distributions ship no bare python, and a virtual environment where the
system interpreter is externally managed:
python3 -m venv .venv && .venv/bin/pip install build twine
cd python && ../.venv/bin/python -m build && ../.venv/bin/python -m twine upload dist/*
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.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hilbras_remembra-5.5.1.tar.gz | 17.3 kB | Without provenance | Details for hilbras_remembra-5.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hilbras_remembra-5.5.1-py3-none-any.whl | Python 3 | none | any | Details for hilbras_remembra-5.5.1-py3-none-any.whl |
Total release size: 29.8 kB
Release files / hilbras_remembra-5.5.1.tar.gz
| Download URL | hilbras_remembra-5.5.1.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f01f05e2d13f637b64fa92ee0dd005887081baf054599b1e67e5c196073c2bc
|
|
BLAKE2b-256 checksum How to use checksums |
adc58147def7af1c08931797b529a09a8122b789090d4151da95aa0e7f86dd4c
|
| 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.5.1-py3-none-any.whl
| Download URL | hilbras_remembra-5.5.1-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e0ed294cb44c5a8d1a85f57aa43ee6aebf807ee0b3bdc2815ee7b411ce45972
|
|
BLAKE2b-256 checksum How to use checksums |
b1875d8e4a03864b00f8cbaf9a8269460f3ad2b5b4380acd2cc1744e913d491a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for hilbras-remembra 5.5.1
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.