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.1.0.tar.gz (16.7 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.1.0-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jetbrains_cadence-1.1.0.tar.gz
  • Upload date:
  • Size: 16.7 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.1.0.tar.gz
Algorithm Hash digest
SHA256 56344cbac98b6da50cad7c722853d2167dddc0e0badc7a1b16fa310bd240c883
MD5 9b9d539add2ce298cc54fc9f4f6ae89d
BLAKE2b-256 4197e14c3c3ff0970e7c8e4aecb60cadff014e58038075b89c94aeb857ce59db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jetbrains_cadence-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.4 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1f99b128a1a109073e47aa74ffa50504dc82709e0b92639ea6570bcafc190b7d
MD5 6086b5a2a97867292a41efce89dbc505
BLAKE2b-256 f438a5d9d627693630a573e708fa667bc31df98acc0ecafccf7c93562dabbdd7

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