Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch data for all PyPI packages #41

Merged
merged 3 commits into from
Nov 30, 2024
Merged

Fetch data for all PyPI packages #41

merged 3 commits into from
Nov 30, 2024

Conversation

hugovk
Copy link
Owner

@hugovk hugovk commented Nov 30, 2024

Fixes #36.

It costs the same to get download data for all ~589,368 packages on PyPI as for 8,000 or for 5,000 or for 1 package!

https://dev.to/hugovk/a-surprising-thing-about-pypis-bigquery-data-2g9o

So let's fetch data for them all!

The JSON for all packages is 31 MB and CSV is 12 MB, so let's zip those to 5.2 MB and 4.4 MB.

Let's still provide uncompressed JSON and CSV for 8,000 packages.

@hugovk hugovk force-pushed the data-for-all-packages branch from 57ccc07 to fb4315a Compare November 30, 2024 22:41
@hugovk hugovk force-pushed the data-for-all-packages branch from 654efe2 to e571c49 Compare November 30, 2024 22:55
generate.sh Outdated Show resolved Hide resolved
@hugovk hugovk merged commit 5f5b482 into main Nov 30, 2024
3 checks passed
@hugovk hugovk deleted the data-for-all-packages branch November 30, 2024 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Data missing due to exceeding quota
1 participant