All Questions
Tagged with github3.py python
53 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 ...
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 ...
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.
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, ...
1
vote
1
answer
237
views
github3.py v1.3.0 AttributeError: iter_repos
I am trying to iterate over all repositories in a private organization. Here is some example code that does not work on my machine (Windows 10, Python 3.6.5):
import github3
session = github3.login(...
2
votes
1
answer
182
views
Python Github3 library how to get the exact content of generator of ShortOrganization
I'm using the Github3 library to access the Github Enterprise API. I'm trying to get all organizations a specific user has, but after I got the generator of ShortOrganization, I don't know how to ...
0
votes
1
answer
219
views
github3.py login using ssh keys
Is there a way to use github3.py python library to access github with a SSH key?
I'm trying to create a service that writes on some repositories using a machine user for security reasons.
1
vote
1
answer
162
views
Can github3.py be used to find the parent/upstream of a forked repo?
Given a forked repo, how can I use github3.py to find the parent or upstream repo that it was forked from? This is fairly easy with requests but I can not figure out how to do it in github3.py.
With ...
2
votes
1
answer
637
views
github3.py Repository class is there a way to "Create" a branch?
Using version 1.0.0a4 of the github3.py library.
I am trying to create a new file in the repository on a new branch.
Assumption: gh is an authenticated object.
repo = gh.repository('User','Repo')
...