Skip to main content

orkestr-cli

CLI for the Orkestr deployment platform.

Install

pip install orkestr-cli

Quick start

# Authenticate with your API token
orkestr login

# From inside your app's git repo: detect name/repo/branch and create the project
orkestr init

# Build, deploy, and wait for the live URL
orkestr deploy .

# ...or deploy a named project
orkestr deploy my-api

# View logs / check health
orkestr logs my-api
orkestr health my-api

orkestr init writes a gitignored .orkestr/config.json linking the directory to the project, so orkestr deploy . knows what to ship. It needs an orkestr account and the repo's git provider (GitHub, GitLab, Bitbucket, or Codeberg) connected to that account.

Commands

Command Description
orkestr login / logout / whoami Auth
orkestr init Link the current directory to a new project (interactive)
orkestr projects list|create|show|update|delete|analyze Manage projects
orkestr projects env-vars|webhook|webhook-toggle <project> Project env vars + git webhook
orkestr envs list|create|update|delete|env-vars Manage environments
orkestr deploy [project] Build + deploy, stream the pipeline, print the live URL (. = linked dir; --detach to not wait)
orkestr deployments list|show|logs|build-log|rollback Deployment history
orkestr functions list|show|create|update|deploy|delete Serverless functions
orkestr functions logs|invoke|env-vars|metrics|rotate-key Function ops
orkestr addons list|add|show|delete|backups|backup|download Add-ons (Postgres/Redis)
orkestr addons auto-backup|backup-info|delete-backup Backup config
orkestr logs|stats|health <project> Runtime container logs / stats / health
orkestr metrics|app-health|deployment-stats <project> Request metrics, app health, deploy stats
orkestr sleep|wake <project> Manually sleep/wake a container
orkestr domains list|verify Custom domains
orkestr registry list|scan|delete Docker registry images
orkestr activity / orkestr dashboard Audit log + summary
orkestr notifications list|read|read-all Notifications
orkestr tokens list|create|delete API tokens
orkestr groups list|show|create|delete|add|remove Project groups (workspaces)
orkestr connections list|repos|disconnect Git provider OAuth connections
orkestr sbx create|list|info|exec|shell|metrics|pause|resume|kill Sandboxes - isolated ephemeral Linux VMs

Sandboxes (orkestr sbx)

The same binary drives orkestr sandboxes - isolated, ephemeral Linux VMs for running untrusted or agent-generated code. Your orkestr login token drives them too (a default-scoped token, or one that carries sandboxes:read / sandboxes:write).

# create a Python sandbox with restricted egress
orkestr sbx create python-3.12 --network restricted

# run a command, stream its output, inherit its exit code (composes in scripts)
orkestr sbx exec sbx_01H... "python -c 'print(2**10)'"

# park it between turns, then pick it back up
orkestr sbx pause sbx_01H...
orkestr sbx resume sbx_01H...

# live usage, then terminate
orkestr sbx metrics sbx_01H...
orkestr sbx kill sbx_01H...

orkestr sbx exec exits with the command's own exit code. Add --json to any read command (list, info, metrics, create) for machine-readable output.

All commands support --json for raw JSON output.

PyPI project page: pypi.org/project/orkestr-cli

Documentation

Full docs at orkestr.eu/docs

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

orkestr_cli-0.4.0.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

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

orkestr_cli-0.4.0-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for orkestr_cli-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c44e9e4bd54980cb3889cb80f0ea62ae658ad729f6e8b69de2257a9c03c7823f
MD5 169aa96330ee92cb6ca62885113378ad
BLAKE2b-256 c9a425873ec690122c22a77728fbc49bc485e5f9c2b8eac1610adb7f308ce78d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for orkestr_cli-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b2d0fb1db014195fa8c093690ec9d418ef2d839f059ec40a8588aaf6197761b
MD5 464055aa394e3bcf0e2abb3690566440
BLAKE2b-256 169b2ccddf0b3b242b1c53c531f59960ae7aa837c7399a9c72812d7709b93176

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 files

0.3.0

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page