bandingkan
FastAPI vs Flask
Fakta yang sama untuk keduanya, dibaca dari GitHub setiap malam, dan hubungan keduanya yang ditinjau oleh manusia.
| Fakta | FastAPI | Flask |
|---|---|---|
| Bahasa | Python | Python |
| Lisensi | MIT | BSD-3-Clause |
| Bintang | 103k | 75k |
| Terbaru | 0.142.2 | 3.1.3 |
| Push terakhir | 2026-10-06 | 2026-09-08 |
| Frekuensi rilis | sekitar 1 hari antar rilis | sekitar 182 hari antar rilis |
| Kontributor aktif | 8 penulis commit di branch default dalam 90 hari terakhir | 3 penulis commit di branch default dalam 90 hari terakhir |
| Peringatan | tidak ada | tidak ada |
Hubungan keduanya
FastAPI menggantikan Flask. Alternatif Flask →
Pengganti penuhAsync, with type hints driving validation and OpenAPI docs.
FastAPI
- 0.142.22026-09-30🐛 Allow startup when automatic OpenTelemetry configuration fails. PR #16418 by @tiangolo.
- 0.142.12026-09-29🐛 Fix repeated endpoint wrapping in included routers. PR #16414 by @tiangolo.
- 0.142.02026-09-29✨ Add native OpenTelemetry support. PR #16403 by @tiangolo.
- 0.141.12026-07-29🐛 Fix support for background tasks and headers from dependencies in app.frontend(). PR #16105 by @tiangolo.
- 0.141.02026-07-29✨ Add app.frontend(check_dir="auto"), to make local development more convenient with fastapi dev. PR #16102 by @tiangol…
Flask
- 3.1.32026-02-19This is the Flask 3.1.3 security fix release, which fixes a security issue but does not otherwise change behavior and s…
- 3.1.22025-08-19This is the Flask 3.1.2 fix release, which fixes bugs but does not otherwise change behavior and should not result in b…
- 3.1.12025-05-13This is the Flask 3.1.1 fix release, which fixes bugs but does not otherwise change behavior and should not result in b…
- 3.1.02024-11-13This is the Flask 3.1.0 feature release. A feature release may include new features, remove previously deprecated code,…
- 3.0.32024-04-07This is a fix release for the 3.0.x feature branch.
FastAPI
✓ bertanda tangan Rilis terbaru, 0.142.2, memiliki tanda tangan yang diverifikasi GitHub.
Memuat laporan keamanan
Flask
✓ bertanda tangan Rilis terbaru, 3.1.3, memiliki tanda tangan yang diverifikasi GitHub.
Memuat laporan keamanan