Skip to content

Releases: HarchCorp/harchos-sdk-python

harchos v0.2.1 - CLI, PyPI-Ready, Examples

05 May 16:10

Choose a tag to compare

What's New in v0.2.1

CLI (harchos command)

  • harchos status — Check API health
  • harchos carbon [ZONE] — Carbon intensity data
  • harchos hubs — List sovereign compute hubs
  • harchos workloads — List workloads
  • harchos models — List AI models
  • harchos optimize — Carbon-aware scheduling optimizer
  • harchos green-windows — Find green scheduling windows
  • harchos config show — Show configuration

7 Examples

  • quickstart.py — 30-second setup
  • carbon_aware_scheduling.py — Carbon-aware GPU scheduling
  • sovereign_deployment.py — Strict data residency
  • green_windows_monitoring.py — Green scheduling windows
  • hubs_and_pricing.py — Hub discovery and pricing
  • cli_usage.sh — CLI command examples
  • async_streaming.py — Async + SSE streaming

PyPI Publishing

  • Added [project.scripts] entry point
  • Added GitHub Actions publish.yml for auto-publish on release
  • Added ci.yml with Python 3.9-3.12 matrix

Install

pip install harchos

CLI Quick Start

export HARCHOS_API_KEY=hsk_your_key
harchos status
harchos carbon MA
harchos hubs