exitstatus


Nameexitstatus JSON
Version 2.6.0 PyPI version JSON
download
home_pagehttps://github.com/johnthagen/exitstatus
SummaryPOSIX exit status codes
upload_time2024-10-26 19:05:54
maintainerNone
docs_urlNone
authorJohn Hagen
requires_python>=3.9
licenseMIT
keywords exit status posix
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ``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.


Installation
------------

You can install, upgrade, and uninstall ``exitstatus`` with these commands:

.. code:: shell-session

    $ pip install exitstatus
    $ pip install --upgrade exitstatus
    $ pip uninstall exitstatus

Usage
-----

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)

Releases
--------

2.6.0 (2024-10-26)
^^^^^^^^^^^^^^^^^^

- Drop support for Python 3.8
- Add support for Python 3.13

2.5.0 (2024-01-13)
^^^^^^^^^^^^^^^^^^

- Add support for Python 3.12

2.4.0 (2023-04-30)
^^^^^^^^^^^^^^^^^^

- Add support for Python 3.11

2.3.0 2022-11-02
^^^^^^^^^^^^^^^^

- 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

2.2.0 2021-11-06
^^^^^^^^^^^^^^^^

- Support Python 3.10 and drop 3.6.

2.1.0 2020-12-27
^^^^^^^^^^^^^^^^

- Drop Python 3.5 and support Python 3.9.
- Switch to GitHub Actions for CI.

2.0.1 2020-04-26
^^^^^^^^^^^^^^^^

- Update LICENSE file.

2.0.0 2020-03-29
^^^^^^^^^^^^^^^^

- Drop Python 2.7 support.

1.4.1 2020-03-29
^^^^^^^^^^^^^^^^

- Add ``python_requires`` field to ``setup.py``.

1.4.0 2019-12-14
^^^^^^^^^^^^^^^^

- Drop Python 3.4 and support Python 3.8.
- Include license file.

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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/johnthagen/exitstatus",
    "name": "exitstatus",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "exit status POSIX",
    "author": "John Hagen",
    "author_email": "johnthagen@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d2/a8/43c7b4496d66844e0b882489587bf2e321e84fbfdfa7165c36c964e60feb/exitstatus-2.6.0.tar.gz",
    "platform": null,
    "description": "``exitstatus`` - POSIX exit status definitions\r\n==============================================\r\n\r\n.. image:: https://github.com/johnthagen/exitstatus/workflows/python/badge.svg\r\n    :target: https://github.com/johnthagen/exitstatus/actions\r\n\r\n.. image:: https://codeclimate.com/github/johnthagen/exitstatus/badges/gpa.svg\r\n   :target: https://codeclimate.com/github/johnthagen/exitstatus/\r\n\r\n.. image:: https://codeclimate.com/github/johnthagen/exitstatus/badges/issue_count.svg\r\n   :target: https://codeclimate.com/github/johnthagen/exitstatus/\r\n\r\n.. image:: https://codecov.io/github/johnthagen/exitstatus/coverage.svg\r\n    :target: https://codecov.io/github/johnthagen/exitstatus/\r\n\r\n.. image:: https://img.shields.io/pypi/v/exitstatus.svg\r\n    :target: https://pypi.python.org/pypi/exitstatus/\r\n\r\n.. image:: https://img.shields.io/pypi/status/exitstatus.svg\r\n    :target: https://pypi.python.org/pypi/exitstatus/\r\n\r\n.. image:: https://img.shields.io/pypi/pyversions/exitstatus.svg\r\n    :target: https://pypi.python.org/pypi/exitstatus/\r\n\r\n``exitstatus`` provides expressive, portable definitions for the\r\n`standard POSIX exit codes <https://www.gnu.org/software/libc/manual/html_node/Exit-Status.html>`__.\r\nWhile Python does provide some Unix-specific exit status codes in the\r\n`os module <https://docs.python.org/3/library/os.html#os._exit>`__, they are not portable to\r\nall platforms and are missing the generic failure case.\r\n\r\n\r\nInstallation\r\n------------\r\n\r\nYou can install, upgrade, and uninstall ``exitstatus`` with these commands:\r\n\r\n.. code:: shell-session\r\n\r\n    $ pip install exitstatus\r\n    $ pip install --upgrade exitstatus\r\n    $ pip uninstall exitstatus\r\n\r\nUsage\r\n-----\r\n\r\nExit status codes are defined in a simple to use\r\n`IntEnum <https://docs.python.org/3/library/enum.html#enum.IntEnum>`__.\r\n\r\n.. code:: python\r\n\r\n    import sys\r\n    from exitstatus import ExitStatus\r\n\r\n    sys.exit(ExitStatus.success)\r\n\r\nReleases\r\n--------\r\n\r\n2.6.0 (2024-10-26)\r\n^^^^^^^^^^^^^^^^^^\r\n\r\n- Drop support for Python 3.8\r\n- Add support for Python 3.13\r\n\r\n2.5.0 (2024-01-13)\r\n^^^^^^^^^^^^^^^^^^\r\n\r\n- Add support for Python 3.12\r\n\r\n2.4.0 (2023-04-30)\r\n^^^^^^^^^^^^^^^^^^\r\n\r\n- Add support for Python 3.11\r\n\r\n2.3.0 2022-11-02\r\n^^^^^^^^^^^^^^^^\r\n\r\n- Add ``py.typed`` file to package to support Mypy type checking.\r\n- Refactor the project into an installable package rather than an installable module.\r\n- Drop support for Python 3.7\r\n\r\n2.2.0 2021-11-06\r\n^^^^^^^^^^^^^^^^\r\n\r\n- Support Python 3.10 and drop 3.6.\r\n\r\n2.1.0 2020-12-27\r\n^^^^^^^^^^^^^^^^\r\n\r\n- Drop Python 3.5 and support Python 3.9.\r\n- Switch to GitHub Actions for CI.\r\n\r\n2.0.1 2020-04-26\r\n^^^^^^^^^^^^^^^^\r\n\r\n- Update LICENSE file.\r\n\r\n2.0.0 2020-03-29\r\n^^^^^^^^^^^^^^^^\r\n\r\n- Drop Python 2.7 support.\r\n\r\n1.4.1 2020-03-29\r\n^^^^^^^^^^^^^^^^\r\n\r\n- Add ``python_requires`` field to ``setup.py``.\r\n\r\n1.4.0 2019-12-14\r\n^^^^^^^^^^^^^^^^\r\n\r\n- Drop Python 3.4 and support Python 3.8.\r\n- Include license file.\r\n\r\n1.3.0 - 2018-07-09\r\n^^^^^^^^^^^^^^^^^^\r\n\r\nDrop Python 3.3 and support Python 3.7.\r\n\r\n1.2.0 - 2016-12-31\r\n^^^^^^^^^^^^^^^^^^\r\n\r\nSupport Python 3.6.\r\n\r\n1.1.0 - 2016-10-11\r\n^^^^^^^^^^^^^^^^^^\r\n\r\nAdd docstrings and simplify checking for ``enum34`` dependency need.\r\n\r\n1.0.0 - 2016-06-10\r\n^^^^^^^^^^^^^^^^^^\r\n\r\nInitial release.\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "POSIX exit status codes",
    "version": "2.6.0",
    "project_urls": {
        "Homepage": "https://github.com/johnthagen/exitstatus"
    },
    "split_keywords": [
        "exit",
        "status",
        "posix"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d9b9cff88786c72dd0a4d6fe6a889f45a088c1c13685b20ef733e9b6870caeb3",
                "md5": "10ce80c8130715b75ded0fb08c9da20a",
                "sha256": "4c05d04714560dc820a95f5c1e3917301d0e82d1ff6f29340f4f5e49e30c8212"
            },
            "downloads": -1,
            "filename": "exitstatus-2.6.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "10ce80c8130715b75ded0fb08c9da20a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 3705,
            "upload_time": "2024-10-26T19:05:52",
            "upload_time_iso_8601": "2024-10-26T19:05:52.914274Z",
            "url": "https://files.pythonhosted.org/packages/d9/b9/cff88786c72dd0a4d6fe6a889f45a088c1c13685b20ef733e9b6870caeb3/exitstatus-2.6.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d2a843c7b4496d66844e0b882489587bf2e321e84fbfdfa7165c36c964e60feb",
                "md5": "5e61b2faddd7108f588d58a4b669c986",
                "sha256": "ec393131186d96dcfaa76c4042c8370b7eefb986d9886169bad72a57a820be6e"
            },
            "downloads": -1,
            "filename": "exitstatus-2.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "5e61b2faddd7108f588d58a4b669c986",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 4059,
            "upload_time": "2024-10-26T19:05:54",
            "upload_time_iso_8601": "2024-10-26T19:05:54.430891Z",
            "url": "https://files.pythonhosted.org/packages/d2/a8/43c7b4496d66844e0b882489587bf2e321e84fbfdfa7165c36c964e60feb/exitstatus-2.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-26 19:05:54",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "johnthagen",
    "github_project": "exitstatus",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "exitstatus"
}
        
Elapsed time: 0.34759s