Upload folder using huggingface_hub
Browse files- README.md +156 -0
- packages_data/with_downloads-000000000000.parquet +3 -0
- packages_data/with_downloads-000000000001.parquet +3 -0
- packages_data/with_downloads-000000000002.parquet +3 -0
- packages_data/with_downloads-000000000003.parquet +3 -0
- packages_data/with_downloads-000000000004.parquet +3 -0
- packages_data/with_downloads-000000000005.parquet +3 -0
- packages_data/with_downloads-000000000006.parquet +3 -0
- packages_data/with_downloads-000000000007.parquet +3 -0
- packages_data/with_downloads-000000000008.parquet +3 -0
- packages_data/with_downloads-000000000009.parquet +3 -0
- packages_data/with_downloads-000000000010.parquet +3 -0
- packages_data/with_downloads-000000000011.parquet +3 -0
- packages_data/with_downloads-000000000012.parquet +3 -0
- packages_data/with_downloads-000000000013.parquet +3 -0
- packages_data/with_downloads-000000000014.parquet +3 -0
README.md
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
size_categories:
|
| 6 |
+
- 100K<n<1M
|
| 7 |
+
task_categories:
|
| 8 |
+
- tabular-classification
|
| 9 |
+
- text-classification
|
| 10 |
+
tags:
|
| 11 |
+
- pypi
|
| 12 |
+
- python
|
| 13 |
+
- software-engineering
|
| 14 |
+
- metadata
|
| 15 |
+
- package-registry
|
| 16 |
+
- downloads
|
| 17 |
+
pretty_name: PyPI Download and Package Analysis
|
| 18 |
+
configs:
|
| 19 |
+
- config_name: default
|
| 20 |
+
data_files:
|
| 21 |
+
- split: train
|
| 22 |
+
path: packages_data/*.parquet
|
| 23 |
+
dataset_info:
|
| 24 |
+
features:
|
| 25 |
+
- name: metadata_version
|
| 26 |
+
dtype: string
|
| 27 |
+
- name: name
|
| 28 |
+
dtype: string
|
| 29 |
+
- name: version
|
| 30 |
+
dtype: string
|
| 31 |
+
- name: summary
|
| 32 |
+
dtype: string
|
| 33 |
+
- name: description
|
| 34 |
+
dtype: string
|
| 35 |
+
- name: description_content_type
|
| 36 |
+
dtype: string
|
| 37 |
+
- name: author
|
| 38 |
+
dtype: string
|
| 39 |
+
- name: author_email
|
| 40 |
+
dtype: string
|
| 41 |
+
- name: maintainer
|
| 42 |
+
dtype: string
|
| 43 |
+
- name: maintainer_email
|
| 44 |
+
dtype: string
|
| 45 |
+
- name: license
|
| 46 |
+
dtype: string
|
| 47 |
+
- name: keywords
|
| 48 |
+
dtype: string
|
| 49 |
+
- name: classifiers
|
| 50 |
+
dtype: list
|
| 51 |
+
sub_dtype: string
|
| 52 |
+
- name: platform
|
| 53 |
+
dtype: list
|
| 54 |
+
sub_dtype: string
|
| 55 |
+
- name: home_page
|
| 56 |
+
dtype: string
|
| 57 |
+
- name: download_url
|
| 58 |
+
dtype: string
|
| 59 |
+
- name: requires_python
|
| 60 |
+
dtype: string
|
| 61 |
+
- name: requires
|
| 62 |
+
dtype: list
|
| 63 |
+
sub_dtype: string
|
| 64 |
+
- name: project_urls
|
| 65 |
+
dtype: list
|
| 66 |
+
sub_dtype: string
|
| 67 |
+
- name: upload_time
|
| 68 |
+
dtype: timestamp[us]
|
| 69 |
+
- name: size
|
| 70 |
+
dtype: int64
|
| 71 |
+
- name: packagetype
|
| 72 |
+
dtype: string
|
| 73 |
+
- name: recent_7d_downloads
|
| 74 |
+
dtype: int64
|
| 75 |
+
---
|
| 76 |
+
|
| 77 |
+
# PyPI Download and Package Analysis
|
| 78 |
+
|
| 79 |
+
A comprehensive snapshot of the Python Package Index (PyPI), covering **690,775 packages** published from April 2005 through February 2026. Each row represents a published package release, enriched with full metadata from the PyPI API and recent download statistics from the PyPI BigQuery public dataset.
|
| 80 |
+
|
| 81 |
+
## Dataset at a Glance
|
| 82 |
+
|
| 83 |
+
| Stat | Value |
|
| 84 |
+
|---|---|
|
| 85 |
+
| Total packages | 690,775 |
|
| 86 |
+
| Date range | April 2005 – February 2026 |
|
| 87 |
+
| Total 7-day downloads | ~13.3 Billion |
|
| 88 |
+
| Format | Parquet (15 shards) |
|
| 89 |
+
| License | Apache-2.0 |
|
| 90 |
+
|
| 91 |
+
## Data Fields
|
| 92 |
+
|
| 93 |
+
| Field | Type | Description |
|
| 94 |
+
|---|---|---|
|
| 95 |
+
| `name` | string | Package name on PyPI (unique identifier) |
|
| 96 |
+
| `version` | string | Release version string (PEP 440) |
|
| 97 |
+
| `summary` | string | One-line description of the package |
|
| 98 |
+
| `description` | string | Full project description / README text |
|
| 99 |
+
| `description_content_type` | string | MIME type of the description (e.g. `text/markdown`) |
|
| 100 |
+
| `author` | string | Primary author name |
|
| 101 |
+
| `author_email` | string | Primary author email |
|
| 102 |
+
| `maintainer` | string | Maintainer name (if different from author) |
|
| 103 |
+
| `maintainer_email` | string | Maintainer email |
|
| 104 |
+
| `license` | string | License string as declared by the author |
|
| 105 |
+
| `keywords` | string | Space- or comma-separated keywords |
|
| 106 |
+
| `classifiers` | list[string] | PyPI trove classifiers (e.g. `Programming Language :: Python :: 3`) |
|
| 107 |
+
| `platform` | list[string] | Target platforms declared by the author |
|
| 108 |
+
| `home_page` | string | Project homepage URL |
|
| 109 |
+
| `download_url` | string | Direct download URL (if provided) |
|
| 110 |
+
| `requires_python` | string | Python version constraint (e.g. `>=3.8`) |
|
| 111 |
+
| `requires` | list[string] | Runtime dependencies |
|
| 112 |
+
| `project_urls` | list[string] | Additional URLs (source, docs, tracker, etc.) |
|
| 113 |
+
| `upload_time` | timestamp | UTC timestamp of when this release was uploaded |
|
| 114 |
+
| `size` | int64 | Size of the distribution file in bytes |
|
| 115 |
+
| `packagetype` | string | Distribution type: `sdist`, `bdist_wheel`, etc. |
|
| 116 |
+
| `metadata_version` | string | Metadata specification version |
|
| 117 |
+
| `recent_7d_downloads` | int64 | Total downloads in the most recent 7-day window |
|
| 118 |
+
|
| 119 |
+
## Usage
|
| 120 |
+
|
| 121 |
+
```python
|
| 122 |
+
from datasets import load_dataset
|
| 123 |
+
|
| 124 |
+
ds = load_dataset("semvec/pypi-packages")
|
| 125 |
+
df = ds["train"].to_pandas()
|
| 126 |
+
|
| 127 |
+
# Top 10 most downloaded packages
|
| 128 |
+
df.sort_values("recent_7d_downloads", ascending=False).head(10)[["name", "summary", "recent_7d_downloads"]]
|
| 129 |
+
```
|
| 130 |
+
|
| 131 |
+
## Example Use Cases
|
| 132 |
+
|
| 133 |
+
- **Trend Analysis** — Track adoption of ecosystems (AI/ML, web frameworks, DevOps tooling) by filtering classifiers and plotting `upload_time` vs. cumulative package count.
|
| 134 |
+
- **Package Classification / NLP** — Use `summary` and `description` to train text classifiers or summarization models that categorize packages by domain.
|
| 135 |
+
- **Dependency Graph Research** — Parse `requires` to construct a directed dependency graph of the entire Python ecosystem.
|
| 136 |
+
- **Popularity Modeling** — Predict `recent_7d_downloads` from metadata features like `requires_python`, `classifiers`, description length, and age.
|
| 137 |
+
- **License Compliance** — Audit license diversity across the ecosystem and identify packages with missing or ambiguous license declarations.
|
| 138 |
+
- **Author & Maintainer Analysis** — Study open-source contribution patterns, prolific authors, and package maintainer turnover over time.
|
| 139 |
+
|
| 140 |
+
## Data Collection
|
| 141 |
+
|
| 142 |
+
Metadata was fetched from the [PyPI JSON API](https://pypi.org/pypi/{package}/json) for every package listed in the PyPI simple index. Download counts were sourced from the [PyPI public BigQuery dataset](https://console.cloud.google.com/bigquery?p=bigquery-public-data&d=pypi&page=dataset) (`bigquery-public-data.pypi.file_downloads`), aggregated over the 7 days preceding the collection date (February 2026).
|
| 143 |
+
|
| 144 |
+
## Citation
|
| 145 |
+
|
| 146 |
+
If you use this dataset in your research, please cite it as:
|
| 147 |
+
|
| 148 |
+
```
|
| 149 |
+
@dataset{pypi_packages_2026,
|
| 150 |
+
title = {PyPI Download and Package Analysis},
|
| 151 |
+
author = {semvec},
|
| 152 |
+
year = {2026},
|
| 153 |
+
url = {https://huggingface.co/datasets/semvec/pypi-packages},
|
| 154 |
+
license = {Apache-2.0}
|
| 155 |
+
}
|
| 156 |
+
```
|
packages_data/with_downloads-000000000000.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ddd0efc37bcdd713d2fcfa1343641fc4c5a532f895f998226aaf3fb8213591a
|
| 3 |
+
size 74131986
|
packages_data/with_downloads-000000000001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a7cfb342b62c91c21d0d7cba958ff20229a2b64bda9838a1391737cb73530b8b
|
| 3 |
+
size 66462932
|
packages_data/with_downloads-000000000002.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ca3dab61c737c15f7e3686ed3daca5edd17f8309cd16234bd6c78cc5bbf35a7f
|
| 3 |
+
size 79495383
|
packages_data/with_downloads-000000000003.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0761b6107b3569a8677a172b8b42332b81540f8ce6b5ee4b330c09387576a22c
|
| 3 |
+
size 73840483
|
packages_data/with_downloads-000000000004.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:916015e503c7168799f1d9acb56ad1953cc4c13b9d18b9e0c9d6ae1e5ca27568
|
| 3 |
+
size 55062998
|
packages_data/with_downloads-000000000005.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c04171b2c76fc40d6c07ca0b41e489073083834228077001479dcf849fc16dc
|
| 3 |
+
size 69580718
|
packages_data/with_downloads-000000000006.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:41b640b95ac86fc1ee7da81aa1d7562a8837ccf7712862552f067361691e978a
|
| 3 |
+
size 72709322
|
packages_data/with_downloads-000000000007.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8fe188918c32e1ddd75a79b226d0134a1adb3ca64ae68406c92eefafcf2739a
|
| 3 |
+
size 72109309
|
packages_data/with_downloads-000000000008.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7acdacaabd26e5793a5f8cf06b864c67aadf2ac4ff7cc376c1fd099183ba3048
|
| 3 |
+
size 67628986
|
packages_data/with_downloads-000000000009.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:647448a0055c9f101941c8e9f49f77bf0acc3d808c53cdb2728361c935759b46
|
| 3 |
+
size 68140802
|
packages_data/with_downloads-000000000010.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:57c6ec19e773bbd3cb2e3ff8f865b0695c23583fb32142fc634e8e2f5ddc7384
|
| 3 |
+
size 49370953
|
packages_data/with_downloads-000000000011.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:81b7e3275769b155af461031fc005bdcd9a45551496eff0defdde36fe641ac16
|
| 3 |
+
size 66771121
|
packages_data/with_downloads-000000000012.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:530dc81b83ab4c0b48e54473c1ea93c438b3f139e8375ef92242e5167022d42c
|
| 3 |
+
size 50483416
|
packages_data/with_downloads-000000000013.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ef9dcca6777269d5f8c071fb985f41a4bb3bfa7e134911901001fe80a0e2061
|
| 3 |
+
size 78436570
|
packages_data/with_downloads-000000000014.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22f80a7bc89a4550835cd7c06983a929991cc43a868a8268658db8bc7a292bbb
|
| 3 |
+
size 78131516
|