SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Python Swagger Projects
-
Project mention: Building a crashproof cloud backend in Python using REST and PostgreSQL | dev.to | 2024-10-11
It consists of a single service, several REST APIs, and a PostgreSQL database. We'll be using DBOS and FastAPI to build and deploy our app in the cloud, for free!
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
When developing a SaaS application, you might choose to create a REST API and use a frontend framework like React.js or Vue.js. In this case you'd have two choices, one go with Django rest framework or go with Django ninja
-
litestar
Production-ready, Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs
Project mention: Build Performant APIs, Light, Flexible and Extensible ASGI API Framework | news.ycombinator.com | 2024-07-04 -
connexion
Connexion is a modern Python web framework that makes spec-first and api-first development easy.
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
-
-
-
-
datamodel-code-generator
Pydantic model and dataclasses.dataclass generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.
Project mention: Datamodel-code-generator: Pydantic model/dataclass from OpenAPI, JSON, YAML | news.ycombinator.com | 2023-11-16 -
-
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...
-
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)..
-
-
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.
-
-
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.
-
-
If you like what we do, there is a free and easy way to support our work. Gift us a ⭐ at Flama.
-
-
-
-
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.
Python Swagger discussion
Python Swagger related posts
-
Analyzing the OpenAPI Tooling Ecosystem
-
9 Types of API Testing to Ensure Performance and Security
-
Understanding WebSockets using Python
-
How to Build a Python API from Scratch with FastAPI
-
Synchronous and Asynchronous Programming in Python: Key Concepts and Applications
-
Understanding FastAPI: How FastAPI works
-
Building a Basic Forex Rate Assistant Using Agents for Amazon Bedrock
-
A note from our sponsor - SaaSHub
www.saashub.com | 12 Oct 2024
Index
What are some of the best open-source Swagger projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | fastapi | 76,293 |
2 | django-ninja | 7,071 |
3 | litestar | 5,420 |
4 | connexion | 4,476 |
5 | flasgger | 3,607 |
6 | drf-yasg | 3,400 |
7 | Flask RestPlus | 2,735 |
8 | datamodel-code-generator | 2,675 |
9 | drf-spectacular | 2,348 |
10 | Schemathesis | 2,254 |
11 | flask-restx | 2,151 |
12 | apispec | 1,171 |
13 | apiflask | 1,023 |
14 | APIFuzzer | 419 |
15 | safrs | 405 |
16 | pyswagger | 384 |
17 | openapi-spec-validator | 337 |
18 | spectree | 317 |
19 | flama | 257 |
20 | pixoo-rest | 246 |
21 | SnitchDNS | 234 |
22 | aiohttp-apispec | 219 |
23 | mentorship-backend | 195 |