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)
| File | Size | Uploaded | |
|---|---|---|---|
| print_err-0.0.1.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| print_err-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.8 kB
Release files / print_err-0.0.1.tar.gz
| Download URL | print_err-0.0.1.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e369c9081cf4ce90e60abd8343a039922c267f56efebcd12effc00cce49de6b
|
|
BLAKE2b-256 checksum How to use checksums |
d4e17999003e349ac12ce86ab022b409bc2aa5a547fad654f98c1d052283ff91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4
|
Release files / print_err-0.0.1-py3-none-any.whl
| Download URL | print_err-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc16434c7f8f4d18f242cafe884966eeeac1c14f3db271eb053004b698809e4e
|
|
BLAKE2b-256 checksum How to use checksums |
0e3b3772333bb079d6a2ffb44060f33fe6c733b888f853b55181f21afa05ab2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4
|