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
First, authenticate with the Mixtrain platform:
mixtrain login
CLI Usage
Refer to mixtrain --help for the full list of commands.
Python SDK
Basic Dataset Operations
import mixtrain.client as mix
# Create a dataset from file
mix.create_dataset_from_file("my_dataset", "data.csv", description="My dataset")
# List datasets
datasets = mix.list_datasets()
print(datasets)
# Get direct access to remote dataset
table = mix.get_dataset("my_dataset")
# Scan table data
scan = table.scan(limit=1000)
df = scan.to_polars() # or .to_pandas() or .to_duckdb("my_dataset")
print(df.head())
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
mixtrain-0.1.0.tar.gz
(51.7 kB
view details)
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
mixtrain-0.1.0-py3-none-any.whl
(18.1 kB
view details)
File details
Details for the file mixtrain-0.1.0.tar.gz.
File metadata
- Download URL: mixtrain-0.1.0.tar.gz
- Upload date:
- Size: 51.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db9e0fa1bb197f9ab321463f73c6d9cbfe2ec5cdf8eac994292773ef0769a4d2
|
|
| MD5 |
834600a685e50ae6a2372bd247ce847c
|
|
| BLAKE2b-256 |
44d766301faedc4a4abe36d5274ff301c64f5c15702ac6f3a89c7d983fc3373e
|
File details
Details for the file mixtrain-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mixtrain-0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afdb4271aca29202c232ff448da951868372bc43daaa87cdf84aee5851fe8414
|
|
| MD5 |
5af0f6e420f2ada26fa6dd2bbc564cf0
|
|
| BLAKE2b-256 |
ff06cac63cf597e06f15b879ee53b6b4bde2af5758eaa13a892a4e92b16baec7
|