Metadata-Version: 2.4
Name: yirlo
Version: 1.3.12
Summary: Yirlo SDK: run your AI cold email outreach (projects, campaigns, inbox, hot leads, budgets) from Python.
License: MIT
Project-URL: Homepage, https://yirlo.com
Project-URL: Documentation, https://yirlo.com/api-docs
Keywords: yirlo,cold email,outbound,lead generation,sdk
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# Yirlo

Run Yirlo, the AI outbound agent for B2B companies, from Python: projects, campaigns, budgets, the inbox and replies, hot leads, webhooks and your team. No dependencies.

Get an API key in the Yirlo app: Connect your other apps > API > Create API key (shown once, starts yk_live_). Full API docs: https://yirlo.com/api-docs

Another address (a test server): `Yirlo(key, base_url="https://...")`, or set `YIRLO_BASE` in the environment; the default is https://yirlo.com.

```python
import os
from yirlo import Yirlo
y = Yirlo(os.environ["YIRLO_API_KEY"])
projects = y.list_projects()["projects"]
campaigns = y.list_campaigns(project_id=projects[0]["id"])["campaigns"]
hot = y.list_hot_leads()
```

Errors raise `YirloError` with `.status` and `.body`. MCP server: `https://yirlo.com/mcp` (header `Authorization: Bearer <key>`).
