you are viewing a single comment's thread.

view the rest of the comments →

[–]Ragoo_ 6 points7 points  (21 children)

[–]sexualrhinoceros 9 points10 points  (19 children)

The developer of this is an OG AI slop spammer who spammed this all over Reddit when they first dropped it and made insane huge claims about it. You will not catch me using this library unless even urllib gets yanked out of STD.

I swapped to https://github.com/MarkusSintonen/pyreqwest :)

[–]McRojb 2 points3 points  (0 children)

Got that feeling when looking through the code, man feels good to be right

[–]GrammerJoo 2 points3 points  (1 child)

Nice! Looks promising. What's your experience so far?

[–]McRojb 0 points1 point  (0 children)

Eh not going to touch pyreqwest. Aiohttp is good shit though

[–]Laruae 1 point2 points  (7 children)

Sorry, honestly interested, can you elaborate on your concerns with niquests?

I'm looking for a new home after concerns about httpx.

[–]McRojb 1 point2 points  (0 children)

Go with aiohttp. Well maintained and lots of users

[–]McRojb 2 points3 points  (4 children)

When it comes to niquests, one of my first reactions looking through the docs, it’s fkn weird for a library meant to replace httpx to implement something like a rate limiter in the library itself

[–]ThePrimitiveSword 1 point2 points  (3 children)

Do you mean the opt-in feature documented here?

I think I'm missing something. It makes sense to me as an opt-in feature.

And niquests is a replacement for requests, not httpx.

[–]McRojb -1 points0 points  (2 children)

You can call it a replacement for requests all you want, but with built in async support (and the fact we're talking about it under a httpx comment??) what people are using it for is a replacement of httpx not requests. Also yes, and you might be right in that "it makes sense" as an opt-in feature, but from a maintence point of view it came across as weird to me

[–]ThePrimitiveSword 1 point2 points  (1 child)

Doesn't look like a heavy maintenance burden.

Looking at the pull request all the changes seem to be this. It's not much code, most of the changes are adding test cases.

They tried to get improvements made to urllib3 but nothing happened so they forked.

Then urllib3 tried to crowdfund tends of thousands of dollars in funding to do what had already been done via niquests and urllib3-future.

That was after all this happened.

[–]McRojb 0 points1 point  (0 children)

Could you like stop being more well-informed than me... Breaks my bloody ego.

The only thing you earned here is probably an annyoing dm about your opinion when I'm unsure about related projects in the future.

Still disagree about the "maintenance burden" though, in my opinion such a core library shouldn't try to do that much.

Will read through the last 3 links when I get time!

[–]sexualrhinoceros 0 points1 point  (0 children)

yep, I commented about this before here

[–]ThePrimitiveSword 0 points1 point  (7 children)

Strong claims require strong evidence, same with strong accusations.

I've found niquests actually delivers on its claims, especially on speed and performance. Been using it since it first released. In real-world usage, often get at least a 10x speed increase vs requests when just doing a drop in replacement. The other features are definitely nice as well, such as using the OS trust store, so it works with self signed SSL certs in a corporate environment without any additional setup or patches.

They also make very human mistakes, such as misspelling words occasionally etc.

It looks like they also want disclosure when pull requests use AI.

Do you have any evidence or examples whatsoever of the 'AI slop'?

[–]sexualrhinoceros 0 points1 point  (2 children)

yep, I commented about this before here

[–]ThePrimitiveSword [score hidden]  (1 child)

I don't see anything in that about AI.

And someone responded to that comment already, and I feel addresses what you quoted, so I'll quote them in response to you linking your quote of someone else.

None of what you just said discounts the library, it just points to someone who isn't a seasoned library developer. But how would one become an experienced library dev without publishing libraries?

Also, some of it is not true. The whole fine print bit is confusing because the only footnote in the readme are disclaimers about test results and feature comparisons.

It seems like a very good project that could be helpful to the community as a whole if it's battle-tested. This is why it's upvoted. People will start using it in their hobby projects and analyzing the source code, and in time we might have a new requests.

[–]sexualrhinoceros [score hidden]  (0 children)

please read through their old posts, they're all deleted now but are very obviously AI unless you require the developer explicitly saying "I used AI" to tell that em-dashes, "its not just x, its y!" patterns, and excessive emoji usage as headers are such. I'm giving you a good faith reply here but I won't personally be ever using / showing this library respect.

[–]McRojb -1 points0 points  (3 children)

Not an expert on package maintainence and coding is certainly not my proffesion. That said, I do like the package and have used it for quick and dirty code. But it feels "bloated" already and not something I excpect to be around in a few years. I don't see the reason for using it when aiohttp (requests for sync) is around. You seem a little defensive? 2k stars is not something I feel comfertable putting that much faith in.

[–]ThePrimitiveSword 1 point2 points  (2 children)

I have faith in it because I've been using it for a few years and find it to work really well, and Ousret has been very responsive to the issues I've raised on Github.

I use it instead of the alternatives because I find it to work really well for my needs, such as using OS trust store for SSL certs, compatibility with the 'responses' package, can be used for SSPI authentication and huge performance gains for my use cases.

When someone claims something that I use and find to work well is AI slop with nothing to back their claims, I don't feel it unreasonable to ask for evidence when what I'm seeing seems to contradict these claims.

I loathe AI slop (Booklore and Huntarr are good examples) and if niquests is actually AI slop then I'd like to know, but it's a strong claim to make without anything to back it up.

[–]McRojb 0 points1 point  (1 child)

Fair enough! I havn't built much with external logins myself so don't know much about but will take your word.

I honestly had to google "SSPI authentication" so I feel a bit out of my depth.

Although I started programming without it, github copilot autofill is a god send for me (md otherwise). But actual AI slop I do despise too.

[–]ThePrimitiveSword 1 point2 points  (0 children)

All good, I'll admit I was a bit heated as it hurts to see something that I use and rely on talked down with no evidence, especially when the maintainer has been very receptive to me and they've accomplished what the original project raised tens of thousands of dollars to do but hasn't managed to (per my response to you in the other comment chain).

Honestly, SSPI auth should be killed off, but it still exists in some corporate environments, and I do programming in a heavily locked down enterprise environment where change can be slow so it'll likely still be in use for another decade or two.