Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
exitstatus
- POSIX exit status definitions.. image:: https://github.com/johnthagen/exitstatus/workflows/python/badge.svg :target: https://github.com/johnthagen/exitstatus/actions
.. image:: https://codeclimate.com/github/johnthagen/exitstatus/badges/gpa.svg :target: https://codeclimate.com/github/johnthagen/exitstatus/
.. image:: https://codeclimate.com/github/johnthagen/exitstatus/badges/issue_count.svg :target: https://codeclimate.com/github/johnthagen/exitstatus/
.. image:: https://codecov.io/github/johnthagen/exitstatus/coverage.svg :target: https://codecov.io/github/johnthagen/exitstatus/
.. image:: https://img.shields.io/pypi/v/exitstatus.svg :target: https://pypi.python.org/pypi/exitstatus/
.. image:: https://img.shields.io/pypi/status/exitstatus.svg :target: https://pypi.python.org/pypi/exitstatus/
.. image:: https://img.shields.io/pypi/pyversions/exitstatus.svg :target: https://pypi.python.org/pypi/exitstatus/
exitstatus
provides expressive, portable definitions for the
standard POSIX exit codes <https://www.gnu.org/software/libc/manual/html_node/Exit-Status.html>
.
While Python does provide some Unix-specific exit status codes in the
os module <https://docs.python.org/3/library/os.html#os._exit>
, they are not portable to
all platforms and are missing the generic failure case.
You can install, upgrade, and uninstall exitstatus
with these commands:
.. code:: shell-session
$ pip install exitstatus
$ pip install --upgrade exitstatus
$ pip uninstall exitstatus
Exit status codes are defined in a simple to use
IntEnum <https://docs.python.org/3/library/enum.html#enum.IntEnum>
__.
.. code:: python
import sys
from exitstatus import ExitStatus
sys.exit(ExitStatus.success)
2.6.0 (2024-10-26) ^^^^^^^^^^^^^^^^^^
2.5.0 (2024-01-13) ^^^^^^^^^^^^^^^^^^
2.4.0 (2023-04-30) ^^^^^^^^^^^^^^^^^^
2.3.0 2022-11-02 ^^^^^^^^^^^^^^^^
py.typed
file to package to support Mypy type checking.2.2.0 2021-11-06 ^^^^^^^^^^^^^^^^
2.1.0 2020-12-27 ^^^^^^^^^^^^^^^^
2.0.1 2020-04-26 ^^^^^^^^^^^^^^^^
2.0.0 2020-03-29 ^^^^^^^^^^^^^^^^
1.4.1 2020-03-29 ^^^^^^^^^^^^^^^^
python_requires
field to setup.py
.1.4.0 2019-12-14 ^^^^^^^^^^^^^^^^
1.3.0 - 2018-07-09 ^^^^^^^^^^^^^^^^^^
Drop Python 3.3 and support Python 3.7.
1.2.0 - 2016-12-31 ^^^^^^^^^^^^^^^^^^
Support Python 3.6.
1.1.0 - 2016-10-11 ^^^^^^^^^^^^^^^^^^
Add docstrings and simplify checking for enum34
dependency need.
1.0.0 - 2016-06-10 ^^^^^^^^^^^^^^^^^^
Initial release.
FAQs
POSIX exit status codes
We found that exitstatus demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.