requests-futures · PyPI
https://pypi.org/project/requests-futures10.06.2019 · Additional processing can be done in the background using requests’s hooks functionality. This can be useful for shifting work out of the foreground, for a simple example take json parsing. from pprint import pprint from requests_futures.sessions import FuturesSession session = FuturesSession() def response_hook(resp, *args, **kwargs ...