The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
id: string
title: string
code_file: string
language: string
kernel_type: string
is_private: bool
enable_gpu: bool
enable_tpu: bool
enable_internet: bool
dataset_sources: list<item: string>
child 0, item: string
keywords: list<item: string>
child 0, item: string
description: string
licenses: list<item: struct<name: string>>
child 0, item: struct<name: string>
child 0, name: string
isPrivate: bool
resources: list<item: struct<path: string, description: string, schema: struct<fields: list<item: struct<name: (... 46 chars omitted)
child 0, item: struct<path: string, description: string, schema: struct<fields: list<item: struct<name: string, typ (... 34 chars omitted)
child 0, path: string
child 1, description: string
child 2, schema: struct<fields: list<item: struct<name: string, type: string, description: string>>>
child 0, fields: list<item: struct<name: string, type: string, description: string>>
child 0, item: struct<name: string, type: string, description: string>
child 0, name: string
child 1, type: string
child 2, description: string
subtitle: string
to
{'title': Value('string'), 'id': Value('string'), 'subtitle': Value('string'), 'description': Value('string'), 'isPrivate': Value('bool'), 'licenses': List({'name': Value('string')}), 'keywords': List(Value('string')), 'resources': List({'path': Value('string'), 'description': Value('string'), 'schema': {'fields': List({'name': Value('string'), 'type': Value('string'), 'description': Value('string')})}})}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 274, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 544, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3074, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2578, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2603, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 577, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 373, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
id: string
title: string
code_file: string
language: string
kernel_type: string
is_private: bool
enable_gpu: bool
enable_tpu: bool
enable_internet: bool
dataset_sources: list<item: string>
child 0, item: string
keywords: list<item: string>
child 0, item: string
description: string
licenses: list<item: struct<name: string>>
child 0, item: struct<name: string>
child 0, name: string
isPrivate: bool
resources: list<item: struct<path: string, description: string, schema: struct<fields: list<item: struct<name: (... 46 chars omitted)
child 0, item: struct<path: string, description: string, schema: struct<fields: list<item: struct<name: string, typ (... 34 chars omitted)
child 0, path: string
child 1, description: string
child 2, schema: struct<fields: list<item: struct<name: string, type: string, description: string>>>
child 0, fields: list<item: struct<name: string, type: string, description: string>>
child 0, item: struct<name: string, type: string, description: string>
child 0, name: string
child 1, type: string
child 2, description: string
subtitle: string
to
{'title': Value('string'), 'id': Value('string'), 'subtitle': Value('string'), 'description': Value('string'), 'isPrivate': Value('bool'), 'licenses': List({'name': Value('string')}), 'keywords': List(Value('string')), 'resources': List({'path': Value('string'), 'description': Value('string'), 'schema': {'fields': List({'name': Value('string'), 'type': Value('string'), 'description': Value('string')})}})}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
YAML Metadata Warning:The task_categories "tabular" is not in the official list: text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, feature-extraction, text-generation, fill-mask, sentence-similarity, text-to-speech, text-to-audio, automatic-speech-recognition, audio-to-audio, audio-classification, audio-text-to-text, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, image-to-video, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-ranking, text-retrieval, time-series-forecasting, text-to-video, image-text-to-text, image-text-to-image, image-text-to-video, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, mask-generation, zero-shot-object-detection, text-to-3d, image-to-3d, image-feature-extraction, video-text-to-text, keypoint-detection, visual-document-retrieval, any-to-any, video-to-video, other
Python Package Ecosystem
Subtitle: 4,999 top PyPI packages with downloads, licenses, dependencies & releases
Tags: python, software, open-source, tabular
Dataset File: pypi_packages.csv (23,010 rows, 47 columns, 3.4 MB)
Provenance & Source: PyPI JSON API & BigQuery PyPI Public Dataset
Expected Update Frequency: annually
π Description
The Python package ecosystem, ranked by real downloads
PyPI serves millions of package downloads a day and publishes the numbers. This dataset combines the top 4,999 projects by 30-day downloads with each project's full PyPI metadata.
Per package you get 47 parameters:
- Reach β download rank and count for the last 30 days, share of the ecosystem's downloads, download concentration implied by the ranks.
- Identity β name, summary, author, canonical URL, home page, project URLs (docs / source / changelog), keywords.
- Licensing β raw licence string plus a normalised class (MIT, Apache, GPL, BSD, MPL, LGPL, public domain, Creative Commons, other, unknown).
- Compatibility β
requires_python, supported Python versions from classifiers, Python-3-only flag, wheel and sdist availability, file sizes, yanked files. - Dependencies β runtime dependency count (extras excluded), extras entries, a has-dependencies flag.
- Release history β version count, first and latest release dates, total and yanked file counts, age, days since last release, releases per year, cadence and maturity bands.
- Packaging hygiene β classifier and topic counts, development status, project-URL completeness, pre-release flag.
The top 10 projects alone account for 11.1% of all downloads in the file, which makes download concentration, release cadence and dependency counts directly comparable.
π§Ύ Columns (47)
rank, project, monthly_downloads, download_share_pct, latest_version, summary, author, license, license_class, requires_python, home_page, project_url, package_url, keywords, development_status, classifier_count, topic_count, python_versions_supported, python_version_count, requires_dist_count, dependency_count, release_count, total_file_count, yanked_file_count, first_release, latest_release, latest_upload, latest_size_bytes, summary_length, has_wheel, has_sdist, has_homepage, has_docs_url, has_source_url, has_changelog, project_url_count, is_prerelease, python3_only, name_length, is_single_word, major_version, age_days, days_since_release, releases_per_year, release_cadence, maturity, has_dependencies
π‘ Ideas for using this data
- Download concentration β Lorenz curve and Gini of
monthly_downloads; the long tail is extreme. - Maintenance risk β find widely used packages with long
days_since_releaseor an inactive status. - Licence landscape β licence class by download volume; how much of the ecosystem is permissively licensed?
- Dependency weight β packages with the most runtime dependencies versus their download share.
- Release cadence β cadence band versus rank; do the most-downloaded packages ship more or less often?
- Packaging quality β wheels, sdists and project URLs as a quality score, then check whether quality predicts downloads.
- Python version adoption β
python_versions_supportedover the ecosystem; who still lists 3.6? - Name economics β name length and single-word names versus downloads (short names are scarce).
- Supply-chain graph starter β join
requires_dist_countwith per-package dependency lists fetched from PyPI for a network analysis.
π Files
| File | What it is |
|---|---|
pypi_packages.csv |
4,999 packages x 47 parameters. |
data_dictionary.csv |
Column / type / description for every field. |
notebook.ipynb |
Starter notebook: concentration, licences, cadence, dependencies. |
dataset-metadata.json |
Kaggle API metadata. |
about.md |
Plain-text About block. |
π·οΈ Tags
python, pypi, software, open-source, packages, programming, developer-tools, supply-chain, tabular, web-scraping
π Provenance
- Sources: (1) the top PyPI packages list maintained by Hugo van Kemenade
(
hugovk.dev/top-pypi-packages/), a 30-day rolling download ranking built from the official PyPI download logs; (2) the PyPI JSON API (https://pypi.org/pypi/<project>/json) for each project's metadata, classifiers, dependencies and release files. - Coverage: the 5,000 highest-ranked projects at snapshot time.
- Processing: list and per-package metadata were joined on project name; release dates and file
counts were derived from the
releases/urlsobjects; licences normalised into classes. - Derived columns: download share, licence class, version counts, dependency counts, age, days since release, releases per year, cadence and maturity bands, URL completeness flags.
- Snapshot date: 21 November 2026.
π Update frequency
Monthly. The download ranking is a rolling 30-day window; re-run scripts/25_pypi_ecosystem.py for a fresh snapshot.
β οΈ Caveats
- Download counts include CI, mirrors and bots, so they measure installs rather than users.
- The ranking covers only the top 5,000 projects; the long tail (hundreds of thousands of packages) is absent.
authorandsummaryare free text and inconsistently filled.licenseis often a full licence sentence or 'UNKNOWN'; uselicense_classfor grouping.- Release dates come from file upload timestamps, which can be re-uploads rather than original publication.
- Dependency counts use
requires_distand exclude environment markers beyond extras. - 5,000 API calls were made politely; a handful of packages may be missing if PyPI errored.
π Licence
Package metadata is published by PyPI and the respective authors; the download ranking is published by Hugo van Kemenade. Mixed open-source licences β check each package's license field.
π Column Definitions & File Header
| # | Column Name | Data Type | Description |
|---|---|---|---|
| 1 | rank |
number |
Rank in the 30-day download list (1 = most downloaded). |
| 2 | project |
string |
Package name on PyPI. |
| 3 | monthly_downloads |
number |
Downloads in the last 30 days (PyPI download statistics). |
| 4 | download_share_pct |
number |
Share of the total downloads of all packages in this file. |
| 5 | latest_version |
string |
Latest version on PyPI at snapshot time. |
| 6 | summary |
string |
One-line package description. |
| 7 | author |
string |
Author field as published. |
| 8 | license |
string |
Licence string or classifier as published. |
| 9 | license_class |
string |
Licence normalised into MIT, Apache, GPL, BSD, MPL, LGPL, Public domain, Creative Commons, Other, Unknown. |
| 10 | requires_python |
string |
PEP 440 Python version specifier. |
| 11 | home_page |
string |
Legacy home page URL. |
| 12 | project_url |
string |
Legacy project URL. |
| 13 | package_url |
string |
Canonical PyPI project URL. |
| 14 | keywords |
string |
Comma-separated keywords as published. |
| 15 | development_status |
string |
Development status from the trove classifiers. |
| 16 | classifier_count |
number |
Number of trove classifiers. |
| 17 | topic_count |
number |
Number of 'Topic ::' classifiers. |
| 18 | python_versions_supported |
string |
Python versions named in the classifiers (semicolon-joined). |
| 19 | python_version_count |
number |
Number of named Python versions. |
| 20 | requires_dist_count |
number |
Raw number of entries in requires_dist, including extras. |
| 21 | dependency_count |
number |
Number of runtime dependencies, excluding extras. |
| 22 | release_count |
number |
Number of uploaded versions. |
| 23 | total_file_count |
number |
Number of distribution files across all versions. |
| 24 | yanked_file_count |
number |
Number of yanked files. |
| 25 | first_release |
date |
Date of the earliest uploaded file (ISO). |
| 26 | latest_release |
date |
Date of the most recent uploaded file (ISO). |
| 27 | latest_upload |
date |
Upload date of the current version. |
| 28 | latest_size_bytes |
number |
Size of the largest distribution file for the current version. |
| 29 | summary_length |
number |
Characters in the summary. |
| 30 | has_wheel |
boolean |
true when a wheel is published for the current version. |
| 31 | has_sdist |
boolean |
true when a source distribution is published. |
| 32 | has_homepage |
boolean |
true when a home page is declared. |
| 33 | has_docs_url |
boolean |
true when a documentation URL appears in project_urls. |
| 34 | has_source_url |
boolean |
true when a source/repository URL appears in project_urls. |
| 35 | has_changelog |
boolean |
true when a changelog URL appears in project_urls. |
| 36 | project_url_count |
number |
Number of project URLs declared. |
| 37 | is_prerelease |
boolean |
true when the latest version looks like a pre-release. |
| 38 | python3_only |
boolean |
true when requires_python allows Python 3 but not Python 2. |
| 39 | name_length |
number |
Characters in the project name. |
| 40 | is_single_word |
boolean |
true when the name has no spaces. |
| 41 | major_version |
number |
Major component of the latest version. |
| 42 | age_days |
number |
Days between the first release and the snapshot date. |
| 43 | days_since_release |
number |
Days since the most recent release. |
| 44 | releases_per_year |
number |
Average number of releases per year since the first release. |
| 45 | release_cadence |
string |
Release cadence band: Dormant, Slow, Regular, Rapid, Very rapid. |
| 46 | maturity |
string |
Maturity band from major version and age. |
| 47 | has_dependencies |
boolean |
true when the package declares runtime dependencies. |
π Support & Community
If you find this dataset valuable for your research, portfolio, or machine learning projects, please give it an upvote (π) on Kaggle! Feedback, questions, and notebook submissions are warmly welcomed in the Discussions tab.
- Downloads last month
- 46