Repository navigation
Releases
Releases · kcherry497/runpod-kit
runpodkit 0.2.0 — first public release
First public release of runpodkit: dependency-free RunPod pod control for Python, Bash and the command line.
Highlights
wait_sshthat waits for a real endpoint. For about 25 seconds after a start, RunPod's REST v2 API reportsRUNNINGwith the previous run's SSH port.wait_sshre-reads the pod on every poll and only returns once that poll's endpoint accepts TCP.- Money-safe
create. It falls back across GPU types only on a definite refusal (a 4xx other than 401/403/429). After a timeout, 5xx or garbled response, it never re-POSTs: it recovers the pod it made by name, or raisescreate outcome UNKNOWN. A same-name pod that existed before the call is never mistaken for the new, billing one. - One toolkit, three front ends. A Python client that uses only the standard library (3.9+), a
runpodkitCLI, and a Bash library that works on Bash 3.2+ (including macOS's system Bash). - Keys stay out of argv. The API key comes from
RUNPOD_API_KEYonly, is redacted from errors, and podenvblocks are stripped from CLI output by default. - Agent-friendly. Letting an AI coding agent drive your pods? Pair it with cred-broker:
cred exec runpod -- runpodkit listlets the agent use the key without ever seeing it.
Install
pipx install runpodkit # from PyPI; or: python3 -m pip install runpodkitThe wheel and source archive are attached below.
Changes since the internal 0.1.x releases
create: if the recovery lookup after an uncertain POST also fails, the error now still sayscreate outcome UNKNOWN, so it can never be mistaken for a safe-to-retry failure.- CLI:
runpodkit --version;bash-liboutput is never redacted, and short placeholder keys no longer mangle output. - MIT license, modern packaging metadata, CI on Python 3.9–3.15, shell tests under a source-built GNU Bash 3.2.57, plus a macOS workflow.
- README rewritten for general use, with a quick start and pipx install; contributing guide, security policy and issue templates added.
Full history: CHANGELOG.md