Skip to main content

pyronic

Run a program and silence its output, unless it fails.

Usage

usage: pyronic [-h] [-V] [-v] [-s] ...

positional arguments:
  command

optional arguments:
  -h, --help      show this help message and exit
  -V, --version   show program's version number and exit
  -v, --verbose   Include additional output on failure
  -s, --separate  Separate stdout/stderr rather than combining

Background

pyronic is a replacement for chronic.

One key difference is that pyronic, in its default mode, will preserve the relative order of the lines written by program to stdout and stderr. Some programs aren't consistent in printing to stdout or stderr, and this order can make errors much eaiser to comprehend.

$ chronic ./test/interleave
1 stdout
2 stdout
4 stdout
7 stdout
9 stdout
3 stderr
5 stderr
6 stderr
8 stderr

$ pyronic ./test/interleave
1 stdout
2 stdout
3 stderr
4 stdout
5 stderr
6 stderr
7 stdout
8 stderr
9 stdout

Metadata

Release files for pyronic 0.1.1

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

Source distribution (sdist)

Source distribution for pyronic 0.1.1
File Size Uploaded
pyronic-0.1.1.tar.gz 2.5 kB Details

Release files / pyronic-0.1.1.tar.gz

Download URL pyronic-0.1.1.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c047a63d3721a23afb6ad6954365936318ddf1c155f9246541d09e9a0cecde27
BLAKE2b-256 checksum
How to use checksums
3258f015e14ee5efa572395ba81ed777f6e16eb6e9068f51edbd02b76f4631cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

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