Skip to main content

GraphQL Client

Getting Started

client = GraphQLClient('https://www.graphqlhub.com/graphql')

result = client.query('''
query ($id: String!) {
    hn2 {
        nodeFromHnId(id: $id, isUserId: true) {
            id
        }
    }
}
''', {'id': 'clayallsopp'})

The client constructor can also take a dictionary of additonal headers in a keyword argument headers or as the second parameter.

Tests

To Run Tests

make test

Metadata

Release files for graphql_client 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for graphql_client 0.3.0
File Size Uploaded Provenance Actions
graphql_client-0.3.0.tar.gz 2.1 kB Without provenance Details for graphql_client-0.3.0.tar.gz

Release files / graphql_client-0.3.0.tar.gz

Download URL graphql_client-0.3.0.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
50c10c36b93d661c00a527ea9052a39d5055ef9283f24e8fc951e3f95bc3531f
BLAKE2b-256 checksum
How to use checksums
ee5c3c2232eb41b05dd58411deae899d3046d662b57dba830936f50f2c4bcd23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Security for graphql_client 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page