Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alioguzhan/async-python

Async and Parallel requests in Python
https://github.com/alioguzhan/async-python

Last synced: 25 days ago
JSON representation

Async and Parallel requests in Python

Awesome Lists containing this project

README

        

# 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](example.png)