logoalt Hacker News

t098i3yesterday at 3:00 PM5 repliesview on HN

`requests` has a friendlier API than the standard library. However, it does not support newer versions of HTTP, nor does it support `async`. The maintainer considers it complete, feature-frozen software, IIRC - they'd rather keep it stable for existing users and let other libraries succeed it.

`aiohttp` supports `async` but was never popular for non-async

`httpx` supported newer HTTP versions and both async and non-async. However the maintainer decided to close all outside submissions, issues and discussions for personal reasons.

`httpx2` is a maintained fork of `httpx`


Replies

RantyDavetoday at 1:50 AM

'urllib3' completely saved me once. We had to authenticate with the border proxy using a certificate, then make a request to a web service ... that needed authenticating with a certificate. Urllib3 was the only one that could do it.

BoumTACyesterday at 3:05 PM

Thanks for the explanation !

nilteceduyesterday at 5:27 PM

Also niquests as well which is a dropin replacement and imo wayyy better than httpx

show 1 reply
giov4yesterday at 6:03 PM

thanks for the summary.

>`httpx` supported newer HTTP versions and both async and non-async. However the maintainer decided to close all outside submissions, issues and discussions for personal reasons.

how can something like this happen? and which positive consequence there can be out of that?

show 1 reply
lofaszvanittyesterday at 4:00 PM

And why don't people use pycurl? Curl is the king of the hill...

show 1 reply