Skip to main content

Python SDK to track events in Trubrics.

Project description

trubrics-sdk

[!IMPORTANT] We are currently in beta.

To track events:

trubrics = Trubrics(api_key="YOUR_TRUBRICS_API_KEY")

trubrics.track(
    event="User prompt",
    user_id="test_user_id",
    properties={"$text": "Hello, Trubrics! Tell me a joke?", "$thread_id": "your thread id"},
)

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

trubrics_beta-0.2.0.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

trubrics_beta-0.2.0-py3-none-any.whl (2.3 kB view hashes)

Uploaded Python 3

Supported by

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