Skip to main content

attr: graceful_shutdown.__doc__

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

graceful-shutdown-py-0.3.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

graceful_shutdown_py-0.3.0-py2.py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page