Middleman ML SDK
Python SDK for the Middleman GPU compute platform.
Installation
pip install middleman-ml
Quick Start
from middleman import MiddlemanClient
client = MiddlemanClient(api_key="mdlm_...")
# Create a training job
job = client.create_job(
name="bert-training",
gpu_type="a100",
script="train.py",
requirements=["torch", "transformers"]
)
# Monitor progress
client.wait_for_job(job.id)
# Check your balance
balance = client.get_balance()
print(f"Remaining credits: {balance.credits}")
Features
- Job Management: Create, list, cancel, pause, resume jobs
- Real-time Logs: Stream training logs as they happen
- File Uploads: Upload datasets and scripts
- Billing: Check balance, view transactions
- Webhooks: Get notified on job status changes
GPU Options
| GPU | Credits/hr | Best For |
|---|---|---|
| T4 | 50 | Inference, small models |
| A100 | 350 | Large models, fast training |
| H100 | 600 | Maximum performance |
Documentation
Full docs at docs.middleman.run
Support
- Email: support@middleman.run
- GitHub: github.com/mkshepherd1/Middleman
Release files for middleman-ml 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| middleman_ml-0.1.1.tar.gz | 11.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| middleman_ml-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.4 kB
Release files / middleman_ml-0.1.1.tar.gz
| Download URL | middleman_ml-0.1.1.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b96934d2462ce1a126236c529a7c1f6440d2883975b5142f2cf2891fd5174a6b
|
|
BLAKE2b-256 checksum How to use checksums |
ed3d5a168d60458347ca7070169001dcadb1d989cd92aea4280d7a426866de26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / middleman_ml-0.1.1-py3-none-any.whl
| Download URL | middleman_ml-0.1.1-py3-none-any.whl |
|---|---|
| Size | 13.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad27576ade1b8e5c71788709bf8c779d8bd7ff7db7c88bc0734325b5c7953108
|
|
BLAKE2b-256 checksum How to use checksums |
9785de024da2ecc4687c8ffe0f51e587be39f87d2eeb88d305d5f97604ee6d54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|