Skip to content

zifter/graceful-shutdown-py

Repository files navigation

License Release Supported versions Docs Contact Blog

graceful-shutdown-py

Helps to support graceful shutdown for your python application.

Example of usage

Simple

from graceful_shutdown import ExitSignalHandler

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