Skip to main content

print_err

Command line utility and python library to print to standard error optionally exiting with a code.

Install

pip install print_err

Usage

As a python function

from print_err import print_err
print_err("This messages goes to stderr")
print_err("This messages goes to stderr", exit_code=2)

As a command line utility

$ print_err "print to stderr and exit() with code 2" 2

Metadata

Release files for print-err 0.0.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 print-err 0.0.1
File Size Uploaded
print_err-0.0.1.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for print-err 0.0.1
File Interpreter ABI Platform
print_err-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.8 kB

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

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