🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

mgraphql

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mgraphql

Python library link with graphql

0.0.5
PyPI
Maintainers
1

mgraphql

Python library link with graphql

from mgraphql import Mgraphql
query ="""
{
  viewer {
    login
  }
  rateLimit {
    limit
    cost
    remaining
    resetAt
  }
}
"""
variables = {

your variables

type Python Dictionary 

}
url = 'https://api.github.com/graphql'

token default none

mgraph = Mgraphql(url,token)
query =mgraph.query(query)
mutation =mgraph.mutation(query,variables)
print(mutation)
print(query)

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