Skip to main content

Trainwave CLI

A command-line interface for interacting with Trainwave's machine learning platform. This CLI tool provides functionality for managing training jobs, handling authentication, managing secrets, and configuring your Trainwave environment.

Features

  • Job Management: Create, monitor, and manage training jobs
  • Authentication: Secure authentication with Trainwave's platform
  • Secrets Management: Handle sensitive information for your jobs
  • Configuration: Set up and manage your Trainwave environment

Installation

Using pip

pip install trainwave-cli

From Source

  1. Clone the repository
  2. Install using uv:
uv sync

Usage

The CLI provides several main commands:

wave jobs     # Manage training jobs
wave auth     # Authenticate with Trainwave
wave config   # Configure your Trainwave environment
wave secrets  # Manage job secrets

For detailed help on any command:

wave --help
wave <command> --help

Development

This project uses uv for dependency management and packaging. Here's how to set up your development environment:

Prerequisites

  • Python 3.10 or higher
  • uv
  • Make (for development commands)

Setting Up Development Environment

  1. Clone the repository
  2. Install development dependencies:
make install-dev

Development Commands

The project includes several Make targets to help with development:

  • make install: Install production dependencies
  • make install-dev: Install development dependencies
  • make clean: Remove temporary files and build artifacts
  • make ruff: Run Ruff linter
  • make format: Format code using Black and Ruff
  • make check: Run all code quality checks
  • make test: Run the test suite
  • make help: Show available make commands

Code Style

The project uses:

  • Ruff for linting
  • Black for code formatting
  • Type hints are required for all functions

Running Tests

make test

Or directly with pytest:

pytest tests/

Project Structure

trainwave-cli/
├── trainwave_cli/     # Main package directory
├── tests/            # Test files
├── example/          # Example configurations and usage
├── pyproject.toml    # Project metadata and dependencies
└── Makefile         # Development automation

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run tests and linting: make check
  5. Submit a pull request

License

[License information here]

Metadata

Release files for trainwave-cli 0.4.3

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

Source distribution (sdist)

Source distribution for trainwave-cli 0.4.3
File Size Uploaded Provenance Actions
trainwave_cli-0.4.3.tar.gz 192.8 kB Without provenance Details for trainwave_cli-0.4.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for trainwave-cli 0.4.3
File Interpreter ABI Platform Actions
trainwave_cli-0.4.3-py3-none-any.whl Python 3 none any Details for trainwave_cli-0.4.3-py3-none-any.whl

Total release size: 217.9 kB

Release files / trainwave_cli-0.4.3.tar.gz

Download URL trainwave_cli-0.4.3.tar.gz
Size 192.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d3be36d01b04e71c172d5721f371a62f513d62a850476d8bc4f57a5c9e01cca5
BLAKE2b-256 checksum
How to use checksums
41c4c321ea991c14d7ee7662462b93ad3aaf13dcd13a02214ed04dc16da3861d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / trainwave_cli-0.4.3-py3-none-any.whl

Download URL trainwave_cli-0.4.3-py3-none-any.whl
Size 25.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72055ef1646a412ef5f5e5bc0b4f7ec67b83b02b9f86a2869191d18d8658a5f9
BLAKE2b-256 checksum
How to use checksums
3de0bf2247f167b674de180bf336522451b72ca6bacb9d6c5e0f8e4eb8ffeb40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for trainwave-cli 0.4.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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