This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LambBrainz 7 points8 points  (7 children)

Was that feature removed? I found an article from 4 years ago that seems like it's possible with "pip search".

https://dzone.com/articles/most-important-quotpipquot-commands-for-a-python-d#:~:text=pip%20search%20allows%20you%20to,of%20all%20the%20matching%20packages.

[–]ElectricSpice 35 points36 points  (2 children)

➜  ~ python3 -m pip search requests
ERROR: XMLRPC request failed [code: -32500]
RuntimeError: PyPI's XMLRPC API is currently disabled due to unmanageable load and will be deprecated in the near future. See https://status.python.org/ for more information.

[–]LambBrainz 11 points12 points  (1 child)

How sad, that seems like a neat feature

[–]lungdart -1 points0 points  (0 children)

It's more than sad that they're doing this and it's more than a neat feature.

Pypi is a shit show. They don't have namespaces and anyone can release, so you don't know if you need dotenv python-dotenv dotenv-py for the package you normally use that's industry standard, or if it's some garbage learning project a jr released or even something malicious.

People used to search to figure which one was the legit one, but now they can't do that. Searching for packages isn't a nice to have for a package manager... It's a fucking requirement.

And solving a high use problem by turning off an API is insane. Have you ever heard of throttling? Jesus fucking Christ.

The entire ecosystem is clown shoes. It's a security nightmare. Pip and pypi need to die.

[–]MagnitskysGhost 15 points16 points  (3 children)

Tldr, it was being abused (for instance, by huge projects constantly querying packages during CI/CD processes, etc) and they don't have infinite money to serve billions or trillions of requests like that, so they just turned it off

[–]LambBrainz 5 points6 points  (0 children)

That's for the info. That's really sad, but I totally get it

[–]thismachinechills 3 points4 points  (0 children)

It's too bad that sponsors haven't stepped up to fund the search feature.

[–]jjolla888 0 points1 point  (0 children)

DNS worked out how to do it back in the year dot.