Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # List ONLY your own Github projects!
- from github import Github
- u = input('email:')
- p = input('password:')
- user = Github(u, p).get_user()
- repos = user.get_repos()
- for repo in repos:
- if user.login == repo.owner.login and not repo.private and not repo.fork:
- print(repo.name)
- print('\t', repo.clone_url.replace('.git', ''))
Add Comment
Please, Sign In to add comment