urun CLI
Command-line access to your urun org: log in, inspect billing, usage, and cost information, and jump to the billing console. More capabilities are on the way — see What's next.
Install
uv tool install urun-cli
# or
pip install urun-cli
The package installs the urun command:
urun --version
For one-off uvx usage:
uvx --from urun-cli urun --version
# or the package-matching command alias
uvx urun-cli --version
Log in
Save an org-scoped API key locally with urun login:
urun login
If URUN_API_KEY is not already set, urun login opens the urun console API
keys page, prompts you to paste the generated urun_sk_... key, verifies it
with the urun API, and stores credentials for later commands.
If you already have a key, you can pass it directly:
urun login --api-key urun_sk_<secret>
For CI or one-off commands, you can use the environment variable instead:
export URUN_API_KEY=urun_sk_<secret>
Billing & usage
Every command is org-scoped via your API key.
Your org identity (use --id in scripts: ORG=$(urun org --id)):
urun org
Usage summary and credit balance:
urun account usage
urun account credit
urun account quota
The credit ledger — every credit grant and charge to your org, newest first:
urun credit-ledger list
Org config, members, and API keys:
urun account org
urun member list
urun api-key list
Open the billing page in the urun console:
urun open billing
urun feedback raises and tracks issues with the urun team from your
terminal.
Common options
| Option | Description |
|---|---|
--api-url |
Override the API URL; defaults to URUN_API_URL, saved login credentials, or https://api.urun.sh/v1. |
--api-key |
API key; defaults to URUN_API_KEY or saved login credentials. |
--json |
Machine-readable output, where supported. |
Troubleshooting
| Error | Fix |
|---|---|
missing API key |
Run urun login, set URUN_API_KEY, or pass --api-key. |
invalid API key format |
Use urun_<32 lowercase hex chars>. |
What's next
This release focuses on account access: login, billing, usage, and cost information.
Development
Contributing and test instructions are in CONTRIBUTING.md. The CLI gates unreleased surfaces behind release feature flags — see FLAGS.md for the conventions and how to exercise them from a source checkout.
This repo has a Nix/direnv/devcontainer baseline:
direnv allow
just sync
just check
Use VS Code Dev Containers to open the repository with the same toolchain in a
container. Copy devcontainer.env.example to .devcontainer.env if you need
to pass local git identity or other non-secret development settings into the
container.
License
MIT.
Metadata
Release files for urun-cli 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| urun_cli-0.8.1.tar.gz | 53.6 kB | With provenance | Details for urun_cli-0.8.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| urun_cli-0.8.1-py3-none-any.whl | Python 3 | none | any | Details for urun_cli-0.8.1-py3-none-any.whl |
Total release size: 101.6 kB
Release files / urun_cli-0.8.1.tar.gz
| Download URL | urun_cli-0.8.1.tar.gz |
|---|---|
| Size | 53.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b0cc36e4656a2bab463489d6b65029630de31e23855601806b4d2c144e091ea
|
|
BLAKE2b-256 checksum How to use checksums |
614789c1cb723f44da85b3ddb5870a7b64fd79a926da6f1debbe38e362086976
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.
Transparency logRelease files / urun_cli-0.8.1-py3-none-any.whl
| Download URL | urun_cli-0.8.1-py3-none-any.whl |
|---|---|
| Size | 47.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b852f37caaac945a172a24640807e09b874ddd07d0a5b467516b27635817d938
|
|
BLAKE2b-256 checksum How to use checksums |
b0e53b0222ea8f5153b70bf6477de5fe7401c685ff70785a2dd04928a0ff1e1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.
Transparency logSecurity for urun-cli 0.8.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for urun_cli-0.8.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.