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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21216b9e319e681aabbaad3e3a0b0d227a855875721f3b0398ca90d4ccb1aec2
|
|
| MD5 |
8ee8d36a4a73a4e01f1a927a59bcf73e
|
|
| BLAKE2b-256 |
11b18298544ff5df90a5dbb566d6ea7a9a38319f07a21b7950b7265dbf1de951
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09dd09a2b6c8c012d42e7a05d0b87c02aff313958568f0737375aec34e6d0a7d
|
|
| MD5 |
1214c2e3151b38c27535a9e8e45bf448
|
|
| BLAKE2b-256 |
e54cad4374f9908d13caceb713615db9a0f9415869e3ba4fc865ee80813fb588
|