Python OpenAPI

Open-source Python projects categorized as OpenAPI

Top 23 Python OpenAPI Projects

  1. open-webui

    User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

    Project mention: Running a Local LLM on an Older Computer: A Simple Home Lab Guide | dev.to | 2026-09-03

    Tools such as Open WebUI, LibreChat, and AnythingLLM can connect to Ollama and provide a browser-based chat interface.

  2. Kargo

    Stop Scripting Promotions. Start Shipping with Kargo. Kargo automates promotion across dev, staging, and prod with approval gates and verification. Open source, built by the team behind Argo CD. Download now.

    Kargo logo
  3. fastapi

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

    Project mention: Rebuilding the Cerebras Knowledge Base: an MCP server | dev.to | 2026-08-16

    // search("how do I add middleware") {"source_id": "issue_3027", "score": 0.0164, "snippet": "# How to add a header field to the request in a middleware?", "url": "https://github.com/fastapi/fastapi/issues/3027"} // search_code("def jsonable_encoder") {"source_id": "fastapi/encoders.py#jsonable_encoder", "score": 1.0, "snippet": "fastapi/encoders.py jsonable_encoder", "url": "fastapi/encoders.py#L129-L192"} // who_knows("dependency injection") {"author": "sneakers-the-rat", "score": 5.0, "issues": ["issue_13399"]}

  4. fastapi_mcp

    Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!

  5. django-ninja

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

    Project mention: Removing React.js from the codebase and adapting Htmx for UI interactivity | news.ycombinator.com | 2026-07-27

    Using Django w/ frontend frameworks has been a struggle for me. (I only dabble as a hobbyist.) I think splitting the backend off into a restful API makes the marriage work. I've looked at django-rest-framework (https://www.django-rest-framework.org/) and django-ninja (https://django-ninja.dev/). Of course,, then you're discarding a lot of batteries that come with the django framework. Perhaps using Django templates for admin / internal facing work only, and React for customer-facing sites can be a healthy compromise?

  6. 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/

  7. Integuru

    The first AI agent that builds permissionless integrations through reverse engineering platforms' internal APIs.

    Project mention: Show HN: Integuru – Integrate with platforms via the source code | news.ycombinator.com | 2026-05-29
  8. connexion

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

  9. AppSignal

    Monitoring that respects your time & budget. APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.

    AppSignal logo
  10. mcpo

    A simple, secure MCP-to-OpenAPI proxy server

  11. datamodel-code-generator

    Generate Pydantic v2 models, dataclasses, TypedDict, and msgspec.Struct from OpenAPI, JSON Schema, GraphQL, Avro, Protobuf, and raw JSON/YAML/CSV.

  12. tracecat

    Open-source security automation platform for teams and AI agents

    Project mention: N8n added native persistent storage with DataTables | news.ycombinator.com | 2025-10-02
  13. flasgger

    Easy OpenAPI specs and Swagger UI for your Flask API

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

  15. drf-yasg

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

  16. uvicorn-gunicorn-fastapi-docker

    Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python with performance auto-tuning.

  17. best-of-web-python

    🏆 A ranked list of awesome python libraries for web development. Updated weekly.

  18. openapi-python-client

    Generate modern Python clients from OpenAPI

  19. fastapi-crudrouter

    A dynamic FastAPI router that automatically creates CRUD routes for your models

    Project mention: fastapi-crudrouter is Dead. Here's How to Migrate to BetterCRUD | dev.to | 2026-08-09

    fastapi-crudrouter was the de-facto CRUD library for FastAPI — generating 6 CRUD routes from a model in a few lines. It's been unmaintained since November 2023. No FastAPI 0.141+ support, no new features, and its SQLAlchemy backend doesn't keep up with SQLAlchemy 2.0 async best practices.

  20. agent-protocol

    Common interface for interacting with AI agents. The protocol is tech stack agnostic - you can use it with any framework for building agents.

  21. apispec

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

  22. apiflask

    A lightweight Python web API framework.

  23. mashumaro

    Fast and well tested serialization library

    Project mention: ctxure alternatives - mashumaro, cattrs, pydantic, and msgspec | libhunt.com/r/ctxure | 2026-06-05
  24. flask-smorest

    DB agnostic framework to build auto-documented REST APIs with Flask and marshmallow

  25. ghapi

    A delightful and complete interface to GitHub's amazing API

  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 OpenAPI discussion

Log in or Post with

Python OpenAPI related posts

  • Outsourcing plus LocalAI will soon become more economical vs. Frontier labs

    2 projects | news.ycombinator.com | 26 May 2026
  • Computer Use Is 45x More Expensive Than Structured APIs

    14 projects | news.ycombinator.com | 5 May 2026
  • Show HN: CLI to order groceries via reverse-engineered REWE API (Haskell)

    6 projects | news.ycombinator.com | 29 Mar 2026
  • Notes on Starting to Use Django

    5 projects | news.ycombinator.com | 28 Jan 2026
  • Karpathy: A few random notes from Claude coding quite a bit last few weeks

    7 projects | news.ycombinator.com | 27 Jan 2026
  • An open-source, HIPAA-eligible Twilio alternative

    5 projects | dev.to | 6 Jan 2026
  • Node.js vs Python: Real Benchmarks, Performance Insights, and Scalability Analysis

    9 projects | dev.to | 4 Oct 2025
  • A note from our sponsor - AppSignal
    www.appsignal.com | 6 Sep 2026
    APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product. Learn more →

Index

What are some of the best open-source OpenAPI projects in Python? This list will help you:

# Project Stars
1 open-webui 150,745
2 fastapi 102,067
3 fastapi_mcp 12,000
4 django-ninja 9,180
5 litestar 8,444
6 Integuru 4,763
7 connexion 4,612
8 mcpo 4,363
9 datamodel-code-generator 4,007
10 tracecat 3,787
11 flasgger 3,741
12 Schemathesis 3,581
13 drf-yasg 3,545
14 uvicorn-gunicorn-fastapi-docker 2,916
15 best-of-web-python 2,756
16 openapi-python-client 1,984
17 fastapi-crudrouter 1,693
18 agent-protocol 1,463
19 apispec 1,219
20 apiflask 1,136
21 mashumaro 935
22 flask-smorest 719
23 ghapi 685

Sponsored
Stop Scripting Promotions. Start Shipping with Kargo
Kargo automates promotion across dev, staging, and prod with approval gates and verification. Open source, built by the team behind Argo CD. Download now.
akuity.io