Metadata-Version: 2.1
Name: pyggc
Version: 1.1.0
Summary: Bunch of Python functions for Git and GitHub CLI tasks.
Author-email: Nicholas Valentinus <nicho@scapeville.com>
License: MIT
Project-URL: Repository, https://github.com/scapeville/py-git-ghcli
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# Py-Git-GhCli

[![Run tests](https://github.com/scapeville/py-git-ghcli/actions/workflows/run-tests.yml/badge.svg)](https://github.com/scapeville/py-git-ghcli/actions/workflows/run-tests.yml)

Bunch of Python functions for Git and GitHub CLI tasks.


## Install

```shell
pip install pyggc
```


## Usage

```python
from pyggc.git.simple import clone

clone(
    url='https://github.com/scapeville/py-git-ghcli.git',
    cwd='/projects'
)
```

```python
from pyggc.git.simple import get_num_commits

num = get_num_commits('/projects/my-project')
print(num)
```

```python
from pyggc.ghcli.simple import get_stargazers

stars = get_stargazers(owner='scapeville', repo='py-git-ghcli')
print(stars)
```


## License

The scripts and documentation in this project are released under the MIT License.
