/async-python

Async and Parallel requests in Python

Primary LanguagePythonMIT LicenseMIT

async-python

Async and Parallel requests in Python

It runs 4 different methods to compare:

  • Synchronous Requests
  • Asynchronous Requests with Tornado
  • Asynchronous Requests with Grequests
  • Asynchronous Requests with built-in multiprocessing

Install and Run

To make things work,

  • Clone the repo
  • cd into repo
  • run -> python3.6 -m venv venv
  • then -> source venv/bin/activate
  • then -> pip install -r req.pip

And finaly to just run main file:

python3 main.py

An Example output would be:

Example Output