Skip to main content

show_ouput works like check_output, but showing progress

There is a plethora of ways of calling an external program in Python. For longer running commands you want to be able to see what is happening, so subprocess.check_output() is not really usable. Falling back to os.system() with the need to ' '.join() the command is not that useful as you don’t have an exit status

show_output() works like check_output() (including the input= keyword parameter), but will display the progress to stdout. The total output is returned to the caller, or passed back in the Exceptions output attribute, raised if the return code from the calling process is non-zero.

If verbose argument is < 0 then no output is shown, but the result still returned

Release files for ruamel.showoutput 0.1.7

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

Source distribution (sdist)

Source distribution for ruamel.showoutput 0.1.7
File Size Uploaded
ruamel.showoutput-0.1.7.tar.gz 10.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ruamel.showoutput 0.1.7
File Interpreter ABI Platform
ruamel.showoutput-0.1.7-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 17.0 kB

Release files / ruamel.showoutput-0.1.7.tar.gz

Download URL ruamel.showoutput-0.1.7.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1a99414c0b452e84a51bdb1ae835732f3b4694dd987f315b786cf7a4e1defd44
BLAKE2b-256 checksum
How to use checksums
f90c17a6f27ba5a47376122b52696ced6086c6870941502f4d95d6ca9715b739
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ruamel.showoutput-0.1.7-py2.py3-none-any.whl

Download URL ruamel.showoutput-0.1.7-py2.py3-none-any.whl
Size 6.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d7b21e3b297e626fb5322c7657eee3889196d53a737b1b0c2d7c18d2123ca2b9
BLAKE2b-256 checksum
How to use checksums
22ea3e6740d894b1e57000043ecb9d458384723a396368228d968e3705adf662
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.2.dev0

0.1.1

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