Open ColdHeat opened 10 years ago
https://medium.com/p/40e9b2b36148
This should make it pretty easy.
http://docs.python.org/3.2/library/concurrent.futures.html https://pypi.python.org/pypi/futures This can be used in Python 3 and if we wish to use a backport.
The goal is to be able to pass a list or generator of hosts to a function and it will automatically be threaded and parallelized.
A decorator to a function is the ideal approach but this may not be possible.
https://medium.com/p/40e9b2b36148
This should make it pretty easy.
http://docs.python.org/3.2/library/concurrent.futures.html https://pypi.python.org/pypi/futures This can be used in Python 3 and if we wish to use a backport.