graph_wrap
Transform a Django REST Framework or Tastypie based API into a fully compliant GraphQL API. (by PaulGilmartin)
zimagi
Zimagi - Modular Data Integration, Distributed Processing, and API Publishing Platform (by zimagi)
graph_wrap | zimagi | |
---|---|---|
5 | 1 | |
84 | 26 | |
- | - | |
0.0 | 9.4 | |
about 1 year ago | 12 days ago | |
Python | Python | |
MIT License | Apache License 2.0 |
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.
graph_wrap
Posts with mentions or reviews of graph_wrap.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-19.
-
Just curious if anyone else here auto-generates DRF APIs through meta programming?
This doesn't directly answer the question, but I wrote a library which uses meta programming to build a GraphQL Graphene API from a DRF API https://github.com/PaulGilmartin/graph_wrap. Maybe it's the type of thing which would interest you.
-
Django REST Framework: Stop Nesting Serializers and use GraphQL Instead
Enter GraphQL: GraphQL is designed so that the client decides what info it receives from the server, not the other way around. Whilst many great packages exist to create a GraphQL API from scratch, migrating an mature production REST API to use one of these frameworks is not so simple. It may also be that our REST API has functionality which is not available on a GraphQL specific API. This is where GrapWrap comes in: by adding two lines of code to your project, GraphWrap exposes a GraphQL schema which has the same "shape" as your existing REST API. With this new endpoint, we can now stop overexposing the author fields and instead simply expose author as a URL:
-
Building GraphQL APIs in Django with Graphene
I attempt to give a use case for user defined queries here: https://github.com/PaulGilmartin/graph_wrap#which-problems-does-graphwrap-address
-
GraphWrap: extend your Django REST Framework API with a GraphQL interface with just two of lines of code.
See Which problems does GraphWrap address for more.
zimagi
Posts with mentions or reviews of zimagi.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-19.
-
Just curious if anyone else here auto-generates DRF APIs through meta programming?
Happy to share an example from an open source project I am working on in Django (https://github.com/zimagi/zimagi). You can find the actual API generation logic in the {app/systems/api} folder if you are interested. Basically what I do is declare all models as YAML declarations then generate the model classes and API endpoints, filters, and serializer fields based off of that YAML so I can bypass coding the APIs.
What are some alternatives?
When comparing graph_wrap and zimagi you can also consider the following projects:
strawberry - A GraphQL library for Python that leverages type annotations 🍓
django-ecommerce-api - An E-commerce API built using Django Rest Framework.
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
MyFridge - 😋 An application that facilitates everyday life by analyzing the user's available products and returning a list of dishes that can be prepared from the given ingredients.
django_dx - Supercharge your Django Development Experience with these tools and concepts 🚀
SpecialRecipe - Django-based web application created for educational purposes that allows to find and optionally bookmark recipes.