Metadata-Version: 2.0
Name: threadmanager
Version: 0.0.1
Summary: A thread manager for Python programs
Home-page: https://github.com/brandonmpace/threadmanager
Author: Brandon M. Pace
Author-email: brandonmpace@gmail.com
License: GNU Lesser General Public License v3 or later
Keywords: thread state manager
Platform: any
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.6.5
Description-Content-Type: text/markdown

# 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


