parallelised python frontend