.. _project-aioitertools: `aioitertools `_ -------------------------------------------------- .. raw:: html Star itertools and more for AsyncIO: aioitertools shadows the standard library whenever possible to provide asynchronous version of the modules and functions you already know. It’s fully compatible with standard iterators and async iterators alike, giving you one unified, familiar interface for interacting with iterable objects: .. code-block:: python3 from aioitertools import iter, next, map, zip something = iter(...) first_item = await next(something) async for item in iter(something): ... async def fetch(url): response = await aiohttp.request(...) return response.json async for value in map(fetch, MANY_URLS): ... .. EOF .. raw:: html