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
- Fork the repo
- Create a feature branch:
git checkout -b feat/my‑awesome‑feature - Install dev‑deps:
poetry install - Run tests:
poetry run pytest - Submit a pull request
⸻
📄 License
MIT © 2025 TrainLoop
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trainloop_cli-0.1.4.tar.gz.
File metadata
- Download URL: trainloop_cli-0.1.4.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f88fbb537867ebc33708724bd8a72d735d3d40c972e31ff9d9392f57af711967
|
|
| MD5 |
c0d0c65c24510799ce5e1c7a45979532
|
|
| BLAKE2b-256 |
c75fecf98bd92170e2f2c9471dd53d5cc3a53b644e5ca296ddd9561255cca7a6
|
File details
Details for the file trainloop_cli-0.1.4-py3-none-any.whl.
File metadata
- Download URL: trainloop_cli-0.1.4-py3-none-any.whl
- Upload date:
- Size: 4.4 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15d891335e4f434a582d30ac49e355e0ee98260f6ca2f883cc0c7a01cfa90de9
|
|
| MD5 |
4a583831eceb6a16fd9cc99a10a3ddd8
|
|
| BLAKE2b-256 |
4b3decf48151cc1ae689d92ca98db757a3f192b2740ca17571f2f3a49c585980
|