SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Python Swagger Projects
-
From the official docs:
-
full-stack-fastapi-postgresql
Full stack, modern web application generator. Using FastAPI, PostgreSQL as database, Docker, automatic HTTPS and more.
Project mention: ORM for FastAPI+PostgreSQL, Tortoise or Sqlalchemy? what would you choose and why? | reddit.com/r/Python | 2023-01-29 -
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
connexion
Swagger/OpenAPI First framework for Python on top of Flask with automatic endpoint validation & OAuth2 support
Project mention: What is the best practice for mapping JSON requests to objects and back to JSON? | reddit.com/r/flask | 2023-01-25I recommend you create a OpenAPI Specification and implement a python module that you expose via connexion or on the cli via click(for easy testing).
-
Project mention: Ask HN: What would be your stack if you are building an MVP today? | news.ycombinator.com | 2023-01-26
Nowadays, Django has an amazing library which is a lot like FastAPI but in the Django ecosystem.
https://django-ninja.rest-framework.com/
It's absolutely wonderful. I would use that in a MVP, and do the F/E in NextJS + Typescript.
-
When it comes to Flask, in particular, there’re plenty of choices. And in fairness, not all frameworks are created equal. You’ve got flasgger, restx (successor of flask-restplus), flask-RESTful, and flask-smorest, to mention a few. How do you choose among those???
-
-
When it comes to Flask, in particular, there’re plenty of choices. And in fairness, not all frameworks are created equal. You’ve got flasgger, restx (successor of flask-restplus), flask-RESTful, and flask-smorest, to mention a few. How do you choose among those???
-
Sonar
Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
flask-restx
Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask
When it comes to Flask, in particular, there’re plenty of choices. And in fairness, not all frameworks are created equal. You’ve got flasgger, restx (successor of flask-restplus), flask-RESTful, and flask-smorest, to mention a few. How do you choose among those???
-
Schemathesis
Run thousands of randomly generated test scenarios based on your API specification and always be sure your API works as expected.
Consolidating the API specification with OpenAPI was a turning point for the project. From that moment we were able to run mock servers to build and test the UI before integrating with the backend, and we were able to validate the backend implementation against the specification. We used prism to run mock servers, and Dredd to validate the server implementation (these days I’d rather use schemathesis).
-
Project mention: What is the diffrence if we create django API rather than DRF Rest API? | reddit.com/r/django | 2022-11-21
If you roll your own thing, you will probably just end up re-implementing a crappy version of something that already exists. Plus, you'll miss out on really nice utilities like this one.
-
datamodel-code-generator
Pydantic model generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.
Project mention: Create Pydantic datamodel from huge JSON file with local datamodel-code-generator | reddit.com/r/learnpython | 2022-12-22The site also provide a link to the github repo of the underlying program.
-
apispec
A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..
-
Project mention: what popular wabsites uses Flask and Django and what popular companies uses Python? | reddit.com/r/learnpython | 2022-06-11
*some options that were mentioned in the thread I linked to include - Starlite (made to bypass perceived shortcomings of FastAPI) - Flama (Starlette w/ Marshmellow instead of Pydantic) - APIFlask (Flask w/ Pydantic) - Django Ninja - Quart-Schema
-
I use polygon with their python SDK for the prices of contracts I'm trading: https://github.com/polygon-io/client-python
-
-
pyswagger
An OpenAPI (fka Swagger) client & converter in python, which is type-safe, dynamic, spec-compliant.
Yes exactly, adding a package to requirements is similar to doing a pip install on your regular Python. Look at pyswagger's requirements.txt and add them:
-
-
-
openapi-spec-validator
-
Project mention: what popular wabsites uses Flask and Django and what popular companies uses Python? | reddit.com/r/learnpython | 2022-06-11
*some options that were mentioned in the thread I linked to include - Starlite (made to bypass perceived shortcomings of FastAPI) - Flama (Starlette w/ Marshmellow instead of Pydantic) - APIFlask (Flask w/ Pydantic) - Django Ninja - Quart-Schema
-
Here https://github.com/maximdanilchenko/aiohttp-apispec
-
Project mention: Ask HN: SIEM-like product with DNS as its data API? | news.ycombinator.com | 2022-08-21
I'm not 100% certain if I'm understanding the requirement correctly - but would something like this help?
-
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.
Project mention: I’ve been a contributor, mentor, and admin in Google Open Source programs | dev.to | 2022-06-09In this program, I proposed a new project called Mentorship System, for women in the community to mentor each other via 1:1 relations. For this project, I developed both the backend REST API with Python - anitab-org/mentorship-backend - and Android application with Kotlin - anitab-org/mentorship-android.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python Swagger related posts
- Options Paper Trading Python SDK/API
- What is the best practice for mapping JSON requests to objects and back to JSON?
- API Testing Demo Site
- What is the diffrence if we create django API rather than DRF Rest API?
- Python REST APIs With Flask, Connexion, and SQLAlchemy – Part 1 – Real Python
- Does anybody know any good resources I could use to study ISP architecture?
- Faster time-to-market with API-first
-
A note from our sponsor - #<SponsorshipServiceOld:0x00007fea597da280>
www.saashub.com | 3 Feb 2023
Index
What are some of the best open-source Swagger projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | fastapi | 53,892 |
2 | full-stack-fastapi-postgresql | 10,985 |
3 | connexion | 4,192 |
4 | django-ninja | 3,961 |
5 | flasgger | 3,165 |
6 | drf-yasg | 3,003 |
7 | Flask RestPlus | 2,669 |
8 | flask-restx | 1,717 |
9 | Schemathesis | 1,591 |
10 | drf-spectacular | 1,472 |
11 | datamodel-code-generator | 1,379 |
12 | apispec | 1,006 |
13 | apiflask | 715 |
14 | client-python | 408 |
15 | safrs | 366 |
16 | pyswagger | 366 |
17 | APIFuzzer | 264 |
18 | spectree | 252 |
19 | openapi-spec-validator | 242 |
20 | flama | 219 |
21 | aiohttp-apispec | 201 |
22 | SnitchDNS | 189 |
23 | mentorship-backend | 174 |