Skip to content

Spectra v0.4.2

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 11:37
· 2 commits to main since this release
7bf2a5e

Spectra v0.4.2

What's new

Documentation and packaging release; no library changes.

Changed

  • README, docs site, examples index, CONTRIBUTING and the Rust and Python example READMEs updated for 0.4.x: Rust and matplotlib-style Python quick starts, the features added since 0.3 (images and contours, twinx, pandas, spectra.pyplot / savefig, ULog and MCAP files, layouts, PDF export), a benchmark section on the docs home page and the six-plot recording in place of the mock-up.
  • The PyPI page now shows the README's images and links to the docs, source, changelog and issue tracker (absolute links, project URLs, keywords and OS / Jupyter classifiers).
  • GitHub release notes start with the version's changelog section and a Rust install line.

Fixed

  • Docs site links to the Markdown guides open them on GitHub instead of as raw text, and wide tables and code blocks no longer make pages scroll sideways on phones.
  • Install commands: the editable Python install runs from the repository root, and the Rust crate installs from the Git tag (cargo add spectra-plot --git https://github.com/danlil240/Spectra --tag v0.4.2) until it is on crates.io.

Full history in CHANGELOG.md.

Installation

Python (Linux x86_64, macOS):

pip install spectra-plot

On Windows, install the Python package inside WSL2 (the multiproc
backend needs Unix domain sockets).

Rust: cargo add spectra-plot --git https://github.com/danlil240/Spectra --tag v0.4.2

Linux (.deb):

sudo apt update
sudo apt install -y ./spectra_0.4.2_amd64_ubuntu22.04.deb
# or:
sudo apt install -y ./spectra_0.4.2_amd64_ubuntu24.04.deb
# or:
sudo apt install -y ./spectra_0.4.2_amd64_ubuntu26.04.deb

Linux (.rpm, AppImage, .tar.gz): see the assets below.

macOS (Homebrew, builds from source): spectra.rb with the source
sha256 filled in is attached; add it to a tap and brew install spectra.

Arch Linux (AUR): PKGBUILD with the source sha256 is attached.

Windows (experimental): spectra-0.4.2-win64.zip
contains the C++ library and in-process app only. It is built but not
tested on real GPUs, and the multiproc backend does not run on Windows.

From source:

cmake -B build && cmake --build build && sudo cmake --install build

Verifying Downloads

All release artifacts are GPG-signed. To verify:

1. Import the signing key:

curl -fsSL https://github.com/danlil240/Spectra/releases/download/v0.4.2/spectra-release-signing-key.asc | gpg --import

2. Verify checksums file:

gpg --verify SHA256SUMS.asc SHA256SUMS

3. Verify file integrity:

sha256sum -c SHA256SUMS --ignore-missing

4. Or verify an individual artifact:

gpg --verify spectra_0.4.2_amd64_ubuntu24.04.deb.asc \
             spectra_0.4.2_amd64_ubuntu24.04.deb