Python Swagger

Open-source Python projects categorized as Swagger

Top 23 Python Swagger Projects

  1. fastapi

    FastAPI framework, high performance, easy to learn, fast to code, ready for production

    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:

  2. 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.

    InfluxDB logo
  3. django-ninja

    💨 Fast, Async-ready, Openapi, type hints based framework for building APIs

    Project mention: Django 5.2 Released | news.ycombinator.com | 2025-04-02

    If you're looking for a mixture of the two, there's Django Ninja: https://django-ninja.dev

  4. 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-02

    Litestar: The New Python Performance King

  5. connexion

    Connexion is a modern Python web framework that makes spec-first and api-first development easy.

    Project mention: Top 20 Python API Frameworks with OpenAPI Support | dev.to | 2024-12-19

    Connexion is a framework that automagically handles HTTP requests based on OpenAPI specification, built on top of Flask.

  6. flasgger

    Easy OpenAPI specs and Swagger UI for your Flask API

  7. drf-yasg

    Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.

    Project mention: Top 20 Python API Frameworks with OpenAPI Support | dev.to | 2024-12-19

    Third-Party Packages: OpenAPI support via packages like drf-yasg (OpenAPI 2.x / Swagger) and drf-spectacular (OpenAPI 3.x).

  8. datamodel-code-generator

    Pydantic model and dataclasses.dataclass generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. Flask RestPlus

    Fully featured framework for fast, easy and documented API development with Flask

  11. drf-spectacular

    Sane and flexible OpenAPI 3 schema generation for Django REST framework.

    Project mention: Automated Documentation for APIs | dev.to | 2025-04-07

    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.

  12. Schemathesis

    Supercharge your API testing, catch bugs, and ensure compliance

  13. flask-restx

    Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask

    Project mention: Flask API Tutorial: Build, Document, and Secure a REST API | dev.to | 2025-04-07

    For this project, we’ll use Flask and Flask-RESTX.

  14. apispec

    A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..

  15. apiflask

    A lightweight Python web API framework.

  16. APIFuzzer

    Fuzz test your application using your OpenAPI or Swagger API definition without coding

    Project mention: 9 Types of API Testing to Ensure Performance and Security | dev.to | 2024-09-16

    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.

  17. fastopenapi

    FastOpenAPI is a library for generating and integrating OpenAPI schemas using Pydantic v2 and various frameworks (AioHttp, Falcon, Flask, Quart, Sanic, Starlette, Tornado).

    Project mention: FastOpenAPI: A Reason to Believe in Open Source Community | dev.to | 2025-04-18

    Repository: GitHub

  18. safrs

    SqlAlchemy Flask-Restful Swagger Json:API OpenAPI

  19. pyswagger

    An OpenAPI (fka Swagger) client & converter in python, which is type-safe, dynamic, spec-compliant.

  20. 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.

  21. spectree

    API spec validator and OpenAPI document generator for Python web frameworks.

  22. pixoo-rest

    A RESTful API to easily interact with the Wi-Fi enabled Divoom Pixoo devices.

  23. flama

    Fire up your models with the flame 🔥

    Project mention: Releasing Flama 1.10 | dev.to | 2025-03-05

    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!

  24. SnitchDNS

    Database Driven DNS Server with a Web UI

  25. aiohttp-apispec

    Build and document REST APIs with aiohttp and apispec

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Swagger discussion

Log in or Post with

Python Swagger related posts

  • Understanding the Relation Between FastAPI and Uvicorn

    2 projects | dev.to | 28 Apr 2025
  • Automated Documentation for APIs

    7 projects | dev.to | 7 Apr 2025
  • Flask API Tutorial: Build, Document, and Secure a REST API

    3 projects | dev.to | 7 Apr 2025
  • Show HN: FastOpenAPI – automated docs for many Python frameworks

    10 projects | news.ycombinator.com | 22 Mar 2025
  • Understanding Uvicorn: The basics

    3 projects | dev.to | 13 Mar 2025
  • I built a word guessing game with LLM

    6 projects | dev.to | 24 Feb 2025
  • Best Backend Frameworks for 2025: A Developer's Guide to Making the Right Choice

    8 projects | dev.to | 2 Feb 2025
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 22 May 2025
    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 →

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

Sponsored
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.
www.influxdata.com