Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 453 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 453 Bytes

signal-utils

Helpers for handling SIGTERM/SIGINT and draining work before exit.

Why

I wanted something I could read in one sitting and vendor into a project if needed.

Install

pip install signal-utils

Usage

from signal_utils import signalUtils

result = signalUtils("example")
print(result)

Notes

  • No runtime dependencies outside the standard library.
  • Tested on Python 3.9 and newer.

License

MIT