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.3.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

trubrics_beta-0.3.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file trubrics_beta-0.3.0.tar.gz.

File metadata

  • Download URL: trubrics_beta-0.3.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for trubrics_beta-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4e05239fcce9d476f9d335a290b55f007f00ad5b7d6238b8e467f50674d7035f
MD5 37aa33b324bf7f35bf77747f517f6933
BLAKE2b-256 265dd230a1d3cdf83bad943ba3feed2a0bfdc6367d513cf4d6cc722612e6ad5c

See more details on using hashes here.

File details

Details for the file trubrics_beta-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: trubrics_beta-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for trubrics_beta-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47bf18d3648f375e9b50622e37c180f7890ea9793de685316b17e1e6ead37c87
MD5 3e5fa7c27fc116d85406052a578c455e
BLAKE2b-256 868d2362f312825e4969cec6bbb872e1c7cb3361b47322dead55b8cea2c095fd

See more details on using hashes here.

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