Skip to main content

juxt logo

juxt

PyPI version PyPI - Python Version Tests Docs License: MIT

juxt is a fast desktop tool for visually comparing plots across multiple parameter axes. Define axes (model, date, data source, ...) and flip through the resulting image hypercube with keyboard navigation.

juxt comes from juxtapose — placing things side by side to compare. That's the whole idea: flip through congruent plots fast enough to visually identify differences.

Install

pip install juxt

For SSH remote loading:

pip install juxt[ssh]

Quick start

juxt accepts several forms as its first argument:

juxt /path/to/plots/                        # auto-detect axes from a directory of images
juxt "plots/{sensor}_{date}.png"            # explicit local template
juxt myhost:/path/to/plots/                 # remote directory over SSH
juxt "myhost:/path/{sensor}_{date}.png"     # remote template over SSH
juxt config.yaml                            # explicit config file

For directory and remote-directory modes, filenames are split on separators (_ and / by default) and any position with more than one distinct value becomes an axis. You'll be prompted to name the axes on first run; use -a to skip.

Run juxt with no argument and it opens a dialog instead: a Browse tab for picking a directory (auto-discover), and a Build path tab for typing a {placeholder} template by hand, with Tab completing real directories and files along the way.

Config

Auto-discover mode

Point juxt at a directory and it figures out the axes from the filenames:

juxt /path/to/plots/

Or with an explicit config:

discover:
  directory: plots/
  separator: "_"

Template mode

For full control, define the template and axes explicitly:

template: "plots/{sensor}_{date}_{overpass}_{source}.png"
axes:
  sensor:   [ASCAT, SMAP, SMOS]
  date:     [2024-03-15, 2024-03-16]
  overpass: [AM, PM]
  source:   [L2, L3]
keys:
  s: sensor
  d: date
  o: overpass
  r: source

Remote mode (SSH)

Images are downloaded over SFTP at startup and cached locally; navigation afterwards is identical to local use. Auth uses your SSH agent or ~/.ssh/config key, with a password fallback.

remote: myhost               # or user@myhost, or user@myhost:port
template: "/data/plots/{sensor}_{date}.png"
axes:
  sensor: [ASCAT, SMAP]
  date:   [2024-03-15, 2024-03-16]

Or pass the remote path directly on the command line — juxt will detect axes from the remote filenames automatically:

juxt myhost:/data/plots/

Requires the SSH extra: pip install juxt[ssh]

Navigation

Default mode is tap. Each axis is assigned one letter key — tap it to step forward, hold Shift to step backward. Every navigation is a single keypress, no modifiers, no menus.

Key Action
← / → cycle the active axis
↑ / ↓ cycle the secondary axis
lowercase letter navigate +1 on that axis
uppercase letter navigate −1 on that axis
Ctrl+letter open value picker for that axis
Space toggle between current and previous position
Home / End jump to first / last value
1–9 jump to the Nth value

Use :mode tap|seek|pin in the command bar to switch navigation modes.

Command mode

Press : to open the command bar (vim-style). Tab-completion narrows candidates as you type.

Path arguments complete with {placeholders} in place: :pattern plots/{sensor}/2⇥ lists what every sensor directory holds, so a template is built top-down instead of completing a concrete path and deleting the parts that should vary. { + Tab completes an existing axis name, and anonymous {} placeholders are numbered automatically.

Shell completion

The same completion works at the shell prompt. Add one line to ~/.bashrc:

eval "$(juxt --bash-completion)"

zsh needs bashcompinit first:

autoload -U bashcompinit && bashcompinit
eval "$(juxt --bash-completion)"

Then juxt plots/{sensor}/2⇥ completes at the prompt, as do the command-line options. ble.sh is handled as well, through its own hook. Reload the shell (source ~/.bashrc, or open a new terminal) for it to take effect.

Point JUXT_COMPLETE at juxt-complete if juxt lives in a virtualenv you do not activate:

export JUXT_COMPLETE=~/env/juxt/bin/juxt-complete

Placeholders standing for a known kind of value complete only as far as that value: plots/{date}⇥ stops at plots/{date}_ rather than swallowing the rest of the filename. The names that count are the ones listed under placeholders: in ~/.juxt/settings.yaml, which juxt seeds with date datetime time year month day doy — edit or delete them, and completion follows. Date-style shorthands such as {yyyy-mm-dd} are recognised on sight, with or without an entry.

Command Action
:q quit
:fit fit image to window
:fit height / :fit width fit to height or width
:zoom N set zoom to N%
:fullscreen toggle fullscreen
:mode tap|seek|pin switch navigation mode
:grid [AXIS] tile an axis into a grid of viewports
:grid AXIS VAL … grid with a value subset
:grid-dialog open the grid builder dialogue (Ctrl+Shift+G)
:grid-layout NxM change grid layout without exiting
:ungrid return to single-image view
:grid-sharex / :grid-sharey toggle synchronized pan/zoom

Controls

Zoom

Key Action
double-click fit image to window
0 reset zoom to 100%
scroll wheel step forward / backward on active axis
Shift + scroll wheel step backward / forward on active axis
Ctrl + scroll wheel zoom (anchored under cursor)
drag pan

View

Key Action
Enter toggle fullscreen
Ctrl+Shift+H toggle status bar
Ctrl+Shift+I toggle info sidebar
Ctrl+Shift+G open the grid builder dialogue

Metadata

Release files for juxt 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for juxt 1.3.0
File Size Uploaded Provenance Actions
juxt-1.3.0.tar.gz 64.4 kB With provenance Details for juxt-1.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for juxt 1.3.0
File Interpreter ABI Platform Actions
juxt-1.3.0-py3-none-any.whl Python 3 none any Details for juxt-1.3.0-py3-none-any.whl

Total release size: 343.5 kB

Release files / juxt-1.3.0.tar.gz

Download URL juxt-1.3.0.tar.gz
Size 64.4 kB
Tags Source
SHA-256 checksum
How to use checksums
af1117eb9279a38e1b35a89515635a8677800962a13970100eb0232c4ddfd0a7
BLAKE2b-256 checksum
How to use checksums
6741c71c72e1641f3cfe6c1ee2e9244b67c2aeb193c6414027bf927a986da806
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 31, 2026.

Transparency log

Release files / juxt-1.3.0-py3-none-any.whl

Download URL juxt-1.3.0-py3-none-any.whl
Size 279.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ba1c819c32a68234581e35f042023f56a83ad0f2b085ab80230fcbc6e8b2699
BLAKE2b-256 checksum
How to use checksums
eae0e922f90e7bfc4edfbaf0e870378bb0bdad83e015a81ee7b37f2a079e93fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 31, 2026.

Transparency log

Security for juxt 1.3.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for juxt-1.3.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 Aug 31, 2026.

Transparency log

A 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page