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
Release files for gql-fork 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gql_fork-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / gql_fork-0.2.0-py3-none-any.whl
| Download URL | gql_fork-0.2.0-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac4352136cb905170c5ca4d3c8e655db02ded440916c03f59fb126b84128b66c
|
|
BLAKE2b-256 checksum How to use checksums |
fcf70e5dfe64ef521cde193861b8caca9cfcfac3d19dac7e3e5fd9e809a45596
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |