https://github.com/dbeley/github-scraper
Scripts to extract data from github
https://github.com/dbeley/github-scraper
github
Last synced: about 1 month ago
JSON representation
Scripts to extract data from github
- Host: GitHub
- URL: https://github.com/dbeley/github-scraper
- Owner: dbeley
- License: mit
- Created: 2019-04-28T11:53:17.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T07:43:53.000Z (over 3 years ago)
- Last Synced: 2025-01-10T10:46:27.963Z (over 1 year ago)
- Topics: github
- Language: Python
- Homepage:
- Size: 40 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github-scraper
## Requirements
- pandas
- pygithub
- tqdm
- working config.ini (see config_sample.ini for an example)
## Installation of the virtualenv (recommended)
```
pipenv install
```
## Usage
### repos_information_by_user
```
python repos_information_by_user.py -h
pipenv run python repos_information_by_user.py -h
```
```
usage: repos_information_by_user.py [-h] [--debug] [-u USER] [-f FILE]
Repos information by user
optional arguments:
-h, --help show this help message and exit
--debug Display debugging information
-u USER, --user USER Users to search (separated by comma)
-f FILE, --file FILE File containing the users (one by line)
```
### starred_repos
```
python starred_repos.py -h
pipenv run python starred_repos.py -h
```
```
usage: starred_repos.py [-h] [--debug] [-u USER]
Get github starred repos
optional arguments:
-h, --help show this help message and exit
--debug Display debugging information
-u USER, --user USER User (default : user logged by the config file)
```
### users_followed
```
python users_followed.py -h
pipenv run python users_followed.py -h
```
```
usage: users_followed.py [-h] [--debug] [-u USER]
Get the users followed by another user
optional arguments:
-h, --help show this help message and exit
--debug Display debugging information
-u USER, --user USER Users to search (separated by comma)
```