mediapane-relay
A mediapane plugin for clusters whose batch jobs can't reach your pane.
Compute nodes usually can't see the login node's /tmp, so a mediapane ssh socket doesn't help
a job running under Slurm. Instead, give the job a spool folder on a filesystem both can see:
# in the job script (or your shell rc on the cluster)
export MEDIAPANE_SPOOL=~/.cache/mediapane/spool
python train.py # mediapane.show(...) / mp ... as usual
When no pane is reachable, every push is written to that folder instead (one .mp file per
push, in the wire format). On a machine that can reach the pane, forward them:
mediapane ssh login-node # from your laptop: the pane's socket is forwarded
mediapane relay # on the login node, inside that session (say, in tmux)
mediapane relay checks the folder every --interval seconds (0.5 by default), sends complete
pushes oldest first, and deletes each once the pane has accepted it. Pushes the pane rejects
are moved to failed/ in the spool. If no pane is reachable it says so once and keeps them
until one is. Partial files left by writers that died are removed after an hour.
--once forwards what's there and exits (status 1 if a pane couldn't be reached), for cron or
a job epilogue.
Options: --spool DIR (default $MEDIAPANE_SPOOL), --interval SECONDS, --once.
Install
uv tool install mediapane --with mediapane-relay
Only the machine running the relay needs the plugin. Jobs only need mediapane itself.
Development: uv sync && uv run pytest in this directory.
Metadata
Release files for mediapane-relay 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mediapane_relay-0.1.0.tar.gz | 8.5 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mediapane_relay-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.3 kB
Release files / mediapane_relay-0.1.0.tar.gz
| Download URL | mediapane_relay-0.1.0.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef31d5a322bb05203103cad5f828ff2f114f569707ce602281ced245a494cbb6
|
|
BLAKE2b-256 checksum How to use checksums |
d246d4b3ebfb172ad5b2e34f56d2af59b5aae75eb53000dca248f4eeaad108c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logRelease files / mediapane_relay-0.1.0-py3-none-any.whl
| Download URL | mediapane_relay-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1693898810e29c1fec4eec0026b78a7c0c936aa576930fdacf93b545c3a50c5
|
|
BLAKE2b-256 checksum How to use checksums |
6f2ad0325d8c9b35240c07fe24cf4806d7a0bb6e177ed6d77b3174155a4f6da0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logSecurity for mediapane-relay 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for mediapane_relay-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.