Datasets:
PyPI Download Statistics Dataset
This dataset contains download statistics for Python packages from PyPI (Python Package Index). The data is collected from pypistats and includes recent download counts for packages, providing insights into package popularity and usage trends.
Dataset Overview
- Total packages: 735,693
- Packages with data: 735,693 (100.0%)
- Non-empty packages: 638,374 (86.8%)
Schema
| Column | Type | Description |
|---|---|---|
| name | string | Package name on PyPI |
| url | string | PyPI package URL |
| last_day | integer | Downloads in the last day |
| last_week | integer | Downloads in the last week |
| last_month | integer | Downloads in the last month |
| status | string | Whether the package has no download data (null, empty, valid) |
| updated_at | float | Unix timestamp of last update |
Download Distribution Analysis
The following charts show the distribution of download statistics across all PyPI packages. As expected, the data exhibits a long-tail distribution where a small number of packages receive the majority of downloads.
Distribution Overview
Top row: Histogram showing the distribution of downloads on a logarithmic scale. The red dashed lines indicate key percentiles (P50, P90, P95, P99).
Bottom row: Cumulative distribution showing what percentage of packages have downloads below a given threshold.
Top Packages Comparison
Comparison of daily, weekly, and monthly download volumes for the top 20 most downloaded packages.
Sample Data
First 20 packages:
| name | last_day | last_week | last_month | status |
|---|---|---|---|---|
| 0 | 559 | 1881 | 8323 | valid |
| 0-core-client | 13 | 85 | 437 | valid |
| 0-liuxiaojing | 4 | 30 | 138 | valid |
| 0-orchestrator | 13 | 67 | 402 | valid |
| 0.0.1 | 11 | 120 | 522 | valid |
| 0.618 | 2 | 13 | 101 | valid |
| 0.67.0 | 3 | 29 | 161 | valid |
| 00-merlin-hu-mcpdemo-pipy | 4 | 29 | 216 | valid |
| 000 | 4 | 30 | 173 | valid |
| 00print_lol | 1 | 25 | 157 | valid |
| 01-cuda-pybind11 | 1 | 16 | 103 | valid |
| 01-distributions | 1 | 21 | 119 | valid |
| 0101 | 2 | 22 | 126 | valid |
| 01d61084-d29e-11e9-96d1-7c5cf84ffe8e | 3 | 39 | 173 | valid |
| 01memories | 7 | 41 | 344 | valid |
| 021 | 2 | 20 | 98 | valid |
| 024travis-test024 | 3 | 21 | 112 | valid |
| 02exercicio | 3 | 15 | 92 | valid |
| 0411-test | 4 | 21 | 121 | valid |
| 0706xiaoye | 5 | 21 | 115 | valid |
Top 20 Packages by Monthly Downloads
| name | last_day | last_week | last_month |
|---|---|---|---|
| boto3 | 6.41365e+07 | 3.56219e+08 | 1.4884e+09 |
| urllib3 | 4.46781e+07 | 2.72834e+08 | 1.1329e+09 |
| botocore | 4.49285e+07 | 2.51985e+08 | 1.03244e+09 |
| certifi | 4.05429e+07 | 2.38405e+08 | 9.94583e+08 |
| typing-extensions | 3.93146e+07 | 2.35327e+08 | 9.94052e+08 |
| requests | 3.81251e+07 | 2.32153e+08 | 9.74678e+08 |
| packaging | 4.51401e+07 | 2.88865e+08 | 9.63329e+08 |
| idna | 3.66475e+07 | 2.22603e+08 | 9.27816e+08 |
| setuptools | 4.2007e+07 | 2.62177e+08 | 9.18951e+08 |
| charset-normalizer | 3.74445e+07 | 2.1643e+08 | 9.08108e+08 |
| aiobotocore | 3.35049e+07 | 2.35256e+08 | 8.80728e+08 |
| python-dateutil | 2.91604e+07 | 1.78837e+08 | 7.55214e+08 |
| grpcio-status | 2.59746e+07 | 1.63663e+08 | 7.12831e+08 |
| six | 2.81706e+07 | 1.70147e+08 | 7.10148e+08 |
| numpy | 2.48227e+07 | 1.55078e+08 | 6.38697e+08 |
| s3transfer | 2.48077e+07 | 1.54827e+08 | 6.26878e+08 |
| cryptography | 2.78228e+07 | 1.49483e+08 | 5.81671e+08 |
| cffi | 2.68959e+07 | 1.43118e+08 | 5.52803e+08 |
| s3fs | 1.67773e+07 | 1.26415e+08 | 5.43146e+08 |
| pydantic | 2.35966e+07 | 1.34382e+08 | 5.37923e+08 |
Download Statistics
Monthly Downloads
- Total: 91,474,729,108.0
- Average: 143293
- Median: 43
- Max: 1,488,397,305.0
Weekly Downloads
- Total: 22,261,272,890.0
- Average: 34872
- Median: 3
- Max: 356,218,627.0
Daily Downloads
- Total: 3,752,181,126.0
- Average: 5878
- Median: 0
- Max: 64,136,489.0
- Downloads last month
- 657

