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.
You can install, upgrade, and uninstall exitstatus
with these commands:
$ pip install exitstatus
$ pip install --upgrade exitstatus
$ pip uninstall exitstatus
Exit status codes are defined in a simple to use IntEnum.
import sys
from exitstatus import ExitStatus
sys.exit(ExitStatus.success)
- Drop support for Python 3.8
- Add support for Python 3.12
- Add support for Python 3.11
- Add
py.typed
file to package to support Mypy type checking. - Refactor the project into an installable package rather than an installable module.
- Drop support for Python 3.7
- Support Python 3.10 and drop 3.6.
- Drop Python 3.5 and support Python 3.9.
- Switch to GitHub Actions for CI.
- Update LICENSE file.
- Drop Python 2.7 support.
- Add
python_requires
field tosetup.py
.
- Drop Python 3.4 and support Python 3.8.
- Include license file.
Drop Python 3.3 and support Python 3.7.
Support Python 3.6.
Add docstrings and simplify checking for enum34
dependency need.
Initial release.