Skip to main content

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.

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

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.1.linux-x86_64.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

aiogql-1.1.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file aiogql-1.1.1.linux-x86_64.tar.gz.

File metadata

  • Download URL: aiogql-1.1.1.linux-x86_64.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3

File hashes

Hashes for aiogql-1.1.1.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 2b4b3e9eacf1399eab203a537a83b8d98a47ca33947ca3afef055091aef36a48
MD5 5634552e370699e488b687aef32f2e1a
BLAKE2b-256 8fbbd9198251a21ba64ef3165f77785ee322eed311536693c7c6c166fb65c5f8

See more details on using hashes here.

File details

Details for the file aiogql-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: aiogql-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3

File hashes

Hashes for aiogql-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 01139a48f1caa181cd8b4cdf32b21c68b37c06420fd7c7992d28dff0beb98990
MD5 4ab2df74d355e0ac4000c1440875ce2c
BLAKE2b-256 49e5a9d7a5da5eae5388eb138315ed3823d25bbf197daf7b9650c2a39b78e7ae

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