Skip to main content

pytauargus-tui

An interactive terminal UI for Tau-Argus, the statistical disclosure control engine. It is a thin view over the pytauargus engine; every action is a call the headless CLI already makes. Installing it also gives you the tauargus CLI.

Screenshots

Loaded table, every cell coloured by its safety status

Suppression preview, inspect the throwaway result before accepting

Accepted; the preview becomes the working session

What it does

  • Runs supported .arb batches. It runs the engine pipeline (apriori safety rules, suppression, rounding, audit), and every computed table is browsable. Start without a file and a .arb file browser opens.
  • Colours cells by status. Green safe, red unsafe (a sensitive value), cyan protected, yellow hidden by a suppression, dim empty. All 14 engine status codes are recognised and named.
  • Shows what any cell means. The detail pane shows the value, status name, pending mark, and, after an audit, the realised feasibility interval for the cell under the cursor.
  • Lets you mark cells before solving. u requires suppression, p protects (keeps), S overrides safe. Marks are instant draft edits with toggle/replace and undo/redo; the solver never runs until you ask.
  • Previews suppression and rounding. s (OPT, whole table) and r (RND) run on a throwaway copy of your batch. You inspect the previewed grid, then y accepts or n cancels. Your working table never changes behind your back, and a preview that is no longer current is flagged.
  • Audits. Realised feasibility intervals per cell (a).
  • Exports. Writes the accepted table as a legacy INTERMEDIATE .tab file (o).
  • Saves the workspace. A versioned, fingerprinted JSON manifest of the accepted operations and pending cell marks, written next to the .arb (w).
  • Reopens a saved workspace. Launch tauargus-tui on the .workspace.json, or pick it in the file browser. The accepted result is rebuilt through the engine, the pending draft comes back (undoable), and the revisions are continuous. If the .arb changed since the save, the old outcome is not treated as current; the current input opens fresh instead, with a clear message.
  • Writes a replay batch. R materialises the accepted recipe as a headless-runnable .arb (plus apriori files) next to the input. tauargus run <stem>.replay.arb replays the recorded operator intent. It reruns the solver and does not restore or guarantee an identical numerical result.

What it can't do (yet)

  • Inspect all dimensions. The grid uses the first two variables and has no selector for higher-dimensional slices. Use the Python/CLI workflow for higher-dimensional inspection; the grid is not a complete view.

  • Restore the exact accepted result. Reopening reruns the recipe. The manifest hashes the .arb, not referenced data, metadata, hierarchy or apriori files; changes in those dependencies are not detected by that hash. Keep the complete inputs and accepted outputs when reproducibility matters.

  • Provide a publication-output workflow. o exports a diagnostic INTERMEDIATE .tab, not a masked release table. The grid shows original responses, including after rounding. Inspect actual rounded values and select publication output explicitly through the engine API/CLI.

  • Offer every legacy method. The headless engine rejects GH/NET/CTA; the interactive method shortcuts are OPT and RND.

  • Mark total cells. That needs the real total code, which the display labels do not preserve; the app blocks such marks with a message.

  • Choose the rounding base. r always uses the engine's minimum base.

  • Work on several batches. One .arb per session, and the batch spec itself is not editable from the UI.

Install

pip install pytauargus-tui
# or, as an extra of the engine package:
pip install "pytauargus[tui]"

Run

tauargus-tui                          # opens a file browser (.arb + saved workspaces)
tauargus-tui path/to/batch.arb        # opens that .arb batch directly
tauargus-tui path/to/batch.workspace.json   # reopens a saved workspace

The full user guide covers every key, every status code and the whole workflow: docs/tui.md.

Develop (monorepo)

cd bindings/tui
uv sync --extra test
.venv/bin/python -m pytest

Metadata

Release files for pytauargus-tui 0.5.2

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

Built distribution (wheel)

Table of built distributions (wheels) for pytauargus-tui 0.5.2
File Interpreter ABI Platform
pytauargus_tui-0.5.2-py3-none-any.whl Python 3 none any Details

Release files / pytauargus_tui-0.5.2-py3-none-any.whl

Download URL pytauargus_tui-0.5.2-py3-none-any.whl
Size 29.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96844456d98ca1694ccfb76dd38cad84cc3ddc115e84371698ed9dbef4f0f1e1
BLAKE2b-256 checksum
How to use checksums
0178cfc18c04afe4d8aca8c52b76b5651968f16a06c48e7e3ffc8f930514f8c5
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 Oct 13, 2026.

Transparency log

Release history Release notifications | RSS feed

0.5.5

1 release file

0.5.4

1 release file

0.5.3

1 release file

This release

0.5.2 This release

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

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