Metadata-Version: 2.1
Name: github-repos
Version: 2019.2.26
Summary: get user github repos
Home-page: https://github.com/looking-for-a-job/github-repos.py
License: UNKNOWN
Keywords: github
Platform: UNKNOWN
Classifier: License :: Public Domain
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development
Description-Content-Type: text/markdown
Requires-Dist: PyGithub
Requires-Dist: click
Requires-Dist: public

[![](https://img.shields.io/pypi/pyversions/github-repos.svg?longCache=True)](https://pypi.org/project/github-repos/)

#### Install
```bash
$ [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)

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

<p align="center"><a href="https://pypi.org/project/readme-md/">readme-md</a> - README.md generator</p>

