Skip to main content

Python SDK for Middleman GPU compute platform

Project description

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

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

middleman_ml-0.1.1.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

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

middleman_ml-0.1.1-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file middleman_ml-0.1.1.tar.gz.

File metadata

  • Download URL: middleman_ml-0.1.1.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for middleman_ml-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b96934d2462ce1a126236c529a7c1f6440d2883975b5142f2cf2891fd5174a6b
MD5 0c61acb328a607f12824feb48979d938
BLAKE2b-256 ed3d5a168d60458347ca7070169001dcadb1d989cd92aea4280d7a426866de26

See more details on using hashes here.

File details

Details for the file middleman_ml-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: middleman_ml-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for middleman_ml-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ad27576ade1b8e5c71788709bf8c779d8bd7ff7db7c88bc0734325b5c7953108
MD5 f96b5ce359ddc5b4d425650daea80d8b
BLAKE2b-256 9785de024da2ecc4687c8ffe0f51e587be39f87d2eeb88d305d5f97604ee6d54

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