Skip to main content

Command-line tools for scalim

Project description

scalim-cli

Standalone command-line utilities for scalim (dev/tooling only).

Install:

uv tool install scalim-cli

# Run once without installing:
uvx scalim-cli --help

Usage:

scalim-cli --help
scalim-cli yaml-dsl --help

YAML DSL viz export (static)

scalim-cli yaml-dsl viz compile exports static viz artifacts for frontend/scalim-viz replay/inspection.

# demand -> writes <dir>/viz_snapshot.json + <dir>/viz_schedule_plan.json
scalim-cli yaml-dsl viz compile --type demand path/to/report.demand.yaml --output-dir .tmp/viz_report

# workflow -> writes a scalim-viz bundle under <dir>/scalim-viz/
scalim-cli yaml-dsl viz compile --type workflow path/to/report.workflow.yaml --output-dir .tmp/viz_bundle

YAML DSL validation layers

scalim-cli yaml-dsl exposes two validation entrypoints with different responsibilities:

  • scalim-cli yaml-dsl validate <file.yaml>: runtime-parity validation (semantic + unknown-fields diagnostics).

    • Does not run JSON Schema validation.
    • Does not emit “jsonschema 不可用 / 已跳过 schema 校验” warnings.
    • Suitable for “will this config be accepted by runtime parse/compile/run?” checks.
  • scalim-cli yaml-dsl schema validate <file.yaml>: schema-only validation (structure/type) using JSON Schema.

    • Requires the jsonschema dependency (Draft7).
    • Fails fast with actionable error output when jsonschema is unavailable.
    • Suitable for fast authoring feedback and editor/LSP parity checks.

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

scalim_cli-0.9.15.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

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

scalim_cli-0.9.15-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file scalim_cli-0.9.15.tar.gz.

File metadata

  • Download URL: scalim_cli-0.9.15.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for scalim_cli-0.9.15.tar.gz
Algorithm Hash digest
SHA256 0852cc501f3091d9c7db98fd842aa5ee513aa9b1143e7dec4f2947822ce244e0
MD5 916549ae54d2412b7350be6c3bcaec2b
BLAKE2b-256 a54ef84a002ab76ce09d8bcb21148a09288b4201afe2f22c7d2ed69b9153fc4b

See more details on using hashes here.

File details

Details for the file scalim_cli-0.9.15-py3-none-any.whl.

File metadata

  • Download URL: scalim_cli-0.9.15-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for scalim_cli-0.9.15-py3-none-any.whl
Algorithm Hash digest
SHA256 840ff24f1027a9f927bf6492e31dde38285f0a70b672f35e6e10f02410f0acf3
MD5 6551395a807d58a312e1f419e1337a10
BLAKE2b-256 81ecdaa4dd85f74167375cb309df5e8c93488ffac2d3d5138a00811cc31ee0c7

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