SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Python Swagger Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
litestar
Production-ready, Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs
-
connexion
Connexion is a modern Python web framework that makes spec-first and api-first development easy.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
datamodel-code-generator
Pydantic model and dataclasses.dataclass generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.
-
flask-restx
Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask
-
apispec
A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..
-
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.
-
mentorship-backend
Mentorship System is an application that matches women in tech to mentor each other, on career development, through 1:1 relations during a certain period of time. This is the backend of this system.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
He is probably most well know for creating FastAPI that I taught to some of my clients and Typer that I've never used.
Project mention: Ask HN: What Underrated Open Source Project Deserves More Recognition? | news.ycombinator.com | 2024-03-07Django Ninja [1], it forever changed how I write Django project, in a way so elegant and productive.
[1]: https://django-ninja.dev/
Project mention: Litestar – powerful, flexible, and highly performant Python ASGI framework | news.ycombinator.com | 2024-02-26What would you like to see here? Could you perhaps open an issue at https://github.com/litestar-org/litestar so we can track and implement this?
If you are just needing a client what you need should be available OOTB, unless you want more hands off.
Here is also a good article for example: https://dev.to/pbaletkeman/secure-python-litestar-site-with-...
I like the idea, especially the TS-like syntax around enums and union types. I've always preferred the SDL for GraphQL vs writing OpenAPI for similar reasons.
I echo the sentiment others have brought up, which is the trade-offs of a code-driven schema vs schema-driven code.
At work we use Pydantic and FastAPI to generate the OpenAPI contract, but there's some cruft and care needed around exposing those underlying Pydantic models through the API documentation. It's been easy to create schemas that have compatibility problems when run through other code generators. I know there are projects such as connexction[1] which attempt to inverse this, but I don't have much experience with it. In the GraphQL space it seems that code-first approaches are becoming more favored, though there's a different level of complexity needed to create a "typesafe" GraphQL server (eg. model mismatches between root query resolvers and field resolvers).
[1] https://github.com/spec-first/connexion
Project mention: Datamodel-code-generator: Pydantic model/dataclass from OpenAPI, JSON, YAML | news.ycombinator.com | 2023-11-16
Project mention: Why I chose django-ninja instead of django-rest-framework to build my project | /r/django | 2023-06-17Hi, while that is the case, same can be done with drf using drf-spectacular
I am not aware of any tools like that, but eventually, I plan to add support for gRPC fuzzing to Schemathesis. There were already some discussions and it is more or less clear how to move forward. See https://github.com/schemathesis/schemathesis/discussions/190...
There has been a considerable effort in the last few years to try and standardise the way in which these type of APIs are implemented via different frameworks. However, over the last few years, a new type of functionality has become more and more popular: machine learning (ML) models; and the existing frameworks for building APIs are not well suited for this type of functionality. In this series of posts, we will learn how to build APIs using a Framework for the development of Lightweight Applications and Machine-learning Automation, also known as Flama.
Yes, I am currently using the docker container called https://github.com/4ch1m/pixoo-rest you can just the rest interface to show text, clear the screen, upload images, let it sound the alarm, etc etc etc.
Python Swagger related posts
-
Building a Basic Forex Rate Assistant Using Agents for Amazon Bedrock
-
Litestar – powerful, flexible, and highly performant Python ASGI framework
-
Show HN: Auto-generate load tests/synthetic test data from OpenAPI spec/HAR file
-
Effortless API Documentation: Accelerating Development with FastAPI, Swagger, and ReDoc
-
It's Christmas day. You wake up, run to the tree, tear open the largest package with your name on it... FastAPI has added _____?
-
Django 5.0 Is Released
-
Connexion 3 released!
-
A note from our sponsor - SaaSHub
www.saashub.com | 7 May 2024
Index
What are some of the best open-source Swagger projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | fastapi | 71,223 |
2 | django-ninja | 6,268 |
3 | litestar | 4,479 |
4 | connexion | 4,420 |
5 | flasgger | 3,492 |
6 | drf-yasg | 3,327 |
7 | Flask RestPlus | 2,731 |
8 | datamodel-code-generator | 2,315 |
9 | drf-spectacular | 2,123 |
10 | Schemathesis | 2,096 |
11 | flask-restx | 2,078 |
12 | apispec | 1,138 |
13 | apiflask | 960 |
14 | APIFuzzer | 398 |
15 | safrs | 398 |
16 | pyswagger | 380 |
17 | openapi-spec-validator | 315 |
18 | spectree | 305 |
19 | flama | 255 |
20 | SnitchDNS | 228 |
21 | pixoo-rest | 221 |
22 | aiohttp-apispec | 216 |
23 | mentorship-backend | 191 |
Sponsored