Metadata-Version: 2.1
Name: graceful-shutdown-py
Version: 0.3.0
Summary: attr: graceful_shutdown.__doc__
Home-page: https://github.com/zifter/graceful-shutdown-py
Author: Aleh Strakachuk
Author-email: zifter.ai@gmail.com
License: MIT
Keywords: graceful,shutdown
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Operating System :: OS Independent
Requires-Python: >=3.5
Description-Content-Type: text/x-rst
License-File: LICENSE

|License| |Release| |Supported versions| |Docs| |Contact| |Blog|

graceful-shutdown-py
=====================

Helps to support graceful shutdown for your python application.

Example of usage
----------------
Simple
^^^^^^
.. code:: python

    from graceful_shutdown import ExitSignalHandler

    shutdown = ExitSignalHandler()
    while not shutdown.triggered:
        sleep(1)

.. |Release| image:: https://img.shields.io/github/release/zifter/graceful-shutdown-py.svg
   :target: https://github.com/zifter/graceful-shutdown-py/releases
.. |Supported versions| image:: https://img.shields.io/pypi/pyversions/graceful-shutdown-py.svg
   :target: https://pypi.org/project/graceful-shutdown-py/
.. |Contact| image:: https://img.shields.io/badge/telegram-write%20me-blue.svg
    :target:  https://t.me/zifter
.. |Blog| image:: https://img.shields.io/badge/site-my%20blog-yellow.svg
    :target:  https://zifter.github.io/
.. |License| image:: https://img.shields.io/badge/License-MIT-yellow.svg
    :target:  https://opensource.org/licenses/MIT
.. |Docs| image:: https://readthedocs.org/projects/graceful-shutdown-py/badge/?version=latest&style=flat
    :target:  https://graceful-shutdown-py.readthedocs.io/en/latest/

