Python module for easily creating threadpools with additional advanced functionality