InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →
Top 23 Python Swagger Projects
-
Project mention: How to Set Up CI/CD for a Python Backend Application on Fly.io Using GitHub Actions | dev.to | 2025-05-16
The backend of this accountability AI application is built using FastAPI, a high-performance framework for Python. The app allows users to communicate with the AI, which helps them stay accountable by generating responses based on their input. Below is a breakdown of the key components used in the code:
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
If you're looking for a mixture of the two, there's Django Ninja: https://django-ninja.dev
-
litestar
Production-ready, Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs
Project mention: Best Backend Frameworks for 2025: A Developer's Guide to Making the Right Choice | dev.to | 2025-02-02Litestar: The New Python Performance King
-
connexion
Connexion is a modern Python web framework that makes spec-first and api-first development easy.
Connexion is a framework that automagically handles HTTP requests based on OpenAPI specification, built on top of Flask.
-
-
Third-Party Packages: OpenAPI support via packages like drf-yasg (OpenAPI 2.x / Swagger) and drf-spectacular (OpenAPI 3.x).
-
datamodel-code-generator
Pydantic model and dataclasses.dataclass generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
Solutions to this problem generate API documentation automatically. Libraries such as drf-spectacular use code structure and semantics in back-end frameworks to infer API contracts. API frameworks such as FastAPI and Huma generate OpenAPI specifications as a built-in feature. Tools like mitmproxy2swagger generate documentation from HAR files. Finally, companies such as Akita Software/Postman use network traffic metadata.
-
-
flask-restx
Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask
For this project, we’ll use Flask and Flask-RESTX.
-
apispec
A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..
-
-
There are plenty of tools for API fuzz testing. They include RESTler, Wfuzz, Boofuzz, Fuzzapi, and jdam. You can find some fuzz testing repos on GitHub, including APIFuzzer by KissPeter, Microsoft’s restler-fuzzer, and rest-api-fuzz-testing still by Microsoft. For practical, interactive guides on API fuzz testing, check out this step-by-step build and fuzzing guide for Python, Rapid API Guides’ overview on API Fuzz testing, and this tutorial on fuzzing APIs, which shows you how to catch vulnerabilities using fuzzing.
-
fastopenapi
FastOpenAPI is a library for generating and integrating OpenAPI schemas using Pydantic v2 and various frameworks (AioHttp, Falcon, Flask, Quart, Sanic, Starlette, Tornado).
Repository: GitHub
-
-
pyswagger
An OpenAPI (fka Swagger) client & converter in python, which is type-safe, dynamic, spec-compliant.
-
openapi-spec-validator
OpenAPI Spec Validator is a CLI, pre-commit hook and python package that validates OpenAPI Specs against the OpenAPI 2.0 (aka Swagger), OpenAPI 3.0 and OpenAPI 3.1 specification.
-
-
-
We’re happy to announce Flama 1.10 🎉, packed with exciting features that have been brewing since our last major update. This release rolls up the goodness from 1.8 and 1.9, which we didn’t get around to shouting about earlier, and tops it off with some shiny new additions in 1.10. Let’s dive into the highlights!
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python Swagger discussion
Python Swagger related posts
-
Understanding the Relation Between FastAPI and Uvicorn
-
Automated Documentation for APIs
-
Flask API Tutorial: Build, Document, and Secure a REST API
-
Show HN: FastOpenAPI – automated docs for many Python frameworks
-
Understanding Uvicorn: The basics
-
I built a word guessing game with LLM
-
Best Backend Frameworks for 2025: A Developer's Guide to Making the Right Choice
-
A note from our sponsor - InfluxDB
www.influxdata.com | 22 May 2025
Index
What are some of the best open-source Swagger projects in Python? This list will help you:
# | Project | Stars |
---|---|---|
1 | fastapi | 84,776 |
2 | django-ninja | 8,145 |
3 | litestar | 6,624 |
4 | connexion | 4,539 |
5 | flasgger | 3,679 |
6 | drf-yasg | 3,498 |
7 | datamodel-code-generator | 3,183 |
8 | Flask RestPlus | 2,737 |
9 | drf-spectacular | 2,593 |
10 | Schemathesis | 2,509 |
11 | flask-restx | 2,206 |
12 | apispec | 1,197 |
13 | apiflask | 1,090 |
14 | APIFuzzer | 446 |
15 | fastopenapi | 412 |
16 | safrs | 410 |
17 | pyswagger | 389 |
18 | openapi-spec-validator | 358 |
19 | spectree | 333 |
20 | pixoo-rest | 294 |
21 | flama | 277 |
22 | SnitchDNS | 241 |
23 | aiohttp-apispec | 220 |