Top "Aiohttp" questions

Use this tag for questions about AIOHTTP – a client/server framework for asyncio Python.

Parallel asynchronous IO in Python's coroutines

Simple example: I need to make two unrelated HTTP requests in parallel. What's the simplest way to do that? I …

python python-asyncio aiohttp
how to setup a aiohttp https server and client?

I'm trying to learn how I might secure data from being altered after being passed over an open network between …

python ssl python-asyncio aiohttp
Asyncio + aiohttp - redis Pub/Sub and websocket read/write in single handler

I'm currently playing with aiohttp to see how it will perform as a server application for mobile app with websocket …

python redis python-asyncio aiohttp
aiohttp module - import error

Installed aiohttp, pip3 install aiohttp as mentioned here With python3.6, I see below error: import aiohttp ModuleNotFoundError: No module named …

python python-3.x aiohttp
Fetching multiple urls with aiohttp in Python 3.5

Since Python 3.5 introduced async with the syntax recommended in the docs for aiohttp has changed. Now to get a single …

python python-3.x web-scraping python-asyncio aiohttp
asyncio web scraping 101: fetching multiple urls with aiohttp

In earlier question, one of authors of aiohttp kindly suggested way to fetch multiple urls with aiohttp using the new …

python python-3.x web-scraping python-asyncio aiohttp
asyncio aiohttp progress bar with tqdm

I'm attempting to integrate a tqdm progress bar to monitor POST requests generated with aiohttp in Python 3.5. I have a …

progress-bar python-3.5 python-asyncio aiohttp tqdm
"RuntimeError: This event loop is already running"; debugging aiohttp, asyncio and IDE "spyder3" in python 3.6.5

I'm struggling to understand why I am getting the "RuntimeError: This event loop is already running" runtime error. I have …

python spyder python-asyncio aiohttp
How to prevent raise asyncio.TimeoutError and continue the loop

I'm using aiohttp with limited_as_completed method to speed up scrapping (around 100 million static website pages). However, the code …

python exception-handling python-asyncio aiohttp timeoutexception
Asyncio and aiohttp route all urls paths to handler

I have trouble to find a wildcard url matching pattern which matches all incoming urls. This just matches a url …

python python-3.x python-asyncio aiohttp