Preferred system exit codes as defined by sysexits.h
Project description
exitcode
Preferred system exit codes as defined by sysexits.h.
This library is inspired by this rust library.
Example
All constants from the manpage sysexits(3) are available without the EX_ prefix.
import exitcode
import sys
sys.exit(exitcode.OK)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
exitcode-0.1.0.tar.gz
(3.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file exitcode-0.1.0.tar.gz.
File metadata
- Download URL: exitcode-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/6.1.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc9ee1420068e9654b9a5d74b60bf52cf749097c485c8106717bcf4ba25fde07
|
|
| MD5 |
0b2ed995d3a71993d6a31bcee59a485f
|
|
| BLAKE2b-256 |
c5b1e8747e17e9ba94be55d8aeae9f9979b7f0f05d9da868625c4942c57c0b2a
|
File details
Details for the file exitcode-0.1.0-py3-none-any.whl.
File metadata
- Download URL: exitcode-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/6.1.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d8ff6564581b03c33f0baa1345a019020bf78adde780b742a935596d98f5aa9
|
|
| MD5 |
8e136d58cc7747f5506c075ce5a881c2
|
|
| BLAKE2b-256 |
b8677d1447aa02f7ada6642ca3aa9ca7e0659550c069e8545caacc32f3d1c84f
|