Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
702 views

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 ...
po5i's user avatar
  • 558
0 votes
1 answer
213 views

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 ...
Balive13's user avatar
  • 119
0 votes
1 answer
846 views

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: ...
staticdev's user avatar
  • 3,080
1 vote
0 answers
73 views

import github3, json, os.path gh = github3.login(token="d6xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")#Access token REPO = 'angular'#name of repository ...
John's user avatar
  • 23
1 vote
1 answer
340 views

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 ...
Sirish Kumar Bethala's user avatar
1 vote
2 answers
2k views

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/...
sorin's user avatar
  • 173k
0 votes
1 answer
720 views

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 ...
Link's user avatar
  • 23
1 vote
1 answer
418 views

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, ...
Kai Arakawa's user avatar
2 votes
1 answer
183 views

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 ...
Minwu Yu's user avatar
  • 311
1 vote
1 answer
170 views

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 ...
cclauss's user avatar
  • 779
2 votes
1 answer
656 views

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') ...
Matt 's user avatar
  • 21
1 vote
1 answer
2k views

We tag commits on a weekly basis, and I want to issue a report to see the tag names and their content, I tried the following using python 3.x and github3 import github3 g = github3.login(token='...
Naim Salameh's user avatar
0 votes
2 answers
699 views

I'm using python github3 module and i need to set delay between request to github api, because my app make to much load on server. I'm doing things such as git = github3.GitHub() for i in itertools....
Vova's user avatar
  • 688
0 votes
1 answer
235 views

I'm writing an ETL job where I keep an updated list of commits, pull requests, and files from our GitHub repos in our data warehouse. I'm currently storing and passing in etags to the various ...
flybonzai's user avatar
  • 3,991
0 votes
1 answer
335 views

I'm building a GitHub application to pull commit information from our internal repos. I'm using the following code to iterate over all commits: gh = login(token=gc.ACCESS_TOKEN) for repo in gh....
flybonzai's user avatar
  • 3,991
0 votes
1 answer
524 views

gist_ids = 'abc' def main(): gh = github3.login ( token=os.environ.get('my_token'), url=' ') my_gist = gh.gist(gist_ids) resp = github3.gists....
chris evans's user avatar
3 votes
2 answers
11k views

I am currently using github3.py version 0.9.6, and am receiving an error upon invoking the github3.organization(login) function: Traceback (most recent call last): File "Main.py", line 23, in <...
edigiovine's user avatar
3 votes
1 answer
3k views

The task: (using GitHub API) 1) get all closed milestones for a given repo 2) get all issues for that milestone 3) for every issue get it's description 4) finally, using Markdown for example, create ...
Naim Salameh's user avatar
1 vote
0 answers
370 views

I'm trying to retrieve the latest (last) description attribute of the status of a pull request by making the following call below. And, then create logic from there on how to process the pull request ...
DBS's user avatar
  • 1,157
0 votes
0 answers
263 views

I want to use github3.py module on my pyramid application. In my develop enviroment, I can install github3.py via pip and this works fine. But I need to add github3.py to setup.py for production ...
yazaki's user avatar
  • 1,642
0 votes
1 answer
2k views

Using github3.py, I want to retrieve the last comment in the list of comments associated with a pull request and then search it for a string. I've tried the code below, but I get the error TypeError: ...
DBS's user avatar
  • 1,157
1 vote
2 answers
182 views

Using github3.py 1.0.0a4, I am trying to make a basic "server" program that creates, updates, deletes, and fetches files. However, my program raises "InvalidSchema" on attempt to create a file. Why? I ...
user avatar
0 votes
2 answers
100 views

Does anytone knows if github3py is threadsafe. Specifically: GitHub.repository() Repository.iter_pulls() Repository.branch() Repository.create_status() None of the threads edit the objects, just ...
Aviv's user avatar
  • 15
1 vote
1 answer
265 views

I'm using github3.py to access my organization's Github account, and we have two-factor authentication enabled. I'm starting by listing the repositories. Here's the code: import os import github3 ...
holdenweb's user avatar
  • 37.8k
0 votes
1 answer
649 views

I'm able to successfully list tags from a repository using github3 using: repo.iter_refs(subspace='tags') That results in a generator of github3.git.Reference objects. Is there a way for me use a ...
Piotrek's user avatar
  • 122