Cross-platform Python library for safe shutdown of threads, processes, and async tasks
Project description
Shutdown Manager
A cross-platform Python library to safely shut down threads, subprocesses, and asyncio tasks on Ctrl+C or program exit.
Features
- Graceful thread shutdown
- Automatic cleanup of child processes
- Asyncio task cancellation support
- Context manager support (
with ShutdownManager():) - Cross-platform: Linux, macOS, Windows
Installation
pip install shutdown-manager
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shutdown_manager-0.1.0.tar.gz.
File metadata
- Download URL: shutdown_manager-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc4614bc9b2c8566cd04a51e92e726c2a5dc08f1d85b175c712466b7479c87e5
|
|
| MD5 |
14db8e5956d6022ce340412b81eba2b5
|
|
| BLAKE2b-256 |
7498014490327db181f7f064a6ce3a49e6f7e3379447e0a14d90a8db61297403
|
File details
Details for the file shutdown_manager-0.1.0-py3-none-any.whl.
File metadata
- Download URL: shutdown_manager-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fd6517e2532271f5d132e75b27e826c23c6d539b2f2844629f0eb497f31eebf
|
|
| MD5 |
8ddddc85e4b220b7524f64c35177a232
|
|
| BLAKE2b-256 |
bb373c13c04dd3bb04fa54e832ec44309e153c4689d94ee5e0093e3a7221de6e
|