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 |
CLI
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
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-2019.3.22.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for github_repos-2019.3.22-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a26dd62e2f8235f0b1690d0854047f8752a98e228f8a9e89abfaab8847ba3253 |
|
MD5 | 20a060eb515b8ec3af15637214785d11 |
|
BLAKE2b-256 | c7d00ef4da90752df24a06562948dad9660023515ea0005ed258a9c3a624f72a |