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

Uploaded Python 3

File details

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

File metadata

  • Download URL: scalim_cli-0.9.6.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.6.tar.gz
Algorithm Hash digest
SHA256 82ef15b701f30ec3b33c798b3b9c67cadf7f03174b21a57487a61337c4b17aff
MD5 b909bd82ff55e1f66cc5e217749e4e61
BLAKE2b-256 882f13b17067dde62e9d39b2dfb2d515efa70200bf03c35fd646fc23195d62e7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scalim_cli-0.9.6-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a5c7dd49893a4b6bc1f61a307d6eef84dbeb2c04aefe64c7bf21776f7972dfdc
MD5 44244e5b9e58f9923df86c0192308823
BLAKE2b-256 c4a35977b97b60dbec580df5b7b8e3bc300024121c9d3ddec964623ece590b6f

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