74 questions
1
vote
1
answer
591
views
How to handle GitHub search API rate limits
I'm building an automated script to do some recurring search using GH search API. However I hit the "Secondary" rate limit sometimes. For referece I'm using github3.py library.
So my ...
0
votes
0
answers
57
views
Is the GitHub API down or am I doing something wrong?
I am attempting to use the github3 Python API and am encountering authentication errors when attempting to acess profile information.
To reproduce (after sudo pip install github3.py):
from github3 ...
0
votes
1
answer
201
views
How to solve exception 410 in python?
I am working to extract issues data from a repo on Github using Github3.py.
The following is a part of my code to extract issues from a repo:
I used these libraries in the main code:
from github3 ...
1
vote
0
answers
87
views
List of repositories that use github3 library
I am moving to github3 after spending a lot of time on GitHub API v3 and also trying PyGithub. No doubt, github3 is super fast, uses GitHub rate limit extremely efficiently and closely resemble native ...
0
votes
1
answer
789
views
How to put labels on new pull request using github3.py?
I saw that github3.py still doesn't have the attribute labels on Repository.create_pull() as in Repository.create_issue(). But there is the property labels on ShortPullRequest created. So I tried:
...
1
vote
1
answer
1k
views
How to get all merged pull requests since last tag was added using github3.py?
I am trying to identify all merged pull-requests that happened since last release was made. A release always has a tag, so the logic is to find any pull-requests that happened after that tag was ...
1
vote
0
answers
73
views
Github3.py returns only issues till May 2020 (1000 issues) but I need for past 2 years and then wish to plot using Line Chart
import github3, json, os.path
gh = github3.login(token="d6xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")#Access token
REPO = 'angular'#name of repository
...
0
votes
1
answer
227
views
GitHub App access to other repositories in organization
I have a Github App created under an organization and is installed to a repository under the same organization. This app needs read access to other repositories in the same organization for fetching ...
1
vote
1
answer
328
views
GItHub App access to repositories in organization
I have a Github App created under an organization and is installed to a repository under same organization. I tried reading a file from the same repository after authenticating using github3 ...
0
votes
1
answer
59
views
Can't have authorization for the app_installations methode
I'm working on a github application and my actual task is to retrieve list of github user account / github organization on which the app has been installed.
So basically, I'll be using the ...
1
vote
2
answers
2k
views
How to obtain the github organization and repository name from a local clone repository with python?
Apparently github3 module does require you to feed it github organization and repository name as is not able to guess them based on your current repository.
I also checked the https://pypi.org/...
0
votes
1
answer
122
views
Clone a Githubenterprise Repo using python libraries
I am using github3.py library for my remaining code modules.
So if possible can we use github3.py lib for cloning a repo or any other python library is also good.
0
votes
1
answer
682
views
Is there a way to include github3.py as an Ansible Playbook library or module, without installing via pip?
My playbook needs to be able to support adding a tag to a github repository when a production deployment is performed. The intent is to automate the generation of a release tag via Ansible's built in ...
7
votes
4
answers
3k
views
Issue with JWT token authentication in PyGithub
I want to create a github app in python, and I'm stuck at the authentication part. Since they don't support python by default, I have to use a third party library. After I generate the JWT token I can ...
1
vote
1
answer
397
views
Github3.py 1.3.0 Get timestamp for commit
I looked through the documentation and even the source code and I can't seem to figure out how to get the timestamp of a commit using the github3.py library. I'm, pretty sure it's there because, well, ...