Skip to main content

TrainLoop LLM Logging SDK for data collection

Project description

TrainLoop Python SDK

Zero-touch HTTP instrumentation library for collecting LLM request/response data.

📚 Documentation

For complete Python SDK documentation, installation guides, and usage examples:

👉 evals.docs.trainloop.ai

Quick Links

Quick Start

# Install
pip install trainloop-llm-logging
from trainloop_llm_logging import collect

# Start collecting LLM data
collect("path/to/trainloop.config.yaml")

# Your existing LLM calls work automatically
# No code changes required!

For detailed information, visit evals.docs.trainloop.ai/docs/python

Development & Testing

For SDK development and testing information:

Note: Integration tests cannot use pytest due to import order requirements. Use the standalone test runner instead.

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

trainloop_llm_logging-0.9.0.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

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

trainloop_llm_logging-0.9.0-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file trainloop_llm_logging-0.9.0.tar.gz.

File metadata

  • Download URL: trainloop_llm_logging-0.9.0.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.13 Linux/6.11.0-1018-azure

File hashes

Hashes for trainloop_llm_logging-0.9.0.tar.gz
Algorithm Hash digest
SHA256 81d5d8f492eb412f9acc7ad9c777ac3305446e229e4c6241843a11dd04b46363
MD5 2809e96a8ed9bcb22d7f996feefe410a
BLAKE2b-256 74070485704b9e782690bbf0130ee0f9be52db13772f8e91a5ecc888bce54cdd

See more details on using hashes here.

File details

Details for the file trainloop_llm_logging-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: trainloop_llm_logging-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.13 Linux/6.11.0-1018-azure

File hashes

Hashes for trainloop_llm_logging-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4baab40901c285a3c40f2df3e90c6fd1183256fb3ac74fb2ee03208a1fdbbd40
MD5 6ecc95c20ef08a2d1ff744b439d95ee5
BLAKE2b-256 46ba9de1e8b048dfab030eb05bfac07f0cf5d6f9f8ef9e6f274888732e69727d

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