Sign in from your terminal and pull the optimized model packages your workspace owns
Project description
runinfra-cli
Sign in from your terminal and pull the optimized model packages your workspace owns.
$ pip install runinfra-cli
$ runinfra login
$ runinfra pull <slug> --out ./models
Replace <slug> with the slug shown on your package's page under Optimized
models on runinfra.ai.
No Node.js required. This distribution carries a self contained program, so
pip install is the only step. That is the point of publishing here: the hosts
these packages get pulled onto usually have Python and often do not have Node.
Which package do I want?
There are two, they do different jobs, and installing the wrong one is the most common mistake we see.
| Install | What it gives you | Use it when |
|---|---|---|
pip install runinfra-cli |
The runinfra command |
You want to sign in and download the packages your workspace bought |
pip install runinfra |
The Python SDK, import runinfra |
You want to call an optimized endpoint from your code |
They are separate products on separate release cycles and they do not conflict. Installing both in the same environment is fine and supported.
Commands
| Command | What it does |
|---|---|
runinfra login [--device] |
Connects this terminal by having you approve it in a browser |
runinfra pull <slug> [--out DIR] [--concurrency N] |
Downloads a package this workspace owns, resumable |
runinfra logout [--local] |
Revokes this machine's key and deletes the stored copy. --local skips the revoke call |
runinfra whoami |
Shows what this machine has stored, and when its access expires |
Run runinfra --help for the full grammar.
Signing in on a machine with no browser
That is the normal case on a GPU host, and it is handled:
$ runinfra login --device
The terminal prints a short code that you type into the approval page on whatever device does have a browser. The code never arrives inside a link. A link that shows up with the code already in it did not come from us.
Downloads resume
Kits are large. If a transfer stops, for any reason including Ctrl-C, run the
same runinfra pull command again and it continues from where it stopped
rather than starting over.
Exit codes
These are a contract, not an implementation detail. Scripts branch on them, so they do not change without a major version.
| Code | Meaning |
|---|---|
| 0 | Success |
| 2 | Bad usage, or this machine cannot run the command |
| 3 | Not signed in, denied, or expired |
| 4 | The workspace does not own it |
| 5 | Network or server failure |
| 6 | Integrity failure, such as a checksum mismatch |
| 7 | No disk space, or the destination is not writable |
| 130 | Interrupted |
The split matters in automation. A 5 is worth retrying. A 4 never will be.
Installing through pip does not change any of this. The runinfra command
installed here hands control straight to the program and returns its exit code
untouched, including 130 from Ctrl-C.
Supported platforms
| Operating system | Processor |
|---|---|
| Linux (glibc 2.17 and newer) | x86-64, arm64 |
| Linux (musl, such as Alpine) | x86-64, arm64 |
| macOS 11 and newer | Apple silicon, Intel |
| Windows 10 and newer | x86-64 |
Python 3.8 or newer. There is nothing to compile and no build step, so the install is a download and an unpack.
If pip install runinfra-cli reports that no matching distribution was found,
your platform is not published yet. Tell us which one you need at
https://runinfra.ai/contact.
If the runinfra command is not found after a successful install, your
environment's scripts directory is not on PATH. python -m runinfra_cli does
the same thing and always works.
What the CLI never does
- It never sees your password. Sign in happens in your browser, in your existing session. The CLI only ever holds an authorization code and, after the exchange, the key that code bought.
- It never asks you to paste an API key. Approving in the browser mints one, the CLI writes it to a file only you can read, and revoking it in Settings kills it.
- It never prints the key.
whoamiandlogoutshow a redacted form. - The key it holds cannot spend money. It opens exactly one door, downloading a package your workspace already owns.
Credentials are stored in $XDG_CONFIG_HOME/runinfra/credentials.json on Linux
and macOS, and under %LOCALAPPDATA%\runinfra\ on Windows. Set
RUNINFRA_CONFIG_DIR to put them somewhere else.
You can revoke this machine's access at any time from Settings, API keys on runinfra.ai.
Licence and support
Licensed for use with the RunInfra service. The full text ships in the package and is reproduced on the product pages. The packages this CLI downloads are covered by their own licences, stated on each package's page and included in each kit.
Questions, or a platform you need: https://runinfra.ai/contact
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file runinfra_cli-0.2.3-py3-none-win_amd64.whl.
File metadata
- Download URL: runinfra_cli-0.2.3-py3-none-win_amd64.whl
- Upload date:
- Size: 41.1 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5de4c59a1f149dd7ca6b2a6976f822bb308c0402e1255e2b96d338560be749b5
|
|
| MD5 |
868ceaefe39b6b46346e52c86a96b67b
|
|
| BLAKE2b-256 |
e31ab341933cef7144d79860562ad11517ec2d30c4e17087e8fcf68d24462d21
|
Provenance
The following attestation bundles were made for runinfra_cli-0.2.3-py3-none-win_amd64.whl:
Publisher:
cli-release.yml on RightNow-AI/RunInfra-Landing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
runinfra_cli-0.2.3-py3-none-win_amd64.whl -
Subject digest:
5de4c59a1f149dd7ca6b2a6976f822bb308c0402e1255e2b96d338560be749b5 - Sigstore transparency entry: 2276265298
- Sigstore integration time:
-
Permalink:
RightNow-AI/RunInfra-Landing@74d4c1222f3b0008f0a0850bffeec1355f1c3e39 -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/RightNow-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cli-release.yml@74d4c1222f3b0008f0a0850bffeec1355f1c3e39 -
Trigger Event:
push
-
Statement type:
File details
Details for the file runinfra_cli-0.2.3-py3-none-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: runinfra_cli-0.2.3-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 37.1 MB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6eccf25b9e62592df91ba0df37a84a07b1c26e12538ce8866c6bff6aeb3b2028
|
|
| MD5 |
fa23cd9ffee21c3a94b6c02212b5e1e1
|
|
| BLAKE2b-256 |
71afb7bc471ad767663792215878ba27172192c1b71562512c5bbb08a60be92f
|
Provenance
The following attestation bundles were made for runinfra_cli-0.2.3-py3-none-musllinux_1_2_x86_64.whl:
Publisher:
cli-release.yml on RightNow-AI/RunInfra-Landing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
runinfra_cli-0.2.3-py3-none-musllinux_1_2_x86_64.whl -
Subject digest:
6eccf25b9e62592df91ba0df37a84a07b1c26e12538ce8866c6bff6aeb3b2028 - Sigstore transparency entry: 2276265651
- Sigstore integration time:
-
Permalink:
RightNow-AI/RunInfra-Landing@74d4c1222f3b0008f0a0850bffeec1355f1c3e39 -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/RightNow-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cli-release.yml@74d4c1222f3b0008f0a0850bffeec1355f1c3e39 -
Trigger Event:
push
-
Statement type:
File details
Details for the file runinfra_cli-0.2.3-py3-none-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: runinfra_cli-0.2.3-py3-none-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 35.8 MB
- Tags: Python 3, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8db4559a72f194a10ce326a561eb381702efd6db958eb54baa4e912598e851fc
|
|
| MD5 |
d62dfe9f223e2e5a9aff24b5d416dce8
|
|
| BLAKE2b-256 |
7894dcc855b0cb49adb8afd74a0bb459b7c708c50b1c72e8ed8b4b07c1ef1893
|
Provenance
The following attestation bundles were made for runinfra_cli-0.2.3-py3-none-musllinux_1_2_aarch64.whl:
Publisher:
cli-release.yml on RightNow-AI/RunInfra-Landing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
runinfra_cli-0.2.3-py3-none-musllinux_1_2_aarch64.whl -
Subject digest:
8db4559a72f194a10ce326a561eb381702efd6db958eb54baa4e912598e851fc - Sigstore transparency entry: 2276265820
- Sigstore integration time:
-
Permalink:
RightNow-AI/RunInfra-Landing@74d4c1222f3b0008f0a0850bffeec1355f1c3e39 -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/RightNow-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cli-release.yml@74d4c1222f3b0008f0a0850bffeec1355f1c3e39 -
Trigger Event:
push
-
Statement type:
File details
Details for the file runinfra_cli-0.2.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: runinfra_cli-0.2.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 39.5 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bae74d6119bf2d741456f58eef2ec6af866f2470a76c68b21bf80a9e26b888bb
|
|
| MD5 |
886de258994ded51e98512a16ede0091
|
|
| BLAKE2b-256 |
08a1d2172d7f3a1dce364d6bf61a786dffa064dd943e651ea1916f8a1ded1fd8
|
Provenance
The following attestation bundles were made for runinfra_cli-0.2.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
cli-release.yml on RightNow-AI/RunInfra-Landing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
runinfra_cli-0.2.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
bae74d6119bf2d741456f58eef2ec6af866f2470a76c68b21bf80a9e26b888bb - Sigstore transparency entry: 2276265535
- Sigstore integration time:
-
Permalink:
RightNow-AI/RunInfra-Landing@74d4c1222f3b0008f0a0850bffeec1355f1c3e39 -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/RightNow-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cli-release.yml@74d4c1222f3b0008f0a0850bffeec1355f1c3e39 -
Trigger Event:
push
-
Statement type:
File details
Details for the file runinfra_cli-0.2.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: runinfra_cli-0.2.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 37.8 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38bcea34315c44f95d120182a58c68399a579646529ab1339eb253e550101fba
|
|
| MD5 |
5ba3c731e7d8f20721e79c5c02767114
|
|
| BLAKE2b-256 |
6601f4a01ab5d71b0767ffa4d504fb4eaf4dba8a5175a4750d6fc02a2ba66ee7
|
Provenance
The following attestation bundles were made for runinfra_cli-0.2.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
cli-release.yml on RightNow-AI/RunInfra-Landing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
runinfra_cli-0.2.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
38bcea34315c44f95d120182a58c68399a579646529ab1339eb253e550101fba - Sigstore transparency entry: 2276265440
- Sigstore integration time:
-
Permalink:
RightNow-AI/RunInfra-Landing@74d4c1222f3b0008f0a0850bffeec1355f1c3e39 -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/RightNow-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cli-release.yml@74d4c1222f3b0008f0a0850bffeec1355f1c3e39 -
Trigger Event:
push
-
Statement type:
File details
Details for the file runinfra_cli-0.2.3-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: runinfra_cli-0.2.3-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 22.2 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
313db6f5213700007426cff96ce96954b1dcc4957dbd838d7e58d5fe10c7c518
|
|
| MD5 |
2b83d4e92a3ea32de619aa61a29ec58a
|
|
| BLAKE2b-256 |
1b480601b8163b06f3afea13c07dd86aa6f375970fd1f30af63ac4a99e92e1d4
|
Provenance
The following attestation bundles were made for runinfra_cli-0.2.3-py3-none-macosx_11_0_arm64.whl:
Publisher:
cli-release.yml on RightNow-AI/RunInfra-Landing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
runinfra_cli-0.2.3-py3-none-macosx_11_0_arm64.whl -
Subject digest:
313db6f5213700007426cff96ce96954b1dcc4957dbd838d7e58d5fe10c7c518 - Sigstore transparency entry: 2276265359
- Sigstore integration time:
-
Permalink:
RightNow-AI/RunInfra-Landing@74d4c1222f3b0008f0a0850bffeec1355f1c3e39 -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/RightNow-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cli-release.yml@74d4c1222f3b0008f0a0850bffeec1355f1c3e39 -
Trigger Event:
push
-
Statement type:
File details
Details for the file runinfra_cli-0.2.3-py3-none-macosx_10_12_x86_64.whl.
File metadata
- Download URL: runinfra_cli-0.2.3-py3-none-macosx_10_12_x86_64.whl
- Upload date:
- Size: 24.7 MB
- Tags: Python 3, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2106cb3a165e792021b25e164409809140ee782e87e5c77ef77bbcd701f055d7
|
|
| MD5 |
392d2ccf8cbd05f4fe3aa534072be1c4
|
|
| BLAKE2b-256 |
b93bd4ad7cea7320fdcde8fe08614bba2d0203d2d6f423df08f1d1b965d4884f
|
Provenance
The following attestation bundles were made for runinfra_cli-0.2.3-py3-none-macosx_10_12_x86_64.whl:
Publisher:
cli-release.yml on RightNow-AI/RunInfra-Landing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
runinfra_cli-0.2.3-py3-none-macosx_10_12_x86_64.whl -
Subject digest:
2106cb3a165e792021b25e164409809140ee782e87e5c77ef77bbcd701f055d7 - Sigstore transparency entry: 2276265724
- Sigstore integration time:
-
Permalink:
RightNow-AI/RunInfra-Landing@74d4c1222f3b0008f0a0850bffeec1355f1c3e39 -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/RightNow-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cli-release.yml@74d4c1222f3b0008f0a0850bffeec1355f1c3e39 -
Trigger Event:
push
-
Statement type: