Harvey Harvey - 10 months ago 43
Python Question

How do I download the entire pypi Python Package Index

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 have too restrictive license types. I've looked online and through the user's guide, but if the answer is there, it eludes me.


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


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