Guest User

Untitled

a guest
Nov 12th, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. # List ONLY your own Github projects!
  2. from github import Github
  3. u = input('email:')
  4. p = input('password:')
  5. user = Github(u, p).get_user()
  6. repos = user.get_repos()
  7. for repo in repos:
  8. if user.login == repo.owner.login and not repo.private and not repo.fork:
  9. print(repo.name)
  10. print('\t', repo.clone_url.replace('.git', ''))
Add Comment
Please, Sign In to add comment