Python Forum
PyPI XMLRPC Search Disabled
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PyPI XMLRPC Search Disabled
#1
it's been a while since they made this decision. are they working on a way to do this more efficiently than XMLRPC ?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#2
Skaperen Wrote:are they working on a way to do this more efficiently than XMLRPC ?
More like change to a more normal way to do an API PyPi JSON API
Can do a quick test with Requests.
import requests

url = 'https://pypi.org/pypi/loguru/json'
response = requests.get(url)
pack_json = response.json()
Test.
>>> pack_json['info']['home_page']
'https://github.com/Delgan/loguru'
>>> pack_json['info']['summary']
'Python logging made (stupidly) simple'
Reply
#3
i upgraded pip and i still get that. pip still uses XMLRPC ?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#4
They have shut down PyPI XMLRPC Search Disabled.
So this affect pip search,which still use XMLRPC probably will be removed or maybe updated.

There is pip-search that fix it and give colorful better output than pip search(which i never used and output didn't look good).
Using the cool Rich library.
Quote:a Python library for rich text and beautiful formatting in the terminal.
Reply
#5
(Jul-09-2021, 09:40 AM)snippsat Wrote: They have shut down PyPI XMLRPC Search Disabled.

right. i am aware of that. and pip still uses XMLRPC. maybe it should just run pip-search and tell you how to install it if it is not there. or just not use XMLRPC.

i just tried to install it. i got a dependency conflict. awscli wants colorama<=0.3.9 but pip-search wants colorama>=0.4.4. i guess they changed the API. no surprise with major version 0. i might set up a container for it.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020