• Stars
    star
    156
  • Rank 239,589 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Code examples from my toptal engineering blog article

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