@njoseph Why is asyncio an overkill? All you'd have to do is add 3 LOC :)

Alternatively, you could use ThreadPoolExecutor to execute your requests through a pool of concurrent threads: docs.python.org/3/library/conc

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!