Skip to main content

get user github repos

Project description


$ [sudo] pip install github-repos


bash python
export GITHUB_TOKEN="your_github_token" os.environ["GITHUB_TOKEN"]="your_github_token"


delete orphaned repos (if basename = repo name)

$ cd ~/git/owner
$ python -m github_repos | awk -F '/' '{print $2}' | grep -v -iF "$(ls -1)" | xargs python -m github_delete

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

github-repos-2020.12.3.tar.gz (1.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page