FastAPI tops Django and Flask, downloads +16.1% in 30 days

FastAPI leads Django and Flask in PyPI 7-day downloads and GitHub stars. Flask follows in downloads, Django in stars. Also covers 30-day growth and ranks.

In the list of AI and developer tools this site tracks, FastAPI leads Django and Flask on both PyPI downloads over the last 7 days and GitHub stars. The runner-up differs by metric. Flask comes next in downloads, while Django comes next in cumulative stars. FastAPI, the largest of the group, also has the highest 30-day growth rate.

PyPI downloads: the gap between FastAPI and Flask

Comparison: Downloads, last 7 daysPyPI downloads for AI and developer toolsSource: pypistats.org · as of 2026-11-22
FastAPI: 135.3MFastAPI135.3MFlask: 40.7MFlask40.7MDjango: 12MDjango12M
FastAPI: 135.3MFastAPI135.3MFlask: 40.7MFlask40.7MDjango: 12MDjango12M
FastAPI: 135.3MFastAPI135.3MFlask: 40.7MFlask40.7MDjango: 12MDjango12M
View as table
Comparison: Downloads, last 7 days
RankItemValue
1FastAPI135.3M
2Flask40.7M
3Django12M

FastAPI recorded 135.3M downloads in the last 7 days. That ranks No. 3 among all 59 tracked items. Flask had 40.7M downloads, ranking No. 11 overall. Django had 12M downloads, ranking No. 18 overall. Within the Web Frameworks category, FastAPI ranks No. 1, Flask No. 2 and Django No. 3.

In absolute terms, FastAPI has 94.7M more downloads than Flask. That is about 3.3 times as many. Against Django, the gap is 123.3M downloads and the multiple is about 11 times. Downloads include CI runs and automated installs, so these multiples should not be read as differences in user numbers.

Recent trend: FastAPI leads in 30-day growth rate and volume

Trend: Downloads, last 7 daysPyPI downloads for AI and developer tools, last 174 days, weeklySource: pypistats.org · as of 2026-11-22
050M100M150MJul2026SepNovFastAPIFlaskDjango
050M100M150M200MJul2026AugSepOctNovFastAPIFlaskDjango
050M100M150M200MJul2026AugSepOctNovFastAPI 135.3MFlask 40.7MDjango 12M
View as table
Trend: Downloads, last 7 days
DateFastAPIFlaskDjango
2026-11-22135.3M40.7M12M
2026-11-15132.3M40.4M12M
2026-11-08126.8M55.9M12.3M
2026-11-01123.4M57.6M11.9M
2026-10-25118.2M41.1M11.5M
2026-10-18112.5M39.7M10.8M
2026-10-11108.3M42M10.5M
2026-10-04101.7M38.1M10.2M
2026-09-2788.7M31.1M9.9M
2026-09-2084.7M29.6M9.4M
2026-09-1382.2M29.5M9.2M
2026-09-0681.7M30.7M9.5M
2026-08-3083.8M32.1M9.1M
2026-08-23139.7M48.3M12.5M
2026-08-16145.2M48.4M12.4M
2026-08-09148.2M49.4M13.2M
2026-08-02145.7M47.8M12.9M
2026-07-26129.4M47.6M13.2M
2026-07-19126.3M48.5M12.4M
2026-07-12114.2M46.3M11.6M
2026-07-05115.6M44.9M10.9M
2026-06-28113.8M47M11.2M
2026-06-21118.4M46.3M12.4M
2026-06-14115.6M48.2M13.2M
2026-06-07117.4M46.6M12M

Compared with the 7-day total from 30 days earlier, FastAPI rose +16.1%. Django rose +5.6% and Flask rose +0.5%. FastAPI also gained the most in absolute terms, at +18.8M downloads, ahead of Django (+635.3K) and Flask (+208.1K). Over the full 174-day span of the chart, FastAPI changed +18% and Django +10.7%. Flask alone sits below its starting point, at -11.6%.

The change over the full period is hard to read as a shift in popularity. Partway through the series, downloads across all tracked items fell sharply at the same time. Against 7 days earlier, each tool grew: FastAPI +2.3%, Flask +0.8% and Django +0.3%. This data alone cannot explain why the changes happened.

GitHub stars: Django comes next

Comparison: StarsGitHub stars for AI and developer toolsSource: GitHub API · as of 2026-11-23
FastAPI: 105,030FastAPI105,030Django: 91,909Django91,909Flask: 75,312Flask75,312
FastAPI: 105,030FastAPI105,030Django: 91,909Django91,909Flask: 75,312Flask75,312
FastAPI: 105,030FastAPI105,030Django: 91,909Django91,909Flask: 75,312Flask75,312
View as table
Comparison: Stars
RankItemValue
1FastAPI105,030
2Django91,909
3Flask75,312

FastAPI has 105,030 stars, ranking No. 18 among all 132 tracked items. Django has 91,909 stars, ranking No. 25 overall. Flask has 75,312 stars, ranking No. 29 overall. FastAPI leads Django by 13,121 stars, with about 1.1 times as many. It leads Flask by 29,718 stars, with about 1.4 times as many. The gaps among the tools are narrower in stars than in downloads.

Within the Web Frameworks category, FastAPI ranks No. 3 in stars, Django No. 5 and Flask No. 7. Forks follow a different order. Django has the most, at 35,112 forks, followed by Flask with 17,299 and FastAPI with 10,367.

Data and methodology

Downloads come from pypistats.org. Stars and forks come from the GitHub API. Data is as of November 22, 2026 for PyPI and November 23, 2026 for GitHub. The comparison covers 3 tools on the tracked list. Ranks are within the items this site tracks and do not represent the whole market.

Daily downloads, excluding mirrors, were summed into 7-day totals. Changes compare periods of equal length. Days when several packages were recorded as 0 at the same time 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 excluded from the analysis. Downloads are install counts, not user counts. The series covers only the period pypistats provides. During that period, downloads across all tracked items fell sharply at the same time, and comparisons that span that point should not be read as changes in popularity.

Stars are the cumulative values reported by the GitHub REST API at collection time, gathered daily. Stars reflect accumulated interest, not usage. Inactive projects can also score high, so the data page lists the last push date and archive status. When a tool is split across multiple repositories, each language is counted separately. Values from different datasets are not compared.

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