A fork of gql which uses asyncio & aiohttp for execution
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aiogql-1.1.0.tar.gz
(5.5 kB
view hashes)
Built Distribution
aiogql-1.1.0-py3-none-any.whl
(7.2 kB
view hashes)