Skip to content

GraphQLBuilder will help you build correct GraphQL-Queries for your Hasura.io instance (and maybe other GraphQL-Endpoints)

License

Notifications You must be signed in to change notification settings

sciencemediacenter/GraphQLBuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQLBuilder

GraphQLBuilder is a package that can support the creation of GraphQL queries. It provides various methods for translating dicts or lists into mutation objects, which can then be used in a gql query.

Attention! This package is optimized for using a hasura.io endpoint - not all GraphQL functions are supported.

This package is currently under development. Nevertheless, all existing functions should work in most cases.

Installation

$ pip install git+https://github.com/sciencemediacenter/GraphQLBuilder

Usage

import GraphQLBuilder

gq = GraphQLBuilder.GraphQLBuilder()

For testing, use:

pytest -v --cov=GraphQLBuilder tests/ --cov-report term-missing

Documentation

The documentation can be found here

Contributing

Feel free to dive in! Open an issue or submit PRs.

License

GraphQLBuilder was created by Hendrik Adam and is licensed under the GPL-3.0.

About

GraphQLBuilder will help you build correct GraphQL-Queries for your Hasura.io instance (and maybe other GraphQL-Endpoints)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages