A companion repository to Nathan's Parallel Computing in Python article.
You'll first need to make sure you've done the following:
- Install pyenv (I'd advise you do this to avoid messing with your system Python install)
- Install a recent Python version (check out .python-version for the one to use)
- Install uv for package management and environment setup
- Run
make syncin the root of this repository
To run the asyncio example, use:
make asyncio
To run the multiprocessing example, use:
make multiprocessing
To run the threading example, use:
make threading
To run all the examples sequentially, use:
make run