Python module to easily create threadpools with additional advanced functionality