A thread manager for Python programs
Project description
# threadmanager A thread manager for Python programs
##### Current state: under heavy development (alpha)
- It provides:
Centralization of starting and monitoring threads
State management for the functions in the threads
Logging for exceptions and excessive runtime
- Original use case:
GUI program that calls back-end functions for IO-bound work
GUI has a cancel button that should always work, so: * the GUI mainloop should not be blocked * the called functions should intermittently check if the user has pressed the cancel button
Avoid running new work threads when the user wants to cancel
Allow running callback functions when the program starts working or goes idle. * e.g. update a status bar with certain text
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
Built Distribution
Hashes for threadmanager-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8f4b7ce6743c8f009feaf2d3925cf8da198785c2928bf593fb49e0fb963902b |
|
MD5 | a5819ef3b9153eb3634b0015cbf59801 |
|
BLAKE2b-256 | 3e36040b95d6d8a18ffc53015e9e5575b7b4e675d2cc3e4a5d4af482eb4b654c |