Metadata-Version: 2.4
Name: libro-sdk
Version: 0.1.0
Summary: Official Python SDK for the Libro AI memory infrastructure.
Author: Libro Team
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.25.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: mypy>=1.0; extra == "dev"

# Libro Python SDK

Official Python SDK for Libro, the open-source AI memory infrastructure.

## Installation

```bash
pip install libro-sdk
```

## Quick Start

```python
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)
```
