Skip to main content

TrainLoop command-line interface

Project description

TrainLoop CLI

The TrainLoop CLI is a lightweight command‑line tool for managing data collection, evaluation, and studio workflows in your TrainLoop projects.


🔧 Installation

You can install the latest released version from PyPI:

pip install trainloop-cli

# then run it via trainloop
trainloop --help

Or via pipx/uvx (recommended):

pipx run trainloop-cli --help
uvx run trainloop-cli --help

Or, if you’re developing locally from your monorepo root:

poetry install
poetry run trainloop --help

🚀 Quickstart

Initialize a new evaluation workspace:

trainloop init my‑project
cd my‑project

Run an evaluation using your configured LLM judge:

trainloop eval

Launch the interactive “studio” UI in your browser:

trainloop studio
# then open http://localhost:8080

📖 Commands

Command Description trainloop init - Scaffold a new TrainLoop evaluation directory trainloop eval - Run evaluations/tests against your prompts & responses trainloop studio - Start the web‑based studio for interactive data collection trainloop --help - Show global flags and help for all commands

For full details on each command and its flags:

trainloop <command> --help
# Or via pipx/uvx
pipx run trainloop-cli <command> --help
uvx run trainloop-cli <command> --help

🤝 Contributing

  1. Fork the repo
  2. Create a feature branch: git checkout -b feat/my‑awesome‑feature
  3. Install dev‑deps: poetry install
  4. Run tests: poetry run pytest
  5. Submit a pull request

📄 License

MIT © 2025 TrainLoop

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_cli-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

trainloop_cli-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file trainloop_cli-0.1.0.tar.gz.

File metadata

  • Download URL: trainloop_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.2 Darwin/24.2.0

File hashes

Hashes for trainloop_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6468d3f1bcf99a1f6f4582334b7ec5a0af3f9cc223b556346cc5e8743515f1ee
MD5 7364c959f4aa9b41f0241c224717b262
BLAKE2b-256 7a8c94174a995e81aa24de0a906329950ff8df84a9d0ac349d2ddea071d3d6d2

See more details on using hashes here.

File details

Details for the file trainloop_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: trainloop_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.2 Darwin/24.2.0

File hashes

Hashes for trainloop_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50fd191ed5e2890a4b674d830e581a3f363c94a3b72270366b6438219143be8a
MD5 1dd10ef92eb190cfe9757ef496ba821c
BLAKE2b-256 689b3704e7c171d3e17b1296706f49ae724c5d742cf2337fe137c4abd6e87517

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