• Stars
    star
    238
  • Rank 168,373 (Top 4 %)
  • Language
    Python
  • Created over 8 years ago
  • Updated over 2 years ago

Reviews

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

Repository Details

Code for the examples on my article in Medium AsyncIO for the Working Python Developer

AsyncIO for the Working Python Developer

Code for the examples on my article in medium AsyncIO for the Working Python Developer.

The examples in the root directory will only work on Python 3.7, the alternatives directory includes versions of the examples for:

  • Python 3.5 and above in the base alternatives directory.
  • The @asyncio.coroutines subdirectory includes versions of the examples using the asyncio.coroutine decorator and will work on Python 3.4 and above.
  • Other subdirectories include versions using libraries like Trio or Tornado.

Usage:

  • Clone this repo
  • Create and activate a virtualenv
  • pip install -r requirements.txt
  • python <NAME_OF_SAMPLE>.py

Enjoy!