aiogql

A fork of gql which uses asyncio & aiohttp for execution


Keywords
api, graphql, protocol, rest, relay, gql, client
License
MIT
Install
pip install aiogql==1.1.1

Documentation

GQL

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 aiogql

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