Thanks to visit codestin.com
Credit goes to www.libhunt.com

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: Show HN: FastAPI LSP/VSCode Extension POC | news.ycombinator.com | 2025-11-11
  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream 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

    Light, flexible and extensible ASGI framework | Built to scale

    Project mention: Hyperflask – Full stack Flask and Htmx framework | news.ycombinator.com | 2025-10-16

    A lot of people in this thread mentioning the limitations of Flask and “why not FastAPI” etc - but I’ve found Litestar to be the best alternative and it has htmx support out of the box.

    https://litestar.dev/

  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. datamodel-code-generator

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

  8. 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).

  9. 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
  10. Schemathesis

    Catch API bugs before your users do

    Project mention: Hypothesis: Property-Based Testing for Python | news.ycombinator.com | 2025-11-04

    If any of those bugs were in public or open-source APIs, I’d love to feature them in our new “trophy case”: https://github.com/schemathesis/schemathesis/issues/new?temp...

  11. Flask RestPlus

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

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

  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

  17. fastopenapi

    FastOpenAPI is a library for generating and integrating OpenAPI schemas using Pydantic v2 and various frameworks (AioHttp, Django, 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

  • Building MIA: A WhatsApp AI Assistant to Escape Subscription Hell

    4 projects | dev.to | 8 Jul 2025
  • FastAPI vs Nexios: A Comprehensive Comparison of Modern Python Web Frameworks

    2 projects | dev.to | 29 Jun 2025
  • 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
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 15 Nov 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 91,739
2 django-ninja 8,696
3 litestar 7,636
4 connexion 4,571
5 flasgger 3,716
6 datamodel-code-generator 3,579
7 drf-yasg 3,539
8 Schemathesis 2,846
9 Flask RestPlus 2,748
10 drf-spectacular 2,739
11 flask-restx 2,235
12 apispec 1,213
13 apiflask 1,109
14 APIFuzzer 459
15 fastopenapi 439
16 safrs 413
17 pyswagger 392
18 openapi-spec-validator 380
19 spectree 351
20 pixoo-rest 299
21 flama 286
22 SnitchDNS 243
23 aiohttp-apispec 225

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

Did you know that Python is
the 2nd most popular programming language
based on number of references?