Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 568 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 568 Bytes

ql

Graphql client library, wrapped around pydantic classes for type validation, provide simple, safe and pythonic way to query data from a graphql api.

using pydantic for creating python objects from rest api is common, it is easy and it has type validation, so why not make it easy also for graphql apis?

features:

  • python objects to valid graphql string
  • http send and recv information
  • scalar query responses

install

pip3 install pydantic-graphql

documentation

https://dsal3389.github.io/ql/