Skip to content

spectral-library 0.2.1

Highlights

  • Pre-built prepared runtimes are now published as GitHub Release assets
  • New download-prepared-library CLI command fetches, verifies, and extracts a runtime in one step
  • Users no longer need the full SIAC build pipeline to start mapping

Public Surface Changes

  • New public CLI command: download-prepared-library
  • --output-root: local directory for the extracted runtime
  • --tag: pin to a specific GitHub Release (default: latest)
  • --url: fetch from a direct URL instead of GitHub Releases
  • --sha256: verify against an expected digest
  • --no-verify: skip post-extraction runtime validation
  • New Python module: spectral_library.runtime_download
  • download_prepared_library(output_root, *, url, tag, sha256, verify_after_extract)
  • RuntimeDownloadError for download/verification failures

Maintainer Changes

  • New packaging script: scripts/package_prepared_runtime.py
  • Packages a prepared runtime directory into a .tar.gz with SHA-256 sidecar
  • Output is suitable for upload as a GitHub Release asset

Documentation

  • README quickstart now leads with download-prepared-library
  • Mapping quickstart split into "download" and "build your own" paths
  • CLI reference and Python API reference updated