Aiohttp

import aiohttp

import asyncio


async def main():

async with aiohttp.ClientSession() as session:

async with session.get('http://python.org') as response:

print(response)

html = await response.text()

print(html[:15])


loop = asyncio.get_event_loop()

loop.run_until_complete(main())