Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/volker48/python-concurrency

Code examples from my toptal engineering blog article
https://github.com/volker48/python-concurrency

asyncio multiprocessing python python-concurrency

Last synced: 14 days ago
JSON representation

Code examples from my toptal engineering blog article

Awesome Lists containing this project

README

        

# Python concurrency

This is the code used as examples in the [post that I wrote](http://www.toptal.com/python/beginners-guide-to-concurrency-and-parallelism-in-python) for the [Toptal Engineering Blog](https://www.toptal.com/developers/blog).

## Running the examples

The examples have all been tested under Python 3.6.4 running on OS X. They _should_ work on other operating systems and Python 3.5+, but I haven't tested it everywhere.

1. Get an [Imgur](https://imgur.com/account/settings/apps) API Key
2. Install dependencies with `pip install -r requirements.txt`
3. Run an example `IMGUR_CLIENT_ID=your_client_id threading_imgur.py`
1. For the `rq_imgur.py` example you will also need to be running a redis server