Official Python SDK for the Libro AI memory infrastructure.
Project description
Libro Python SDK
Official Python SDK for Libro, the open-source AI memory infrastructure.
Installation
pip install libro-sdk
Quick Start
from libro import LibroClient
# Initialize the client
client = LibroClient(api_key="your_api_key", base_url="http://localhost:3000")
# 1. Ingest a memory
client.ingest(
user_id="user_123",
text="User prefers Python over Java",
metadata={"source": "slack"}
)
# 2. Retrieve context
context = client.get_context(
user_id="user_123",
query="What programming language do they like?"
)
print(context)
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
libro_sdk-0.1.0.tar.gz
(2.5 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 libro_sdk-0.1.0.tar.gz.
File metadata
- Download URL: libro_sdk-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c4d1ea33040dcf6b703a35cc9357af0082973ae4890db80a9749618d5ec5ad1
|
|
| MD5 |
c5d204aab24a4758592fe84f779a7d59
|
|
| BLAKE2b-256 |
cfac7066b2206cdc9b7d7179bb557ad0c513cbaa2ee7a3d33baabebd092a2b49
|
File details
Details for the file libro_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: libro_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb1ab2d42c1678222f09ff79be49b23326c0f6d1e5104766187e01e9bf645b53
|
|
| MD5 |
70b18ea2b94ecf89a5fe2002acf36a6a
|
|
| BLAKE2b-256 |
eaaf5b2b0ec3ac86cff972cfea8ab071f04ce4d8f78a7ee08e3f2761afa7b307
|