Skip to main content

JetBrains Cadence CLI

Reason this release was yanked:

preset.provisioning.gpu_type is ignored

Project description

Cadence CLI

Install

pip install jetbrains-cadence

This will create a cadence script in your current environment.

Completions

cadence CLI uses click for its command line interface. click can automatically generate completion files for bash, fish, and zsh which can either be generated and sourced each time your shell is started or, generated once, save to a file and sourced from there. The latter version is much more efficient.

To enable shell completions:

bash

echo 'eval "$(_CADENCE_COMPLETE=bash_source cadence)"' >> ~/.bashrc

zsh

echo 'eval "$(_CADENCE_COMPLETE=zsh_source cadence)"' >> ~/.zshrc

fish

echo 'eval (env _KHAL_COMPLETE=fish_source khal)"' >> ~/.config/fish/completions/khal.fish

Getting Started

cadence login

If you want to use Cadence CLI in the non-interactive environment, you can create the token manually and pass it via CADENCE_TOKEN environment variable

Start the execution from YAML config

cadence execution start --preset path/to/config.yaml

This will print the ID of the started execution.

See the execution status

cadence execution status <YOUR-EXECUTION-ID>

Stop the execution

cadence execution stop <YOUR-EXECUTION-ID>

More commands

Get information about the execution as a JSON

cadence execution info <YOUR-EXECUTION-ID>

List executions

cadence execution list

Options:

  --offset INTEGER  [default: 0]
  --count INTEGER   [default: 50]
  --all             List all executions. Count and offset are ignored
  --json / --table  Output format  [default: table]

View execution logs

cadence execution logs <YOUR-EXECUTION-ID>

Options:

  --to DIRECTORY  [required]
  --inputs        Include inputs
  --no-outputs    Exclude outputs

Open terminal

cadence execution terminal <YOUR-EXECUTION-ID>

Download data

cadence execution download <YOUR-EXECUTION-ID>

Workspace management

Display information about the current workspace:

cadence workspace

See available workspaces:

cadence workspace list

Set workspace:

cadence workspace set <YOUR-WORKSPACE-ID>

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

jetbrains_cadence-1.0.1.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

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

jetbrains_cadence-1.0.1-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file jetbrains_cadence-1.0.1.tar.gz.

File metadata

  • Download URL: jetbrains_cadence-1.0.1.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.4 Darwin/24.3.0

File hashes

Hashes for jetbrains_cadence-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8713e6985b7107509efa37c64c5e15a779594712d7c4d3e127a306cf971bfab1
MD5 04431b4391d892f2572a5bdb0dc385ea
BLAKE2b-256 bdd866656fbb7a5199c0d576e03801178a2217d66d0e80f7c46e30a175250174

See more details on using hashes here.

File details

Details for the file jetbrains_cadence-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: jetbrains_cadence-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 28.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.4 Darwin/24.3.0

File hashes

Hashes for jetbrains_cadence-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 96cc1e1b35597b0894936623b3297ec3f3113280f2ded2990ff72ff965a25ef3
MD5 ab71a96367d9f22b1976f24d60d7bd0c
BLAKE2b-256 80197a12d9b516c96da4ddc9315222a8c22ec71b9440d15ba2a17147e085a26c

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