gql 0.2.0
pip install gql==0.2.0
Newer version available (3.5.2)
Released:
GraphQL client for Python
Navigation
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT
- Author: Syrus Akbary
- Tags api, graphql, protocol, rest, relay, gql, client
Classifiers
- Development Status
- Intended Audience
- Programming Language
- Topic
Project description
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
.
Installation
$ pip install gql
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
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT
- Author: Syrus Akbary
- Tags api, graphql, protocol, rest, relay, gql, client
Classifiers
- Development Status
- Intended Audience
- Programming Language
- Topic
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 Distribution
File details
Details for the file gql-0.2.0.tar.gz
.
File metadata
- Download URL: gql-0.2.0.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad0f0b8226428d727c8e1d1cac4e521d83ed024d814921bd55b8adb997dadf4b |
|
MD5 | 2da316ef3bcdbec25b342016d5b37cc8 |
|
BLAKE2b-256 | c46fcf9a3056045518f06184e804bae89390eb706168349daa9dff8ac609962a |