Skip to main content

CLI for HyperCLI - GPU orchestration and LLM API

Project description

C3 CLI

Command-line interface for HyperCLI - GPU orchestration and LLM API.

Installation

pip install c3-cli

This also installs the c3-sdk as a dependency.

Setup

Configure your API key:

c3 configure

Or set via environment:

export C3_API_KEY=your_key

Or create ~/.c3/config:

C3_API_KEY=your_key

Get your API key at hypercli.com/dashboard

Usage

Billing

c3 billing balance
c3 billing transactions
c3 billing balance -o json

LLM

# List models
c3 llm models

# Quick chat
c3 llm chat deepseek-v3.1 "Explain quantum computing"

# Interactive chat
c3 llm chat deepseek-v3.1

# With system prompt
c3 llm chat deepseek-v3.1 "Write a haiku" -s "You are a poet"

Jobs

# List jobs
c3 jobs list
c3 jobs list -s running

# Create a job
c3 jobs create nvidia/cuda:12.0 -g l40s -c "python train.py"

# Create and follow logs with TUI
c3 jobs create nvidia/cuda:12.0 -g h100 -n 8 -c "torchrun train.py" -f

# Get job details
c3 jobs get <job_id>

# Stream logs
c3 jobs logs <job_id> -f

# Watch GPU metrics
c3 jobs metrics <job_id> -w

# Cancel
c3 jobs cancel <job_id>

# Extend runtime
c3 jobs extend <job_id> 7200

User

c3 user

Output Formats

c3 jobs list -o json
c3 billing balance -o table

License

MIT

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

hypercli_cli-0.4.0.tar.gz (21.3 kB view details)

Uploaded Source

Built Distribution

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

hypercli_cli-0.4.0-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

Details for the file hypercli_cli-0.4.0.tar.gz.

File metadata

  • Download URL: hypercli_cli-0.4.0.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for hypercli_cli-0.4.0.tar.gz
Algorithm Hash digest
SHA256 9b0069f044d7f8514d5f5a7682fadd51b364af0cc8ce7973b33cbb8ad031135a
MD5 91ef0aa51df31e601fc757f289818405
BLAKE2b-256 21a2e3a399b4f1ce899d51efda693f91735803cc2947931d0a6200f5d2bf4e09

See more details on using hashes here.

File details

Details for the file hypercli_cli-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: hypercli_cli-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 26.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for hypercli_cli-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 25066536b8cae6fdf7784b50a292c3ae282f536bfa03236788e06e0ef112523b
MD5 21b8356e4e32b6edf73d5a76271d2fd3
BLAKE2b-256 d9d52e93aa6312e0f9bd020702e496be86fe469afaa8c1efef76dd861a486f3f

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