Skip to main content

Python library link with graphql

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mgraphql-0.0.5.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mgraphql-0.0.5-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file mgraphql-0.0.5.tar.gz.

File metadata

  • Download URL: mgraphql-0.0.5.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for mgraphql-0.0.5.tar.gz
Algorithm Hash digest
SHA256 21216b9e319e681aabbaad3e3a0b0d227a855875721f3b0398ca90d4ccb1aec2
MD5 8ee8d36a4a73a4e01f1a927a59bcf73e
BLAKE2b-256 11b18298544ff5df90a5dbb566d6ea7a9a38319f07a21b7950b7265dbf1de951

See more details on using hashes here.

File details

Details for the file mgraphql-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: mgraphql-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for mgraphql-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 09dd09a2b6c8c012d42e7a05d0b87c02aff313958568f0737375aec34e6d0a7d
MD5 1214c2e3151b38c27535a9e8e45bf448
BLAKE2b-256 e54cad4374f9908d13caceb713615db9a0f9415869e3ba4fc865ee80813fb588

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page