Comparison
fastapi-code-generator vs openapi-generator-cli vs openapi-python-client vs openapi-python-generator
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Generate a FastAPI app from an OpenAPI file.
Archived. The repository is read-only: no more fixes or releases will come.
pip install fastapi-code-generatorCLI for openapi generator
Actively maintained. Last release 3 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install openapi-generator-cliGenerate modern Python clients from OpenAPI
Actively maintained. Last release 3 weeks ago, commits in 12 of the last 26 weeks. A safe choice.
pip install openapi-python-clientOpenapi Python Generator
Low maintenance activity. Last release 14 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install openapi-python-generatorIn short
- fastapi-code-generator is archived: avoid it for new projects.
- openapi-python-client is the most used: 4.8M downloads a month, 5.7× more than openapi-generator-cli.
- Maintenance is comparable: openapi-generator-cli 88, openapi-python-client 86, openapi-python-generator 30 on Pythie’s Index.
- openapi-python-generator is growing fastest: downloads +61% over the last month.
- Safe default for a new project: openapi-python-client.
Side by side
| Metric | fastapi-code-generator | openapi-generator-cli | openapi-python-client | openapi-python-generator |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | Pythie’s Index: 88 | Pythie’s Index: 86 | Pythie’s Index: 30 |
| Verdict | Archived | Actively maintained | Actively maintained | Low maintenance activity |
| Downloads / month | 99.5K | 844.7K | 4.8M | 175.3K |
| Downloads, month over month | +5% | -12% | +15% | +61% |
| GitHub stars | 1.4K | 26.9K | 2K | 97 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 4 | 11 | 3 |
| Last release | Jul 1, 2026 | Nov 27, 2026 | Nov 7, 2026 | Sep 29, 2025 |
| Releases, 12 months | 4 | 11 | 8 | 0 |
| Weeks with commits | 5 / 26 | 26 / 26 | 12 / 26 | 0 / 26 |
| Recent contributors | 1 | 36 | 17 | 15 |
| First release | Jun 2020 | May 2020 | Feb 2020 | Jun 2022 |
| Python versions | 3.10 – 3.14 | 3.10 – 3.15 | 3.11 – 3.14 | 3.9 – 3.11 |
| License | MIT | Apache-2.0 | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.