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.
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
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file gql_fork-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: gql_fork-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac4352136cb905170c5ca4d3c8e655db02ded440916c03f59fb126b84128b66c |
|
MD5 | 31015fe05aae8a13872d52359a7ac070 |
|
BLAKE2b-256 | fcf70e5dfe64ef521cde193861b8caca9cfcfac3d19dac7e3e5fd9e809a45596 |