Skip to main content

JetBrains Cadence CLI

Project description

Cadence CLI

Install

pip install jetbrains-cadence

This will create a cadence script in your current environment.

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.

Basic Example

working_dir: .
cmd:
  - python3 main.py
description: basic preset

provisioning:
  gpu_type: H200
  gpu_count: 1

env:
  python:
    version: 3.11
    pip:
      requirements_path: requirements.txt

project_sync:
  local:
    root: .
    storage_name: Cadence Storage
    uri: ""
    storage_type: DEFAULT

outputs:
  - type: OUTPUT
    storage_name: Cadence Storage
    uri: ""
    path: outputs # `./outputs` will be saved to S3
    storage_type: DEFAULT

More Examples

Please see the cadence-examples repository for more in-depth examples.

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.2.1.tar.gz (17.6 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.2.1-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jetbrains_cadence-1.2.1.tar.gz
  • Upload date:
  • Size: 17.6 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.2.1.tar.gz
Algorithm Hash digest
SHA256 d87f4c11a72603788c24f0dde54bd7295584674d4f0f33fd1273138a9ddba361
MD5 9a171585e01601efe3343663b41f0139
BLAKE2b-256 40c7e47e552492c7546a0bc77b28d4c824a157e54f5d255ef88ad3abff7d6b4f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jetbrains_cadence-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 30.3 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7de667fbda8cec6575ccfc9238b6f9ea33b35f98e4ae367cb16600b02d9a6c8d
MD5 54861b76dff78774b99742b2b3b6e88f
BLAKE2b-256 cf7bc28289d6c6e002caa5807c44aaa277730dc810b53910d7ca632da93fad1d

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