Skip to main content

fork version of gql: GraphQL client for Python

Project description

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.

travis pypi coveralls

Installation

$ pip install gql-fork

Usage

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

from gql import gql, Client

client = Client(schema=schema)
query = gql('''
{
  hello
}
''')

client.execute(query)

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

gql_fork-0.2.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file gql_fork-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gql_fork-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac4352136cb905170c5ca4d3c8e655db02ded440916c03f59fb126b84128b66c
MD5 31015fe05aae8a13872d52359a7ac070
BLAKE2b-256 fcf70e5dfe64ef521cde193861b8caca9cfcfac3d19dac7e3e5fd9e809a45596

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page