Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/namescode/hub_harvester

A python script to gather data on a user or organisations git repos
https://github.com/namescode/hub_harvester

data github nix nix-flake python python3 sqlite

Last synced: 3 days ago
JSON representation

A python script to gather data on a user or organisations git repos

Awesome Lists containing this project

README

        

# Hub harvester
Gathers data from GitHub about a user or organisation by using the GitHub API to crawl its repositories.
This will be rather slow, so I recommend using an authentication token to help speed it up.

For documentation on how the `SQLite` database is formatted you can find it [here](docs/sqlite.md)
## Usage
- Install the `PyGithub` package:
```bash
pip install pygithub
```
- Run the script in `src/`: **This will take a while to crawl**
```bash
python src/main.py
```

OR run the following:
```bash
git clone https://github.com/NamesCode/hub_harvester.git
cd hub_harvester
pip install pygithub
python src/main.py
```

### Using Nix
Run the following:
```bash
git clone https://github.com/NamesCode/hub_harvester.git
cd hub_harvester
nix develop
python src/main.py
```