semvec/pypi-packages huggingface dataset:
github-follow 2019.2.24
follow/unfollow github users
Keywords: github

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

#### Install
```bash
$ [sudo] pip install github-follow
```

#### Config
bash|python
-|-
`export GITHUB_TOKEN="your_github_token"`|`os.environ["GITHUB_TOKEN"]="your_github_token"`

#### Functions
function|`__doc__`
-|-
`github_follow.follow(username)`|follow a user
`github_follow.followers(username=None)`|return list of followers
`github_follow.following(username=None)`|return list of users followed by user
`github_follow.unfollow(username)`|unfollow a user

#### CLI
usage|`__doc__`
-|-
`python -m github_follow.follow username ...`|follow a user
`python -m github_follow.followers [username]`|print followers
`python -m github_follow.following [username]`|print following users
`python -m github_follow.unfollow username ...`|unfollow a user

#### Examples
```bash
$ python -m github_follow.follow "username"
$ python -m github_follow.unfollow "username"
```

```bash
$ python -m github_follow.followers             # my followers
$ python -m github_follow.followers "username"  # another user followers
```

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