graceful-shutdown-py

attr: graceful_shutdown.__doc__


Keywords
graceful, shutdown
License
MIT
Install
pip install graceful-shutdown-py==0.3.0

Documentation

License Release Supported versions Docs Contact Blog

gracefull-shutdown-py

Helps to support gracefull shutdown for your python application.

Example of usage

Simple

from gracefull_shutdown import ExitSignalHandler

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