Skip to main content

get user github repos

Project description

Installation

$ [sudo] pip install github-repos

Config

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

Functions

function __doc__
github_repos.repos(login=None) return a list of user repos

Executable modules

usage __doc__
python -m github_repos [login] print user repos

Examples

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

python-readme-generator

Project details


Download files

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

Files for github-repos, version 2019.4.13
Filename, size File type Python version Upload date Hashes
Filename, size github-repos-2019.4.13.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page