denisart/graphql2python
A tool that generates python code out of your GraphQL schema.
This tool helps Python developers who interact with GraphQL APIs. It takes your GraphQL schema definition file and automatically generates Python data models (using Pydantic). This means you can work with GraphQL data in a structured, type-safe way within your Python applications without manually defining all the data classes.
No commits in the last 6 months. Available on PyPI.
Use this if you are a Python developer building a client application that needs to reliably send and receive data from a GraphQL API.
Not ideal if you are looking to generate GraphQL queries themselves, as that functionality has been moved to a separate project.
Stars
16
Forks
1
Language
Python
License
MIT
Category
Last pushed
Nov 27, 2023
Commits (30d)
0
Dependencies
5
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/denisart/graphql2python"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
mk3008/rawsql-ts
SQL-first lifecycle toolkit for testing, inspecting, and evolving database applications.
helios1138/graphql-typed-client
A tool that generates a strongly typed client library for any GraphQL endpoint. The client...
Shopify/syrup
A type-safe GraphQL model generator for Kotlin, Swift, and TypeScript.
denisart/graphql-query
Complete Domain Specific Language (DSL) for GraphQL query in Python.
swapnilmj/web-vqd
Design SQL "select" queries visually. SQL "joins" by drag-n-drop.