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

Uploaded Python 3

File details

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

File metadata

  • Download URL: scalim_cli-0.9.13.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.13.tar.gz
Algorithm Hash digest
SHA256 5e402485b2182923521a34607e52b206583c42a073cdedbd02e1592e630ba49f
MD5 f9547f19fc281279fd2cda22bb9541b7
BLAKE2b-256 64e4623c6c67fca78f67c3f3e0390bafb96c677665b84b6614f1b810f74d7229

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scalim_cli-0.9.13-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.13-py3-none-any.whl
Algorithm Hash digest
SHA256 39ad591b09dafdb0796709d5e39071c54340bbe1ca44333b00eecae85f74da4a
MD5 c863459cbe8b21a8702bc5efdaf66fe0
BLAKE2b-256 b67c7215b45bf226579759589262527ec4c040a64ab6ef11b9e966447440550a

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