DEV Community

Thomas Reid
Thomas Reid

Posted on

Beyond Requests: Why httpx is the Modern HTTP Client You Need (Sometimes)

If you're a user of the Python requests library, consider having a look at the relatively new httpx library. It's an obvious successor to requests and is generally preferred over it - but not always!

In my latest article for the Towards Data Science blog, I do a deep dive comparison between these two leading HTTP libraries. Using several coding examples, I compare the runtimes of the two in typical use-cases and show you when - and when not - to use one over the other.

Read my article for free using the link below,

https://towardsdatascience.com/beyond-requests-why-httpx-is-the-modern-http-client-you-need-sometimes/

Top comments (0)