{"library":"gql","type":"library","category":null,"description":"gql is a powerful and flexible GraphQL client library for Python, designed to simplify interacting with GraphQL APIs. It supports both synchronous and asynchronous operations, offering various transports like HTTP (via aiohttp, httpx, requests) and WebSockets. The library plays well with `graphql-core` and other GraphQL implementations, enabling features like local schema validation and dynamic query composition using a DSL module. The current stable version is 4.0.0, with active development including beta releases (e.g., v4.3.0b0) leading to future minor or major updates.","language":"python","status":"active","version":"4.0.0","tags":["graphql","client","async","http","websockets","dsl","api-client"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install \"gql[all]\"","imports":["from gql import Client","from gql import gql","from gql.transport.aiohttp import AIOHTTPTransport","from gql.transport.websockets import WSAsyncTransport","from gql.graphql_request import GraphQLRequest","from gql.dsl import dsl_gql","from gql.dsl import DSLQuery","from gql.dsl import DSLSchema"]},{"cmd":"pip install gql","imports":[]}],"homepage":null,"github":"https://github.com/graphql-python/gql","docs":null,"changelog":null,"pypi":"https://pypi.org/project/gql/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":5,"avg_import_s":0.45,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/gql/compatibility"}}