Skip to main content

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.

Metadata

Release files for trainloop-llm-logging 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trainloop-llm-logging 0.9.0
File Size Uploaded
trainloop_llm_logging-0.9.0.tar.gz 16.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for trainloop-llm-logging 0.9.0
File Interpreter ABI Platform
trainloop_llm_logging-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 37.2 kB

Release files / trainloop_llm_logging-0.9.0.tar.gz

Download URL trainloop_llm_logging-0.9.0.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
81d5d8f492eb412f9acc7ad9c777ac3305446e229e4c6241843a11dd04b46363
BLAKE2b-256 checksum
How to use checksums
74070485704b9e782690bbf0130ee0f9be52db13772f8e91a5ecc888bce54cdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.11.13 Linux/6.11.0-1018-azure

Release files / trainloop_llm_logging-0.9.0-py3-none-any.whl

Download URL trainloop_llm_logging-0.9.0-py3-none-any.whl
Size 21.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4baab40901c285a3c40f2df3e90c6fd1183256fb3ac74fb2ee03208a1fdbbd40
BLAKE2b-256 checksum
How to use checksums
46ba9de1e8b048dfab030eb05bfac07f0cf5d6f9f8ef9e6f274888732e69727d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.11.13 Linux/6.11.0-1018-azure

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files

0.8.0

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page