Simple GraphQL Client¶
This package offers an easy-to-use GraphQL client. The source code is extensively documented, so to get started, have a look at the following modules:
Use
sgqlc.endpointto access GraphQL endpoints, notablysgqlc.endpoint.httpprovidesHTTPEndpointthat makes use ofurllib.request.urlopen().To declare GraphQL schema types as Python classes, use
sgqlc.types.These type classes can then be used by
sgqlc.operationto generate and interpret GraphQL queries.sgqlc.codegenoffers code generation to help usingsgqlc.typesfrom schema introspection results (schema.json) andsgqlc.operationusing GraphQL Domain Specific Language (DSL) executable documents.sgqlc.types.datetimeprovides bindings fordatetimeand ISO 8601, whilesgqlc.types.relayexposesNode,PageInfoandConnectiontypes, useful for pagination.
- license:
ISC
Table of Contents¶
- sgqlc module
- sgqlc-codegen Tool
- sgqlc.types module
- sgqlc.types.datetime module
- sgqlc.types.relay module
- sgqlc.types.uuid module
- sgqlc.operation module
- sgqlc.endpoint module
- sgqlc.endpoint.base module
- sgqlc.endpoint.http module
- sgqlc.endpoint.requests module
- sgqlc.endpoint.websocket module
- sgqlc.introspection module
Indices and tables¶
- license:
ISC