slurmscope 2.1.0.dev1__tar.gz → 2.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. slurmscope-2.3.0/CHANGELOG.md +77 -0
  2. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/Cargo.lock +1 -1
  3. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/Cargo.toml +1 -1
  4. slurmscope-2.3.0/PKG-INFO +60 -0
  5. slurmscope-2.3.0/PYPI.md +37 -0
  6. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/README.md +73 -18
  7. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/pyproject.toml +3 -3
  8. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/src/app.rs +367 -48
  9. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/src/data.rs +3 -4
  10. slurmscope-2.3.0/src/killers.rs +126 -0
  11. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/src/main.rs +142 -6
  12. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/src/probe.rs +21 -0
  13. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/src/render.rs +2 -2
  14. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/src/slurm.rs +8 -0
  15. slurmscope-2.3.0/src/sprite_anim.rs +522 -0
  16. slurmscope-2.3.0/src/sprite_fetch.rs +404 -0
  17. slurmscope-2.3.0/src/sprites.rs +928 -0
  18. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/src/style.rs +1 -1
  19. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/tests/difftest.sh +1 -1
  20. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/tests/parity_app.py +38 -3
  21. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/tests/parity_funcs.py +22 -0
  22. slurmscope-2.3.0/tests/pyref.py +62 -0
  23. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/tests/test_process_parity.py +3 -2
  24. slurmscope-2.3.0/tools/fetch_sprites.py +202 -0
  25. slurmscope-2.1.0.dev1/CHANGELOG.md +0 -20
  26. slurmscope-2.1.0.dev1/PKG-INFO +0 -66
  27. slurmscope-2.1.0.dev1/PYPI.md +0 -43
  28. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/.gitignore +0 -0
  29. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/LICENSE +0 -0
  30. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/build.rs +0 -0
  31. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/src/coord.rs +0 -0
  32. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/src/hooks.rs +0 -0
  33. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/src/pyuni.rs +0 -0
  34. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/src/share.rs +0 -0
  35. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/src/storage.rs +0 -0
  36. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/src/surfer.rs +0 -0
  37. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/src/util.rs +0 -0
  38. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/tests/bench.sh +0 -0
  39. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/tests/gen_pyuni.py +0 -0
  40. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/tests/run_all.sh +0 -0
  41. {slurmscope-2.1.0.dev1 → slurmscope-2.3.0}/tests/test_harness_regressions.py +0 -0
@@ -0,0 +1,77 @@
1
+ # Changelog
2
+
3
+ ## 2.3.0 — 2026-11-11 (stable)
4
+
5
+ The Rust implementation becomes the stable release: `pip install slurmscope` installs it (wheels for Linux
6
+ x86_64 and aarch64, glibc >= 2.17). The Python implementation stays available as 1.6.x
7
+ (`pip install "slurmscope<2"`).
8
+
9
+ ### Changed
10
+ - **`p` toggles the Pokémon thumbnails**; refresh pause removed (`p` and Space no longer pause). Help and footer
11
+ updated. The parity tests apply these deliberate differences to the Python reference (`tests/pyref.py`).
12
+
13
+ ### Added
14
+ - **Pokémon thumbnails next to job names** that are a Pokémon species (shiny names: same sprite), in terminals
15
+ with an image protocol only, detected automatically: iTerm2/WezTerm (OSC 1337), kitty/Ghostty (Unicode
16
+ placeholders), also inside tmux (passthrough). The sprites hop like party icons (2-frame animation played by
17
+ the terminal; each image is sent once, not at every refresh). They are not shipped: the first start downloads
18
+ them in the background with `curl` into one zip in `~/.cache/slurmscope/` (no internet: no thumbnails, retry
19
+ after 24 h; `tools/fetch_sprites.py` does the same by hand); `--sprites-file ZIP`, `--no-sprites`. Frames are
20
+ unchanged when off. Static Sixel sprites in terminals that report Sixel in DA1 (and tmux >= 3.4). Sprites are
21
+ drawn on the terminal's default background; `--sprite-bg` / `SLURMSCOPE_SPRITE_BG` set it where the terminal
22
+ cannot be asked (tmux < 3.3). Stable inside tmux (lines are rewritten
23
+ only after the sprite). Thumbnails are 3 columns wide, cropped to the sprite and standing on the bottom.
24
+ `SLURMSCOPE_SPRITES=iterm|kitty|sixel|off` forces a protocol (e.g. VS Code inside tmux).
25
+
26
+ ## 2.2.0.dev1 — 2026-11-05 (pre-release)
27
+
28
+ ### Added
29
+ - **Page 5 "Killers": your jobs cancelled by other users.** Runs
30
+ `sacct --user=USER -S START -X -n -P -o JobID,State,End,NodeList,JobName` (with `SLURM_TIME_FORMAT=standard`
31
+ and `SACCT_*` defaults removed) and keeps the jobs whose State is `CANCELLED by UID` with a uid other than
32
+ the user's own; uids are resolved to names through the passwd database (as `getent passwd UID`).
33
+ - **Killers** list: every killer with the number of jobs killed and the latest kill (most kills first);
34
+ `↑ ↓` select, `Enter` or a click opens the killer's jobs with their end dates.
35
+ - **Killed jobs** list: end, job id, killer, nodes, name, newest first.
36
+ - `t` cycles the time window: day (default), week, month (30 days), year (365 days), always (since
37
+ 2000-01-01); `--kill-window` sets it initially, `--page 5` opens the page (also with `--once`).
38
+ - `sacct` runs only while the page is open: on a window change, every 15 minutes, or with `r`.
39
+ - **Help (`?`): an "Extras" section at the end** lists `S` (Attention maxing).
40
+
41
+ ### Changed
42
+ - **Your running/pending counts on every page.** The tab bar shows `USER: ● N running ◌ M pending` for the
43
+ current user (`-u USER`, else you) within the selected partition, on every page; on
44
+ narrow terminals it shortens to `●N ◌M` before the host name is dropped.
45
+ - **Nodes: default sort by group, then compute power, ascending** (`power`): login nodes (name contains
46
+ `login`) first, then the other nodes by number of partitions (e.g. `all_usr_prod` only before
47
+ `boost_usr_prod,all_usr_prod`); within a group GPU VRAM, then per-GPU peak dense FP16/BF16
48
+ tensor TFLOPS (FP32 accumulate; built-in table of NVIDIA datasheet values, unknown models = 0), then node
49
+ name. Nodes without GPUs come first within their group. `o` cycles it like the other keys; clicking GPU MODEL
50
+ selects it.
51
+ - **Every node/GPU list follows the same order:** Overview GPU models (each model at its first node in the
52
+ default node order, instead of the largest GPU count first) and the Memory "RAM by node" grid (was by name).
53
+ - **Jobs: running jobs follow the node order.** With the default `state` sort, running jobs are ordered by
54
+ the position of their first node (the weakest, for multi-node jobs) in the default node order, then by id.
55
+
56
+ ### Fixed
57
+ - **Long node names are no longer cut** (e.g. `ailb-login-03` lost its last digit): the NODE column of the
58
+ Nodes page and of the Memory "RAM by node" grid widens to the longest node name, up to 20 columns.
59
+
60
+ ## 2.1.0.dev1 — 2026-11-04 (pre-release)
61
+
62
+ ### Added
63
+ - **Easter egg: endless runner while you wait.** Press **`S`** (capital S) in any view — Overview, Jobs, Nodes,
64
+ Memory, the QoS browser, and inside job/node/log/help screens — to open a side panel with a looping ASCII
65
+ endless runner on train tracks. Press **`S`** again to close it. The view keeps working beside it (cursor,
66
+ sorting, clicks, filters).
67
+ - The runner dodges parked and oncoming trains, jumps low barriers, rolls under high ones, runs up ramps onto
68
+ train roofs and collects coins. The course is generated once from a fixed seed and a dynamic-programming
69
+ planner guarantees a collision-free path; the animation loops seamlessly every 24 s.
70
+ - Needs a terminal at least 100 columns wide (the panel takes ~40% of the width). It redraws at 15 fps only
71
+ while it is open; otherwise the refresh behaviour is unchanged.
72
+ - Deliberately not listed in the footer or in the help screen. While a search (`/`) is being typed, `S` is text.
73
+ - Same feature as slurmscope 1.5.0 (Python, the stable version); the course differs because the two versions use different
74
+ random generators.
75
+
76
+ No changes to data collection, the shared collector protocol (still compatible with the Python version) or
77
+ command-line options.
@@ -484,7 +484,7 @@ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
484
484
 
485
485
  [[package]]
486
486
  name = "slurmscope"
487
- version = "2.1.0-dev.1"
487
+ version = "2.3.0"
488
488
  dependencies = [
489
489
  "chrono",
490
490
  "clap",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "slurmscope"
3
- version = "2.1.0-dev.1"
3
+ version = "2.3.0"
4
4
  edition = "2021"
5
5
  rust-version = "1.80"
6
6
  description = "Live terminal dashboard for Slurm clusters (Rust port, protocol-compatible with the Python version)"
@@ -0,0 +1,60 @@
1
+ Metadata-Version: 2.4
2
+ Name: slurmscope
3
+ Version: 2.3.0
4
+ Classifier: Development Status :: 4 - Beta
5
+ Classifier: Environment :: Console
6
+ Classifier: Intended Audience :: Science/Research
7
+ Classifier: Intended Audience :: System Administrators
8
+ Classifier: Operating System :: POSIX :: Linux
9
+ Classifier: Programming Language :: Rust
10
+ Classifier: Topic :: System :: Clustering
11
+ Classifier: Topic :: System :: Monitoring
12
+ License-File: LICENSE
13
+ Summary: Live terminal dashboard for Slurm clusters: queue, GPUs, QoS, nodes, memory and storage.
14
+ Keywords: slurm,hpc,cluster,gpu,dashboard,tui,monitoring,rust
15
+ Author: Fabio Bozzoli
16
+ License-Expression: MIT
17
+ Requires-Python: >=3.8
18
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
19
+ Project-URL: Homepage, https://github.com/FabioBozzoli/slurmscope
20
+ Project-URL: Issues, https://github.com/FabioBozzoli/slurmscope/issues
21
+ Project-URL: Source, https://github.com/FabioBozzoli/slurmscope/tree/slurmscope-rust/rust
22
+
23
+ # slurmscope
24
+
25
+ Live terminal dashboard for Slurm clusters: queue, GPUs, QoS, nodes, memory and storage, in one
26
+ interactive view. Since 2.3.0 the stable release is this Rust implementation (a single static-ish
27
+ binary, no runtime dependency beyond the Slurm client commands and glibc ≥ 2.17).
28
+
29
+ pip install slurmscope # or: pipx install slurmscope / uv tool install slurmscope
30
+ slurmscope # interactive dashboard
31
+ slurmscope --once --page 2 # one snapshot of the jobs page
32
+ slurmscope --help
33
+
34
+ It needs the Slurm client commands (`squeue`, `scontrol`) in `PATH`, typically on a login node.
35
+ Wheels are provided for Linux x86_64 and aarch64 (glibc ≥ 2.17); elsewhere pip builds from the
36
+ source distribution, which needs a Rust toolchain (`cargo`). The previous Python implementation
37
+ remains available: `pip install "slurmscope<2"`. Both are protocol-compatible: they share the
38
+ per-login-node collector, its snapshots and cache files.
39
+
40
+ ## Pokémon thumbnails
41
+
42
+ When a job name is a Pokémon species (`Pikachu`, `Mr. Mime`, `★ Snorlax shiny ★`, …) a small hopping
43
+ sprite is drawn next to it, in terminals that can show images: iTerm2, WezTerm, kitty, Ghostty
44
+ (animated), and Sixel terminals such as Windows Terminal, foot, Konsole or VS Code with
45
+ `"terminal.integrated.enableImages": true` (static); also inside tmux. Elsewhere nothing changes.
46
+ `p` turns them on and off; `--no-sprites` disables them. No image is shipped: on the first start
47
+ slurmscope downloads them once from PokeAPI with `curl` into `~/.cache/slurmscope/sprites.zip`
48
+ (without internet it simply runs without them). Inside tmux < 3.3 the terminal background cannot be
49
+ detected: set it with `SLURMSCOPE_SPRITE_BG='#RRGGBB'` (or `--sprite-bg`).
50
+
51
+ Pokémon and the sprites are © The Pokémon Company / Nintendo; slurmscope is not affiliated with them.
52
+
53
+ ## Status
54
+
55
+ The Rust implementation is compared with the Python one by differential tests (function-level
56
+ fuzzing, the App driven event by event, real-process scenarios and byte-for-byte `--once` output);
57
+ the documented differences are listed in
58
+ [rust/README.md](https://github.com/FabioBozzoli/slurmscope/blob/slurmscope-rust/rust/README.md).
59
+ Please report problems at https://github.com/FabioBozzoli/slurmscope/issues.
60
+
@@ -0,0 +1,37 @@
1
+ # slurmscope
2
+
3
+ Live terminal dashboard for Slurm clusters: queue, GPUs, QoS, nodes, memory and storage, in one
4
+ interactive view. Since 2.3.0 the stable release is this Rust implementation (a single static-ish
5
+ binary, no runtime dependency beyond the Slurm client commands and glibc ≥ 2.17).
6
+
7
+ pip install slurmscope # or: pipx install slurmscope / uv tool install slurmscope
8
+ slurmscope # interactive dashboard
9
+ slurmscope --once --page 2 # one snapshot of the jobs page
10
+ slurmscope --help
11
+
12
+ It needs the Slurm client commands (`squeue`, `scontrol`) in `PATH`, typically on a login node.
13
+ Wheels are provided for Linux x86_64 and aarch64 (glibc ≥ 2.17); elsewhere pip builds from the
14
+ source distribution, which needs a Rust toolchain (`cargo`). The previous Python implementation
15
+ remains available: `pip install "slurmscope<2"`. Both are protocol-compatible: they share the
16
+ per-login-node collector, its snapshots and cache files.
17
+
18
+ ## Pokémon thumbnails
19
+
20
+ When a job name is a Pokémon species (`Pikachu`, `Mr. Mime`, `★ Snorlax shiny ★`, …) a small hopping
21
+ sprite is drawn next to it, in terminals that can show images: iTerm2, WezTerm, kitty, Ghostty
22
+ (animated), and Sixel terminals such as Windows Terminal, foot, Konsole or VS Code with
23
+ `"terminal.integrated.enableImages": true` (static); also inside tmux. Elsewhere nothing changes.
24
+ `p` turns them on and off; `--no-sprites` disables them. No image is shipped: on the first start
25
+ slurmscope downloads them once from PokeAPI with `curl` into `~/.cache/slurmscope/sprites.zip`
26
+ (without internet it simply runs without them). Inside tmux < 3.3 the terminal background cannot be
27
+ detected: set it with `SLURMSCOPE_SPRITE_BG='#RRGGBB'` (or `--sprite-bg`).
28
+
29
+ Pokémon and the sprites are © The Pokémon Company / Nintendo; slurmscope is not affiliated with them.
30
+
31
+ ## Status
32
+
33
+ The Rust implementation is compared with the Python one by differential tests (function-level
34
+ fuzzing, the App driven event by event, real-process scenarios and byte-for-byte `--once` output);
35
+ the documented differences are listed in
36
+ [rust/README.md](https://github.com/FabioBozzoli/slurmscope/blob/slurmscope-rust/rust/README.md).
37
+ Please report problems at https://github.com/FabioBozzoli/slurmscope/issues.
@@ -18,29 +18,80 @@ The binary has no runtime dependency beyond the Slurm client commands and glibc.
18
18
  A fully static binary can be built with `rustup target add x86_64-unknown-linux-musl` and
19
19
  `cargo build --release --target x86_64-unknown-linux-musl`.
20
20
 
21
- ## Packaging (PyPI pre-release)
21
+ ## Packaging (PyPI)
22
22
 
23
- Published under the same PyPI name as the Python version, as a **pre-release**, so that
24
- `pip install slurmscope` keeps installing the stable Python 1.5.x and the Rust build is only
25
- installed on request (`pip install "slurmscope==2.1.0.dev1"`, or `pipx install --suffix=-rs …` to
26
- keep both). `pyproject.toml` uses maturin with `bindings = "bin"`: the wheel ships the
27
- `slurmscope` executable and no Python module. The version comes from `Cargo.toml`
28
- (`2.1.0-dev.1`, semver), which maturin publishes as `2.1.0.dev1` (PEP 440); `build.rs` exposes the
29
- same PEP 440 form to the program (`--version`, help). `PYPI.md` is the project description shown
30
- on PyPI for this release.
23
+ Since 2.3.0 this Rust implementation is the **stable** release on PyPI (`pip install slurmscope`); the Python
24
+ implementation stays installable as 1.6.x (`pip install "slurmscope<2"`). `pyproject.toml` uses maturin with
25
+ `bindings = "bin"`: the wheel ships the `slurmscope` executable and no Python module. The version comes from
26
+ `Cargo.toml` (semver; a pre-release such as `2.2.0-dev.1` is published as `2.2.0.dev1`, PEP 440, and `build.rs`
27
+ exposes the same form to `--version`). `PYPI.md` is the project description shown on PyPI.
31
28
 
32
29
  pip install "maturin>=1.5,<2" ziglang twine
33
- maturin build --release --zig --compatibility manylinux2014 --out dist # Linux x86_64, glibc >= 2.17
30
+ rustup target add aarch64-unknown-linux-gnu
31
+ maturin build --release --zig --compatibility manylinux2014 --out dist # x86_64
32
+ maturin build --release --zig --compatibility manylinux2014 --target aarch64-unknown-linux-gnu --out dist # aarch64
34
33
  maturin sdist --out dist # source: needs cargo to install
35
34
  twine check dist/*
36
- twine upload dist/slurmscope-2.1.0.dev1* # API token of the project
37
-
38
- Checks made on the artifacts before publishing: wheel contents (binary, metadata, license, SBOM
39
- only), highest glibc symbol version required (2.17), absence of the test-only probe, `twine check`,
40
- installation in a clean environment, `difftest.sh` and `test_process_parity.py` run against the
41
- binary installed from the wheel (`SLURMSCOPE_RS=<path>`), and installation of the sdist (build from
42
- source) in a clean environment. A version uploaded to PyPI can never be reused, even after deletion:
43
- bump `Cargo.toml` (e.g. `2.0.0-dev.2`) for every new upload.
35
+ twine upload dist/slurmscope-2.3.0* # API token of the project
36
+
37
+ Checks made on the artifacts before publishing: wheel contents (binary, metadata, license only), highest glibc
38
+ symbol version required (2.17), absence of the test-only probe, `twine check`, installation in a clean
39
+ environment, `difftest.sh` and `test_process_parity.py` run against the binary installed from the wheel
40
+ (`SLURMSCOPE_RS=<path>`), and installation of the sdist (build from source) in a clean environment. A version
41
+ uploaded to PyPI can never be reused, even after deletion: bump `Cargo.toml` for every new upload.
42
+
43
+ ## Pokémon thumbnails (Rust only)
44
+
45
+ When a job name is a Pokémon species (`Pikachu`, `Mr. Mime`, `Nidoran♀`, `★ Snorlax shiny ★`, case-insensitive),
46
+ a 3-column thumbnail (`SLOT_COLS`) is drawn before the name in the job lists (Overview "Jobs of", Jobs page, node details,
47
+ Killed jobs, job details, cancel confirmation). `p` turns them on and off at any time. Shiny names use the same sprite.
48
+
49
+ * **Images are not shipped** (copyright The Pokémon Company). On the first interactive start in a terminal with
50
+ images, a background thread downloads them with `curl` (`src/sprite_fetch.rs`): species list from PokeAPI, then
51
+ the Gen-7 menu icon of every species from the PokeAPI/sprites repository (default sprite when there is no icon),
52
+ each cropped to a centred square, all in one stored zip `~/.cache/slurmscope/sprites.zip` (~1025 entries, ~0.6 MB;
53
+ one file because chunked network filesystems charge a chunk per small file; temporary files in the system temp
54
+ directory). Thumbnails appear when it is ready (~1 min). No curl / no internet / < 90% of the sprites: no
55
+ thumbnails, `sprites.zip.failed` records the time and the download is retried after 24 h; `sprites.zip.lock`
56
+ keeps parallel instances from downloading twice. `--sprites-file ZIP` picks another archive;
57
+ `tools/fetch_sprites.py` builds the same archive by hand (e.g. on a machine with internet, then copy it).
58
+ * **Background.** Sprites are composited on the terminal's (or tmux's) default background, also on the selection
59
+ bar (iTerm2 shows transparent pixels as black inside tmux): `--sprite-bg '#RRGGBB'` / `SLURMSCOPE_SPRITE_BG`,
60
+ else the terminal's OSC 11 reply (not available through tmux < 3.3, which neither answers nor forwards it),
61
+ else tmux's `window-style` bg; unknown: transparent.
62
+ * **Size.** Each sprite is cropped to its opaque pixels and stands on the bottom of the slot; with 3 columns all
63
+ sprites reach ~93% of the row height (with 2, wide sprites were limited by the width: median x1.04, 90th
64
+ percentile x1.33 over the 1025 sprites).
65
+ * **Hopping**, as party icons in the games: two frames, 250 ms each: resting under a room of 8% of the sprite height
66
+ (the sprite fills ~93% of the row), and lifted by 10% (its top 2% cut) (`ROOM_PCT`, `HOP_PCT` in
67
+ `src/sprite_anim.rs`). Sprites are first enlarged (nearest neighbour) to >= 200 px so these percentages are
68
+ exact, not whole sprite pixels. The image
69
+ is padded to the exact proportions of its 3x1-cell box and stretched over it (`preserveAspectRatio=0`;
70
+ cell size from the tty when reported, else 1.44 = 3 columns : 1 row of Menlo/Monaco 12) so the background
71
+ covers all three cells; iTerm2 leaves the uncovered part of the box black. The animation is played by the terminal
72
+ itself (`src/sprite_anim.rs`): an animated GIF for iTerm2/WezTerm (own LZW encoder), animation frames for kitty.
73
+ Each image is sent once; slurmscope never redraws it while the slot
74
+ stays (iTerm2 outside tmux: the frame text skips the slot cells). Inside tmux: tmux re-sends a whole line to the
75
+ outer terminal whenever a program writes it (measured on tmux 3.2a by replaying the client output in an
76
+ emulator), erasing the image; so a line unchanged up to its last sprite is written only from after the sprite
77
+ (cursor move + SGR state), and images are re-sent when their line changed before them or tmux redrew the pane
78
+ (window switch, copy mode, zoom, re-attach; `tmux display`, at most once a second).
79
+ * **Automatic on/off.** On only in interactive mode, in a terminal with an image protocol:
80
+ - iTerm2 / WezTerm: OSC 1337 inline images (animated GIF);
81
+ - kitty / Ghostty: kitty graphics with Unicode placeholders (image sent once, placeholders in the text);
82
+ - Sixel (static sprite, no hop): any terminal whose DA1 reply lists attribute 4 (Windows Terminal, foot,
83
+ Konsole, xterm with Sixel, mlterm, contour, VS Code with `"terminal.integrated.enableImages": true`, off by
84
+ default); inside tmux only tmux >= 3.4, which stores Sixel images itself. Scaled to 3 cells x the row height
85
+ rounded down to whole 6-pixel bands (never reaches the next row), cell size from TIOCGWINSZ pixels, else
86
+ `CSI 16 t`, else 10x20.
87
+ - `SLURMSCOPE_SPRITES=iterm|kitty|sixel|off` forces a protocol where detection cannot work (e.g. VS Code
88
+ inside tmux < 3.4: tmux answers DA1 itself); inside tmux the images then go through passthrough.
89
+ Detection: `TERM`, `TERM_PROGRAM`, `LC_TERMINAL` (forwarded by iTerm2 over ssh), `KITTY_WINDOW_ID`, else the
90
+ terminal's XTVERSION / DA1 replies (0.5 s timeout). Inside tmux: the client's `#{client_termname}` or `LC_TERMINAL`,
91
+ images through DCS passthrough (tmux >= 3.3 needs `set -g allow-passthrough on`; off means feature off), with
92
+ absolute positions from `#{pane_top}`/`#{pane_left}`. Any other terminal: off. `--no-sprites` turns it off.
93
+ * `--once`, the probe build and every non-matching name are unchanged (byte-identical to Python): the slot is two
94
+ private-use code points that only the interactive loop replaces.
44
95
 
45
96
  ## Verification
46
97
 
@@ -138,6 +189,10 @@ are not a proof of functional equivalence on every input. Not verified, or verif
138
189
 
139
190
  ## Known differences (all deliberate or outside realistic input)
140
191
 
192
+ - **Keys (2.3.0, deliberate):** `p` toggles the Pokémon thumbnails instead of pausing the refresh; Space no longer
193
+ pauses; the help line of `p` and the footer key list say so (same lengths as before). The parity tests apply
194
+ exactly these changes to the Python reference (`tests/pyref.py`, textual patches that must match once).
195
+
141
196
  - **Integers beyond ±2⁶³** in Slurm fields (e.g. a priority `4987E46`) saturate at the i64 limit;
142
197
  Python keeps arbitrary precision. Slurm never prints such values.
143
198
  - **Inputs on which the Python version raises**, listed in `ALLOWED` of `parity_funcs.py` with the
@@ -5,7 +5,7 @@ build-backend = "maturin"
5
5
  [project]
6
6
  name = "slurmscope"
7
7
  dynamic = ["version"]
8
- description = "Live terminal dashboard for Slurm clusters - Rust implementation (pre-release)."
8
+ description = "Live terminal dashboard for Slurm clusters: queue, GPUs, QoS, nodes, memory and storage."
9
9
  readme = "PYPI.md"
10
10
  requires-python = ">=3.8"
11
11
  license = "MIT"
@@ -13,7 +13,7 @@ license-files = ["LICENSE"]
13
13
  authors = [{name = "Fabio Bozzoli"}]
14
14
  keywords = ["slurm", "hpc", "cluster", "gpu", "dashboard", "tui", "monitoring", "rust"]
15
15
  classifiers = [
16
- "Development Status :: 3 - Alpha",
16
+ "Development Status :: 4 - Beta",
17
17
  "Environment :: Console",
18
18
  "Intended Audience :: Science/Research",
19
19
  "Intended Audience :: System Administrators",
@@ -33,4 +33,4 @@ Issues = "https://github.com/FabioBozzoli/slurmscope/issues"
33
33
  bindings = "bin"
34
34
  # Release builds only; the test-only `probe` feature is never enabled here.
35
35
  profile = "release"
36
- include = [{ path = "LICENSE", format = "sdist" }, { path = "CHANGELOG.md", format = "sdist" }]
36
+ include = [{ path = "LICENSE", format = "sdist" }, { path = "CHANGELOG.md", format = "sdist" }, { path = "tools/fetch_sprites.py", format = "sdist" }]