How do I download the entire pypi Python Package Index

后端 未结 1 1953
小蘑菇
小蘑菇 2021-01-13 17:13

I\'m trying to find a way to download the entire PyPi index - and only the index - no code files. I\'m wanting to analyze license types to be able to rule out libraries that

相关标签:
1条回答
  • 2021-01-13 17:49

    Well, you can use PyPi's Simple Index to get a simple list of packages without overhead. And then send a GET request to

    https://pypi.python.org/pypi/<package-name>/json
    

    This will return a JSON response containing all the metadata information regarding the package (including the license).

    0 讨论(0)
提交回复
热议问题