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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file github-repos-2019.3.22.tar.gz.
File metadata
- Download URL: github-repos-2019.3.22.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
572d592034b19a84bf5cf6e5ea9179f3f96ea18459807c0056c2a087d5e09d84
|
|
| MD5 |
ea5876056763ffd6fdce64f8c9f50bc8
|
|
| BLAKE2b-256 |
dcb8ea4f4837ef42b3c283c53041ac12ddb08cee9cd2020264b1b7904d3f5488
|
File details
Details for the file github_repos-2019.3.22-py2.py3-none-any.whl.
File metadata
- Download URL: github_repos-2019.3.22-py2.py3-none-any.whl
- Upload date:
- Size: 52.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a26dd62e2f8235f0b1690d0854047f8752a98e228f8a9e89abfaab8847ba3253
|
|
| MD5 |
20a060eb515b8ec3af15637214785d11
|
|
| BLAKE2b-256 |
c7d00ef4da90752df24a06562948dad9660023515ea0005ed258a9c3a624f72a
|