graphene icon indicating copy to clipboard operation
graphene copied to clipboard

Thanks for Thanks for GraphQL Python Roadmap

Open denisart opened this issue 2 years ago • 1 comments

Hello, thanks for Thanks for GraphQL Python Roadmap

I see that this project is the most alive in https://github.com/graphql-python

I use python as GraphQL client and server in my projects and I created the package for pydantic data-model generation from some GraphQL schema and for queries and mutations generation: https://github.com/denisart/graphql2python Docs: https://denisart.github.io/graphql2python/

Queries generation examples: https://github.com/denisart/graphql-query Data-model generation examples: https://denisart.github.io/graphql2python/model.html Using with gql: https://denisart.github.io/graphql2python/gql.html

This package so far has few settings. This will be fixed in future releases. For example:

  • custom templates for render of data-model (your pydantic style or other packages (https://github.com/lidatong/dataclasses-json, ...));
  • custom input for output file;
  • load GraphQL as like in https://the-guild.dev/graphql/codegen/docs/config-reference/schema-field;
  • custom base class;
  • and more;

I hope that graphql2python can be useful to you and the python GraphQL community.

denisart avatar Dec 12 '22 16:12 denisart

is this related to graphene?

conao3 avatar Jan 08 '23 08:01 conao3