Skip to content

Instantly share code, notes, and snippets.

@thibaudcolas
Last active July 25, 2025 15:23
Show Gist options
  • Save thibaudcolas/ddc585306f6e410d36796f49b60a44b3 to your computer and use it in GitHub Desktop.
Save thibaudcolas/ddc585306f6e410d36796f49b60a44b3 to your computer and use it in GitHub Desktop.
Package ecosystem statistics - Django

Package ecosystem statistics - Django

For more examples see timeline-of-django and 20,000 Django packages.

Source queries

Analysis queries

In DuckDB:

create table all_pkg as select * from './all_pkg.parquet.zst';
copy(select name, downloads_30d, number_of_releases, markdown from all_pkg where latest_release_upload_time >= NOW() - INTERVAL '1 years' order by latest_release_upload_time desc) to './released_1_year.csv';
copy(select name, downloads_30d, number_of_releases, markdown from all_pkg where latest_release_upload_time >= NOW() - INTERVAL '3 years' order by latest_release_upload_time desc) to './released_3_year.csv';
copy(select name, downloads_30d, number_of_releases, markdown from all_pkg where latest_release_upload_time >= CAST('2025-01-16T09:15:08.000Z' AS TIMESTAMP) order by latest_release_upload_time desc) to './released_since_5_2.csv';
This file has been truncated, but you can view the full file.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment