Skip to content

Welcome to Qlient Core

DeepSource DeepSource pypi versions license codestyle

This is the core for a blazingly fast and modern graphql (async) client that was designed with simplicity in mind.

Key Features

  • Support both synchronous and asynchronous clients
  • Automatic query generation
  • Offline query validation
  • Support for different backends
  • Easily extend your client through plugins.

Quick Preview

from qlient.core import Client, Backend, GraphQLResponse


class MyBackend(Backend):
    """Must be implemented by you"""


client = Client(MyBackend())

res: GraphQLResponse = client.query.get_my_thing("name")

print(res.request.query)  # "query get_my_thing { get_my_thing { name } }"