Harvey Harvey - 1 month ago 4x
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).