This is the code used as examples in the toptal engineering blog post I wrote http://www.toptal.com/python/beginners-guide-to-concurrency-and-parallelism-in-python.
The examples have all been tested under Python 3.4.2 running on OS X. They should work on other operating systems, but I haven't tested it everywhere.
- Get an Imgur API Key
- Install dependencies with
pip install -r requirements.txt
- Run an example
IMGUR_CLIENT_ID=your_client_id threading_imgur.py
- For the
rq_imgur.py
example you will also need to be running a redis server
- For the