title: How to consume the Github GraphQL API using Python?
body: <p>I want to access details from Github using Github GraphQl v4 API. I found <a href="https://github.com/graphql-python/graphene" rel="noreferrer">Graphene</a> library, but I'm not sure how to authenticate with a personal access token in Python.<br>
  I tried to search on Google but couldn't found any example. It's Python library that can create graphical schema's and are not for consuming them, I tried with `requests' but failed. How can i authenticate and can find list of repositories?</p>
  
  <p>I have used Github GraphQl explorer to find list of repositories via this code:</p>
  
  <pre><code>viewer {
  repositories(first: 30) {
    totalCount
    pageInfo {
      hasNextPage
      endCursor
    }
    edges {
      node {
        name
      }
    }
  }
  </code></pre>