Development on terriblecode https://terriblecode.com/tags/development/ Recent content in Development on terriblecode Hugo -- gohugo.io en-US Sat, 25 Feb 2017 14:18:57 -0600 Asynchronous HTTP Requests in Python https://terriblecode.com/blog/asynchronous-http-requests-in-python/ Sat, 25 Feb 2017 14:18:57 -0600 https://terriblecode.com/blog/asynchronous-http-requests-in-python/ Overview Asynchronous programming is a new concept for most Python developers (or maybe it’s just me) so utilizing the new asynchronous libraries that are coming out can be difficult at least from a conceptual point of view. The library I’ll be highlighting today is aiohttp. If you’re familiar with the popular Python library requests you can consider aiohttp as the asynchronous version of requests. Usage is very similar to requests but the potential performance benefits are, in some cases, absolutely insane.