logoalt Hacker News

mesahmtoday at 8:44 AM8 repliesview on HN

the http landscape is rather scary lately in Python. instead of forking join forces... See Niquests https://github.com/jawah/niquests

I am trying to resolve what you've seen. For years of hard work.


Replies

samset7today at 12:23 PM

We have switched to niquests in my company and yes I can confirm that it's 10x better than httpx :)

show 3 replies
u_samatoday at 9:03 AM

It is indeed a shame that niquests isn't used more, I think trying to use the (c'est Français) argument to in French will bring you many initial users needed for the inertia

show 1 reply
mananaysiempretoday at 11:42 AM

No Trio support yet, right? That’s the main reason to use httpx for me at least, and has been since I first typed “import httpx” some years ago.

(Also the sponsorship subscription thing in the readme gives me vague rugpull vibes. Maybe I’ve just been burned too much—I don’t mean to discourage selling support in general.)

show 1 reply
duskdozertoday at 9:10 AM

Is it knee-quests or nigh-quests?

I've started seeing these emoji-prefixed commits lately now too, peculiar

show 3 replies
greatgibtoday at 8:55 AM

The basis of httpx is not very good at all.

I think that it owes its success to be first "port" of python requests to support async, that was a strong need.

But otherwise it is bad: API is not that great, performance is not that great, tweaking is not that great, and the maintainer mindset is not that great also. For the last point, few points were referenced in the article, but it can easily put your production project to suddenly break in a bad way without valid reason.

Without being perfect, I would advise everyone to switch to Aiohttp.

show 3 replies
roywasheretoday at 10:37 AM

Thanks, I'll link to your project

show 1 reply
Orelustoday at 8:54 AM

Can confirm, more features, a breeze to switch.

hrmtst93837today at 11:05 AM

Half-melded side projects just pollute PyPI more, you get less grief long-term by biting the bullet and shipping a fork that owns its tradeoffs.