Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sgqlc-schemas

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sgqlc-schemas

A set of schemas for sgqlc package

  • 0.1.0
  • PyPI
  • Socket score

Maintainers
2

PyPI version

About

This package was created so that when using sgqlc (Simple GraphQL Client) you do not need to create schemas for popular APIs.

How to use

Installation

You can install this package either via the Python Package Index (PyPI) or from source.

To install using pip:

$ pip install -U sgqlc-schemas
Import schema and simple query
from sgqlc.endpoint.http import HTTPEndpoint
from sgqlc.operation import Operation
from sgqlc_schemas import github_schema

op = Operation(github_schema.query_type)
op.viewer().login()
endpoint = HTTPEndpoint('https://api.github.com/graphql', {'Authorization': f'bearer {token}'})
data = endpoint(op)

Current schemas

Contribution

This package welcomes any new contribution. Please create pull requests on GitHub.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc