Skip to main content

Republic Proxy Command Line Interface

Project description

Republic Compute CLI

The Republic Compute CLI (raicompute) is a lightweight, stateless interface for GPU providers to register and manage their hosted machines on the Republic network, using Cosmos wallet authentication.

This tool is exclusively for GPU hosts — operators who are contributing compute resources to the network. It is not a tool for renting or consuming compute.

Installation

pip install raicompute

This will install the CLI under the raicompute command.

Authentication & Session Management

The CLI uses Cosmos wallet signatures for authentication. To avoid passing credentials with every command, use the login command to save your session locally.

Login

Saves your wallet address, public key, and signature to ~/.republic_session.json.

raicompute login --auth-wallet <bech32_address> --auth-pubkey <base64_pubkey> --auth-sig <base64_signature> [--auth-wallet-hex <hex_address>]

Once logged in, all subsequent commands will automatically use these credentials.

Auth Verify

Diagnostic tool to verify your current authentication session with the proxy server.

raicompute auth-verify

Host Commands

These commands are for operators who are hosting GPU machines on the network.

Install Provider Machine

Registers your machine with the proxy server, linking it to your wallet for earnings tracking. This command is typically called by the automated install script.

raicompute install --machine-api-key <api_key> [--provider-slug vast]

Host Metrics

View earnings, reliability, and active rental status for machines registered to your wallet.

raicompute host-metrics

Host Update

Update settings for your hosted machine, such as rental prices.

raicompute host-update --machine-id <id> [--price-gpu <float>] [--price-disk <float>]

Environment Variables

Variable Description
PROXY_SERVER_URL URL of the Republic Proxy Server (default: https://provider-proxy-server-production.up.railway.app)

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

raicompute-0.1.0.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

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

raicompute-0.1.0-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file raicompute-0.1.0.tar.gz.

File metadata

  • Download URL: raicompute-0.1.0.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for raicompute-0.1.0.tar.gz
Algorithm Hash digest
SHA256 322f0f5b2c5ab57b714b50ae98e6b74e0277eadf743db0b8072fc66d9f601707
MD5 00408435b31173781ceeb8e6705de29d
BLAKE2b-256 70a98f936032c8b0fd0637480bd44a3edc17bd9901bd85bb8610c121516c1ff1

See more details on using hashes here.

File details

Details for the file raicompute-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: raicompute-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for raicompute-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 49511826bfc29bf9bc575340c94f512fc69f29cfbc8de304ea9947f5a642707a
MD5 70feb386194ab32dc8185df045e89514
BLAKE2b-256 9307376328f01cd3dbc9d0791b7089545242fe21de2cb8001da448552032501f

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