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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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