connexion
Swagger/OpenAPI First framework for Python on top of Flask with automatic endpoint validation & OAuth2 support (by spec-first)
Dependency Injector
Dependency injection framework for Python (by ets-labs)
Our great sponsors
connexion | Dependency Injector | |
---|---|---|
8 | 3 | |
3,997 | 2,108 | |
1.0% | 6.1% | |
8.1 | 8.2 | |
6 days ago | about 1 month ago | |
Python | Python | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
connexion
Posts with mentions or reviews of connexion.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-20.
-
How much front-end knowledge is required to work in Flask?
I do like to use their SQLAlchemy ModelView for CRUD operations and expose a OpenAPI to it using flask based connexion project for front-end or other integration points.
- Flask vs FastAPI for a microservice
-
Opinion : Flask is only suitable for small and crud projects. Even with blueprints, even mid scale projects get messy and painful.
but maybe because i decided to use connexion(api) or flask-admin(mvc) i had a better user experience while still feeling i have control over my requirements.txt.
-
Log Connexion request body
Connexion is a framework on top of Flask that automagically handles HTTP requests defined using OpenAPI
-
How Dynamically generating Serializers & ModelViewSets using "meta-programming" probably saved me 100+ hours of writing code.
https://github.com/zalando/connexion (spec-first framework on top of Flask)
-
How to test a Connexion/Flask app?
I'm using the Connexion framework for Flask to build a microservice. I would like to write tests for my application using py.test.
-
Flask 2.0 is coming, please help us test
I'm a bit late to this thread, but I'd also recommend Zalando's connexion library for OpenAPI declarative API specs (built on top of Flask).
-
Here's a list of Python web frameworks that you can use to create a website or API
Connexion for OpenAPI spec first REST APIs: https://github.com/zalando/connexion
Dependency Injector
Posts with mentions or reviews of Dependency Injector.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-10.
-
What is the best practice for injecting configuration into a python application
One approach is to pass this config as a variable to every class it is required, which I dont prefer. Another option is to annotate the config class as singleton and create the config object at every place where I need them. I also came across this library called Dependency_Injector. https://python-dependency-injector.ets-labs.org/ This seems a bit heavy weight for my use case though. I am looking forward to know how other solve this problem
-
Dependency Injection and Python
Dependency Injector
-
Introduction to Dependency Injection in Python
dependency-injector (docs) is python library that provides a framework which enables you to implement DI and IoC in Python.
What are some alternatives?
When comparing connexion and Dependency Injector you can also consider the following projects:
flask-restful - Simple framework for creating REST APIs
Flask RestPlus - Fully featured framework for fast, easy and documented API development with Flask
flasgger - Easy OpenAPI specs and Swagger UI for your Flask API
django-rest-framework - Web APIs for Django. 🎸
falcon - The no-nonsense web data plane API and microservices framework for Python developers, with a focus on reliability, correctness, and performance at scale.
eve - REST API framework designed for human beings
Blueprint/Boilerplate For Python Projects - Blueprint/Boilerplate For Python Projects
quart-schema
hug - Embrace the APIs of the future. Hug aims to make developing APIs as simple as possible, but no simpler.