Yoctol/gql-fork

Name: gql-fork

Owner: YOCTOL INFO INC.

Description: A fork and re-publish version of gql.

Forked from: graphql-python/gql

Created: 2018-03-26 09:50:30.0

Updated: 2018-03-26 10:33:50.0

Pushed: 2018-03-26 10:33:49.0

Homepage:

Size: 63

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

GQL-fork

travis pypi

Since the original gql is not published to the next version, which includes some important feature, we fork and push the latest version to pypi. This repo is maintained until the original author publish 0.2.0.

Install from terminal:

install gql-fork

Then you can use it like the good old days:

 gql import gql, Client
 gql.transport.requests import RequestsHTTPTransport

nsport = RequestsHTTPTransport(
url='http://api.xxx/graphql',
use_json=True,


nt = Client(
retries=3,
transport=_transport,
fetch_schema_from_transport=True,

y = gql('''

llo



nt.execute(query)
Original README

This is a GraphQL client for Python. Plays nicely with graphene, graphql-core, graphql-js and any other GraphQL implementation compatible with the spec.

GQL architecture is inspired by React-Relay and Apollo-Client.

Installation
$ pip install gql
Usage

The example below shows how you can execute queries against a local schema.

 gql import gql, Client

nt = Client(schema=schema)
y = gql('''

llo



nt.execute(query)
License

MIT License


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.