exitstatus — POSIX exit status definitions
exitstatus provides expressive, portable definitions for the
standard POSIX exit codes.
While Python does provide some Unix-specific exit status codes in the
os module, they are not portable to
all platforms and are missing the generic failure case.
Installation
You can add exitstatus to your project with uv using:
uv add exitstatus
Usage
Exit status codes are defined in a simple to use
IntEnum.
import sys
from exitstatus import ExitStatus
sys.exit(ExitStatus.success)
Release files for exitstatus 2.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| exitstatus-2.7.0.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| exitstatus-2.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.8 kB
Release files / exitstatus-2.7.0.tar.gz
| Download URL | exitstatus-2.7.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ced16dbada1ed9f3c58854457235275aae29fec81e21c410b8bb9dbed497d034
|
|
BLAKE2b-256 checksum How to use checksums |
01ba8f33f3f584ca5d278c574af9514134728d9d01c394331d822fa17202e453
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / exitstatus-2.7.0-py3-none-any.whl
| Download URL | exitstatus-2.7.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31ca7bf08a92cb1a511fe080b426a90331007707dfb39844fc47441755f1242b
|
|
BLAKE2b-256 checksum How to use checksums |
777998e989d4fa30cbcd2c3b99478d5d44cc0c4f124c59a24e8a674268912c65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|