Skip to main content

SelfShip LLM observability SDK — thin wrapper over Langfuse

Project description

selfship-ai

Python SDK for SelfShip — a thin wrapper over the Langfuse Python SDK.

Install

pip install selfship-ai

Usage

import selfship

# Reads SELFSHIP_ORG_ID, SELFSHIP_REPO_SECRET, SELFSHIP_ENV, SELFSHIP_REPO from the environment
selfship.init()

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 for the full API.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

selfship_ai-0.3.1.tar.gz (54.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

selfship_ai-0.3.1-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file selfship_ai-0.3.1.tar.gz.

File metadata

  • Download URL: selfship_ai-0.3.1.tar.gz
  • Upload date:
  • Size: 54.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for selfship_ai-0.3.1.tar.gz
Algorithm Hash digest
SHA256 6bf57c58b33709f8384508247348a9484886e9d0a33d230bb5f51f88ed55b099
MD5 dc16b6f428f7746cdc028a89829f05d6
BLAKE2b-256 9f6d62f1507286e01afb819227706da6edafec7be186c6f045022c53a0642f77

See more details on using hashes here.

Provenance

The following attestation bundles were made for selfship_ai-0.3.1.tar.gz:

Publisher: publish-sdk.yml on selfship-ai/selfship

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file selfship_ai-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: selfship_ai-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for selfship_ai-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dd0da8556dba6c7427a7893b9a1d8ae4c7232425a06aa67a6ca3264274c8d663
MD5 6d016802f162784279c19dff5a908a9c
BLAKE2b-256 4a226e0017beb450d1e43079ce55cfadf9c48605da22b6cd7169946604f02c60

See more details on using hashes here.

Provenance

The following attestation bundles were made for selfship_ai-0.3.1-py3-none-any.whl:

Publisher: publish-sdk.yml on selfship-ai/selfship

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page