Jul-08-2021, 10:43 PM
Jul-08-2021, 11:31 PM
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'
Jul-09-2021, 12:28 AM
i upgraded pip and i still get that. pip still uses XMLRPC ?
Jul-09-2021, 09:40 AM
They have shut down PyPI XMLRPC Search Disabled.
So this affect
There is pip-search that fix it and give colorful better output than
Using the cool Rich library.
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.
Jul-10-2021, 12:02 AM
(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.