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.4.tar.gz (55.8 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.4-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for selfship_ai-0.3.4.tar.gz
Algorithm Hash digest
SHA256 8c54abce2baafafe2a9766c4b77cfd23861bef917f572996d43251c46131c2f9
MD5 3e85e42f619c2e08a00862b0e1a10b68
BLAKE2b-256 7d07b9bf5fbb4ce334a209b0072dcd9f17c123c3e3ef0b66ec3470291d963b63

See more details on using hashes here.

Provenance

The following attestation bundles were made for selfship_ai-0.3.4.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.4-py3-none-any.whl.

File metadata

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

File hashes

Hashes for selfship_ai-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 27615a418216ffa340aa8b4a4753f7284942a9c3dc867f4902d7e27aaa026c5f
MD5 a042f5752ec69c0c63f3f89b1e626180
BLAKE2b-256 316df98b06799e48e2ae26eaa88b02fb2b503cb7ac282ebd562e15f09747dbb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for selfship_ai-0.3.4-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