concurrent.futures - Launching parallel tasks - Python 3.10.4 documentation

ThreadPoolExecutor

Como usar o ThreadPoolExecutor em Python 3 | DigitalOcean

import concurrent.futures
from functools import partial

with concurrent.futures.ThreadPoolExecutor(max_workers=64) as executor:
            # Nome Tabela tem ate 64 caracters
            threads=executor.map(partial(<function>,param1,param2...),list(range(1, <total_workers>)))        
# Get return values        
        for retrieved_char in threads:
					#Traz todos os resultados na ordem