Skip to main content

Python library for GraphQL API interactions on Github Actions

Project description

githubgql

Python library for GraphQL API interactions on Github Actions.

Basic example:

from githubgql import githubgql

QUERY = """
query { 
  repository(owner: "github", name: "docs") {
    name
  }
}
"""

token = os.environ.get('BOT_TOKEN', None)

result = githubgql.graphql(QUERY, token)

More detailed examples are present in the source.

Packaged using tutorial on packaging.python.org. Uses gh-action-pypi-publish for automatic publishing.

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

githubgql-0.0.8.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

githubgql-0.0.8.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file githubgql-0.0.8.0.tar.gz.

File metadata

  • Download URL: githubgql-0.0.8.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for githubgql-0.0.8.0.tar.gz
Algorithm Hash digest
SHA256 e6d9420143fde6ff79b9f8bfeefcd475396b9a68cd3433300bfec085b280d636
MD5 70b231aa59b6c6c317a5f7d0e8c294fc
BLAKE2b-256 b5e41072f868b17e4d73625b18d69f22e9d2a1224b1944850fcaf5c7799b7cb9

See more details on using hashes here.

File details

Details for the file githubgql-0.0.8.0-py3-none-any.whl.

File metadata

  • Download URL: githubgql-0.0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for githubgql-0.0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8106fa9c282ce3af1b6c55bfd827b216b40d44a8550e547ad698d9e3367a1692
MD5 1512d23b95745488fd8d97fef95ddb29
BLAKE2b-256 5f92427818fb784ce08454add224357b036e984a26c2b3e1d698433d7e6834f9

See more details on using hashes here.

Supported by

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