All Projects → qlient-org → python-qlient

qlient-org / python-qlient

Licence: MIT license
A fast and modern graphql client designed with simplicity in mind.

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to python-qlient

Use Http
🐶 React hook for making isomorphic http requests
Stars: ✭ 2,066 (+7024.14%)
Mutual labels:  query, mutation
strapi-graphql-documentation
Collections of queries and mutations that hopefully help you in a Strapi project powered by GraphQL API 🚀
Stars: ✭ 45 (+55.17%)
Mutual labels:  query, mutation
graph-client
light zero dependency graphql-client, supporting cache and SSR
Stars: ✭ 27 (-6.9%)
Mutual labels:  query, mutation
node-reactive-postgres
Reactive queries for PostgreSQL
Stars: ✭ 28 (-3.45%)
Mutual labels:  query
miniql
A tiny JSON-based query language inspired by GraphQL
Stars: ✭ 121 (+317.24%)
Mutual labels:  query
extraction
Tree Extraction for JavaScript Object Graphs
Stars: ✭ 70 (+141.38%)
Mutual labels:  query
anapsid
An adaptive query processing engine for SPARQL endpoints.
Stars: ✭ 17 (-41.38%)
Mutual labels:  query
aarbac
An Automated Role Based Access Control .NET framework with T-SQL Query Parser which automatically parse select, insert, update, delete queries based on the logged in user role
Stars: ✭ 18 (-37.93%)
Mutual labels:  query
ts-mongodb-orm
Typescript Orm wrapper for Mongodb
Stars: ✭ 13 (-55.17%)
Mutual labels:  query
querydumper
Laravel package to dump all running queries on the page.
Stars: ✭ 24 (-17.24%)
Mutual labels:  query
cacheable-lookup
A cacheable dns.lookup(…) that respects TTL 🎉
Stars: ✭ 121 (+317.24%)
Mutual labels:  query
activerecord-setops
Union, Intersect, and Difference set operations for ActiveRecord (also, SQL's UnionAll).
Stars: ✭ 21 (-27.59%)
Mutual labels:  query
elastic-composer
Client-side Elasticsearch query generator and executor. Filter fields, find search suggestions, and paginate query results for your indicies using a simple, reactive, and high-level API
Stars: ✭ 14 (-51.72%)
Mutual labels:  query
tag-picker
Better tags input interaction with JavaScript.
Stars: ✭ 27 (-6.9%)
Mutual labels:  query
spring-filter
Painless filtering library for JPA entities and MongoDB collections. Smoothly integrates with Spring APIs.
Stars: ✭ 123 (+324.14%)
Mutual labels:  query
Gridify
Easy and optimized way to apply Filtering, Sorting, and Pagination using text-based data.
Stars: ✭ 372 (+1182.76%)
Mutual labels:  query
uri-query-parser
a parser and a builder to work with URI query string the right way in PHP
Stars: ✭ 38 (+31.03%)
Mutual labels:  query
storybook-graphql-kit
Write GraphQL queries and pass response data to your components
Stars: ✭ 19 (-34.48%)
Mutual labels:  query
hasura-sdk
Hasura Schema & Metadata Typescript SDK
Stars: ✭ 21 (-27.59%)
Mutual labels:  query
selector
JSON Selector - fast and easy to use JSON selector
Stars: ✭ 74 (+155.17%)
Mutual labels:  query

Qlient: Python GraphQL Client

qlient-org DeepSource pypi versions license

A fast and modern graphql client designed with simplicity in mind.

Help

See documentation for more details

Installation

pip install qlient

Quick Start

from qlient import Client, GraphQLResponse

client = Client("https://swapi-graphql.netlify.app/.netlify/functions/index")

res: GraphQLResponse = client.query.film(
    # swapi graphql input fields
    id="ZmlsbXM6MQ==",

    # qlient specific
    _fields=["id", "title", "episodeID"]
)

print(res.query)  # query film($id: ID) { film(id: $id) { id title episodeID } }
print(res.variables)  # {'id': 'ZmlsbXM6MQ=='}
print(res.data)  # {'film': {'id': 'ZmlsbXM6MQ==', 'title': 'A New Hope', 'episodeID': 4}}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].