POSIX exit status codes
Project description
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)
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
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 exitstatus-2.7.0.tar.gz.
File metadata
- Download URL: exitstatus-2.7.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ced16dbada1ed9f3c58854457235275aae29fec81e21c410b8bb9dbed497d034
|
|
| MD5 |
b231b9558e88ad9eb159334070e0950f
|
|
| BLAKE2b-256 |
01ba8f33f3f584ca5d278c574af9514134728d9d01c394331d822fa17202e453
|
File details
Details for the file exitstatus-2.7.0-py3-none-any.whl.
File metadata
- Download URL: exitstatus-2.7.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31ca7bf08a92cb1a511fe080b426a90331007707dfb39844fc47441755f1242b
|
|
| MD5 |
d66d4fc9d5951d5016f4a29074889f6b
|
|
| BLAKE2b-256 |
777998e989d4fa30cbcd2c3b99478d5d44cc0c4f124c59a24e8a674268912c65
|