Skip to main content

GraphQL client for Python

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 gql

Usage

The example below shows how you can execute queries against a local schema.

from pygql 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

pygql-0.1.2.tar.gz (6.3 kB view details)

Uploaded Source

File details

Details for the file pygql-0.1.2.tar.gz.

File metadata

  • Download URL: pygql-0.1.2.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pygql-0.1.2.tar.gz
Algorithm Hash digest
SHA256 dc32273af0677657fc00655bc665b26d0eb81556b0436461c6db18a98f9bb196
MD5 39c810c6d7135a705fa4f2e27fe23a34
BLAKE2b-256 05a52e184052b574dd6651e9f09a55663950c706172d8dc7dfbd557badbea15e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page