You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2020. It is now read-only.
The XMLRPC interface for PyPI is considered legacy and should not be used.
Use the Simple and JSON APIs.
But how can you use json API to browse packages? Is the json API documented somewhere? This is the only thing I could find, for detail endpoint, it seems only useful if you already know the package name.
With xmlrpc interface I could browse categories like this:
import xmlrpc.client as xmlrpclib
pypi = xmlrpclib.ServerProxy('https://pypi.python.org/pypi')
packages = pypi.browse([
"Programming Language :: Python :: 3.7",
"Framework :: Django :: 2.0",
])
for pkg,_ in packages:
print(pkg)
@wimglenn Specifically I think you'd like to take a look at and subscribe to notifications for pypi/warehouse#2913 . Sorry for the delay in addressing this issue!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
From https://wiki.python.org/moin/PyPIXmlRpc:
But how can you use json API to browse packages? Is the json API documented somewhere? This is the only thing I could find, for detail endpoint, it seems only useful if you already know the package name.
With xmlrpc interface I could browse categories like this:
In the web UI, could find the same thing here:
https://pypi.python.org/pypi?:action=browse&c=640&c=645
But there are still issues:
The text was updated successfully, but these errors were encountered: