JSON API for PyPi - how to list packages?

前端 未结 4 2157
后悔当初
后悔当初 2020-12-15 18:33

There is a JSON API for PyPI which allows getting data for packages:

http://pypi.python.org/pypi//json
http://pypi.python.org/pypi/

        
4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-15 19:07

    The easiest way to do this is to use the simple index at PyPI which lists all packages without overhead. You can then request the JSON of each package individually by performing a GET request to the URLs mentioned in your question.

提交回复
热议问题