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

Uploaded Python 3

File details

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

File metadata

  • Download URL: scalim_cli-0.9.8.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.8.tar.gz
Algorithm Hash digest
SHA256 a6cd25bedcadf53cf9f0ef9bc8bef2e86840c9a3011745e171a6449c981f354b
MD5 f3f6007bf948b904ea77860011b8f4b4
BLAKE2b-256 8555c60e623967d55cb22e0490af5eafb0030693fb70c2654a82576397cb2359

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scalim_cli-0.9.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5bd392d0dcc8c0e76a455214b1e148a3c49e207aa5dd908b179bf8dcf5f9f7e5
MD5 8f07f97c26a891c1ecfc1bc72199fb6c
BLAKE2b-256 dbdcda302ea517c9a10bcbab7f5b8084eac26efd08fa910541e0fcced5be9f72

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