Skip to main content

Mixtrain SDK and CLI

Project description

Mixtrain

Mixtrain is a Python SDK and CLI for mixtrain.ai platform.

Installation

Using uv

uv add mixtrain

or if you use pip

pip install mixtrain

To install mixtrain CLI globally, using uv

uv tool install mixtrain

or if you use pipx

pipx mixtrain

Quick Start

Authentication

Option 1: Interactive Login (Development)

mixtrain login

Option 2: API Key (Production/Automation)

For production deployments, CI/CD, or automated scripts, use API key authentication:

# Set your API key as an environment variable
export MIXTRAIN_API_KEY=mix-your-api-key-here

# Now you can use mixtrain without login
mixtrain workspace list

Or in Python:

import os
os.environ['MIXTRAIN_API_KEY'] = 'mix-your-api-key-here'

from mixtrain import MixClient
client = MixClient()
configs = client.list_routing_configs()

Get your API key from the mixtrain.ai dashboard.

CLI Usage

Refer to mixtrain --help for the full list of commands.

Python SDK

Refer to https://mixtrain.ai for more details.

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

mixtrain-0.1.12a2.tar.gz (244.9 kB view details)

Uploaded Source

Built Distribution

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

mixtrain-0.1.12a2-py3-none-any.whl (99.4 kB view details)

Uploaded Python 3

File details

Details for the file mixtrain-0.1.12a2.tar.gz.

File metadata

  • Download URL: mixtrain-0.1.12a2.tar.gz
  • Upload date:
  • Size: 244.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.9

File hashes

Hashes for mixtrain-0.1.12a2.tar.gz
Algorithm Hash digest
SHA256 3bbf8af584d538ce533f7d0b52abee18099e87b63bda3d9cb29dac71145ec6c2
MD5 ad294fe0e2c071614a57791f66c04e12
BLAKE2b-256 2329f1911ec90597bdea7125fe4516bf6b508522d58bb198643cbacfb6254e3b

See more details on using hashes here.

File details

Details for the file mixtrain-0.1.12a2-py3-none-any.whl.

File metadata

File hashes

Hashes for mixtrain-0.1.12a2-py3-none-any.whl
Algorithm Hash digest
SHA256 3f59129e9932bfe7c54e8a615ed7c1d6f4f2322b2e8a7fe5198a9adfa20d22ee
MD5 25b620fe6e087a008d0526fbe6f33167
BLAKE2b-256 d86ad4c2878e1b0b9fca3d0dc60c52896a11f5ef32926e8bc6a1d3c8e3db6046

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