Metadata-Version: 2.4
Name: selfship-ai
Version: 0.2.1
Summary: SelfShip LLM observability SDK — thin wrapper over Langfuse
Project-URL: Homepage, https://selfship.ai
Project-URL: Documentation, https://docs.selfship.ai
Project-URL: Repository, https://github.com/selfship-ai/selfship
Author-email: SelfShip <hello@selfship.ai>
License: MIT
Keywords: langfuse,llm,observability,selfship,tracing
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: langfuse<4,>=3
Provides-Extra: dev
Requires-Dist: build; extra == 'dev'
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-mock; extra == 'dev'
Description-Content-Type: text/markdown

# selfship-ai

Python SDK for [SelfShip](https://selfship.ai) — a thin wrapper over the Langfuse Python SDK.

## Install

```bash
pip install selfship-ai
```

## Usage

```python
import selfship

selfship.init()  # reads SELFSHIP_ORG_ID / SELFSHIP_ORG_SECRET

interaction = selfship.begin(
    user_id="user-123",
    agent_name="support-bot",
    input="Hello",
)
interaction.end(output="Hi there!", success=True)

selfship.shutdown()
```

See [docs.selfship.ai](https://docs.selfship.ai/python/getting-started) for the full API.
