scikit-learn vs Keras: about 20 times the downloads

scikit-learn leads Keras in 7-day PyPI downloads and GitHub stars, with about 20 times the downloads. Keras grew faster from 7 days earlier, at +5.3%.

Side by side on PyPI downloads and GitHub stars, scikit-learn leads Keras on both measures. Over the last 7 days, scikit-learn had about 20 times as many downloads as Keras. It also has 3,851 more stars. Keras, however, grew its downloads slightly faster from 7 days earlier. The tool ahead in current scale is not the one that grew faster over the past week.

PyPI download scale and the past week

Comparison: Downloads, last 7 daysPyPI downloads for AI and developer toolsSource: pypistats.org · as of 2026-11-22
scikit-learn: 53.6Mscikit-learn53.6MKeras: 2.7MKeras2.7M
scikit-learn: 53.6Mscikit-learn53.6MKeras: 2.7MKeras2.7M
scikit-learn: 53.6Mscikit-learn53.6MKeras: 2.7MKeras2.7M
View as table
Comparison: Downloads, last 7 days
RankItemValue
1scikit-learn53.6M
2Keras2.7M

As of November 22, 2026, scikit-learn recorded 53.6M downloads over the last 7 days. That ranks No. 7 among all 59 tracked items. Keras recorded 2.7M downloads and ranks No. 31 overall. The gap between them is 50.9M downloads. Within the Machine Learning Frameworks category, scikit-learn ranks No. 1 and Keras ranks No. 6.

Compared with 7 days earlier, Keras grew +5.3% and scikit-learn grew +4.7%. The order flips when looking at the number of added downloads. scikit-learn gained +2.4M downloads, while Keras gained +135.5K. Keras has the higher growth rate, but scikit-learn added far more downloads.

Trend: Downloads, last 7 daysPyPI downloads for AI and developer tools, last 174 days, weeklySource: pypistats.org · as of 2026-11-22
020M40M60MJul2026SepNovscikit-learnKeras
010M20M30M40M50M60MJul2026AugSepOctNovscikit-learnKeras
010M20M30M40M50M60MJul2026AugSepOctNovscikit-learn 53.6MKeras 2.7M
View as table
Trend: Downloads, last 7 days
Datescikit-learnKeras
2026-11-2253.6M2.7M
2026-11-1551.2M2.5M
2026-11-0850.6M2.7M
2026-11-0148.3M3.3M
2026-10-2547.7M2.7M
2026-10-1850.8M2.7M
2026-10-1144.7M2.7M
2026-10-0444.1M2.8M
2026-09-2742.8M2.6M
2026-09-2043.7M2.6M
2026-09-1342.3M2.7M
2026-09-0642.8M3M
2026-08-3043M2.8M
2026-08-2357.7M4M
2026-08-1657.8M4M
2026-08-0955.5M4.4M
2026-08-0256.5M4.6M
2026-07-2652.4M4.5M
2026-07-1952.2M4.2M
2026-07-1250.4M4.3M
2026-07-0547.8M4.1M
2026-06-2849.6M4.2M
2026-06-2149.8M4.4M
2026-06-1451.7M4.6M
2026-06-0751.1M6.2M

Compared with 30 days earlier, scikit-learn is at +5.8% and Keras is at +0.4%. Over a month, scikit-learn’s growth is clearer, while Keras sits close to where it was a month ago. Measured against the first day of the series, the full 174-day change is +11.1% for scikit-learn and -51.9% for Keras. On that first day, scikit-learn recorded 48.3M downloads and Keras recorded 5.6M.

Partway through this period, downloads across all tracked items fell sharply at the same time. For that reason, the full-period change should not be read as a shift in either tool’s popularity. Keras shows a high 7-day growth rate but a low 30-day one. Its downloads rose over the past week without moving far above the level of a month ago. The data alone cannot explain why.

GitHub stars and forks

Comparison: StarsGitHub stars for AI and developer toolsSource: GitHub API · as of 2026-11-23
scikit-learn: 68,297scikit-learn68,297Keras: 64,446Keras64,446
scikit-learn: 68,297scikit-learn68,297Keras: 64,446Keras64,446
scikit-learn: 68,297scikit-learn68,297Keras: 64,446Keras64,446
View as table
Comparison: Stars
RankItemValue
1scikit-learn68,297
2Keras64,446

As of November 23, 2026, scikit-learn has 68,297 stars, which ranks No. 32 among all 132 items. Keras has 64,446 stars and ranks No. 34. Within the Machine Learning Frameworks category, scikit-learn ranks No. 5 and Keras ranks No. 6.

scikit-learn also leads in forks, with 27,687 forks against 19,806 for Keras. Stars are cumulative, so they do not show recent shifts in interest. Changes in stars are not included in this comparison.

Data and methodology

Downloads come from pypistats.org. Stars and forks come from the GitHub API. The as-of date is November 22, 2026 for PyPI downloads and November 23, 2026 for GitHub stars. The items are the AI and developer tools tracked by this site. They do not represent PyPI or GitHub as a whole.

PyPI downloads are daily download counts, excluding mirrors, summed over 7 days. Changes compare periods of equal length. On days when several packages were recorded as 0 at the same time, the values were treated as missing data. They were filled with the average of the same weekday in the weeks before and after. Values that dropped or jumped sharply within a day were flagged as anomalies and not used as a basis for commentary. Downloads include CI and automated installs, so they count installs, not users. The time series covers only the period pypistats provides. Partway through that period, downloads across the whole source fell at the same time. Comparisons spanning that point cannot be read as changes in popularity.

GitHub stars are cumulative values taken from each tool’s main repository metadata, collected once a day. Stars reflect accumulated interest, not usage. Projects whose development has stopped can still score high, so the last push date and archive status are published alongside. When a tool is split across several repositories, each language is counted separately. Values from the PyPI and GitHub datasets were not added together or compared with each other.

See the full rankings and daily trends on the PyPI downloads for AI and developer tools, GitHub stars for AI and developer tools pages.