get user github repos
Project description
Install
$ [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 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
readme-md - README.md generator
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.2.26.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for github_repos-2019.2.26-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 503b3c3d6f0ef9a49f91203c1895717707eab9367217e3a6c39f23f45c866b6d |
|
MD5 | 49d3582bb2378191e794057f11e58aa2 |
|
BLAKE2b-256 | 50691273a8dbb81fa1122d86d26e170b75bbb63e78347e51f0d9b6c32854d401 |