Skip to content

volker48/python-concurrency

Repository files navigation

Python concurrency

This is the code used as examples in the post that I wrote for the Toptal Engineering 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 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