python-parallelism-examples icon indicating copy to clipboard operation
python-parallelism-examples copied to clipboard

Parallel examples for Python

Python examples for multiprocessing and asyncio

Parallel programming python examples

async_multiprocess.py

Parallel execution of tasks using asyncio

async_concurrent_futures.py

Concurrent futures example with a worker poll

multiprocess.py

Paralllel execution of tasks using multiprocessing

synchronous.py

Regular synchronous execution of tasks

aws_ec2_example.py

Asynchronous gather all ec2 instances from all regions, a real life usage example.