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.10.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.10-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scalim_cli-0.9.10.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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.10.tar.gz
Algorithm Hash digest
SHA256 62f701ad2410903f33354a6a8aed3f48bb6c59be2e3c0ac6e609d28a9b3e80e0
MD5 98527e0fe29bfe1811c4ae6dd3ec1e42
BLAKE2b-256 6efe587dee0a53daa50e8d9fe44f67ac943d031717101783450a756c8e1d188d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scalim_cli-0.9.10-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 5054508a504b66e3290e49c94b41622c626014ed45b1df9448b37fcf0671b7f7
MD5 a3baa34d1f2165722bb0415761030c30
BLAKE2b-256 bd25b0ed50a5d14ebd7de9c9b778841cfae186b09a7d14dd962edc2aa0bc1f60

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