Bunch of Python functions for Git and GitHub CLI tasks.
Project description
Py-Git-GhCli
Bunch of Python functions for Git and GitHub CLI tasks.
Install
pip install pyggc
Usage
from pyggc.git.simple import clone
clone(
url='https://github.com/scapeville/py-git-ghcli.git',
cwd='/projects'
)
from pyggc.git.simple import get_num_commits
num = get_num_commits('/projects/my-project')
print(num)
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyggc-1.0.0.tar.gz
(2.6 kB
view details)
Built Distribution
pyggc-1.0.0-py3-none-any.whl
(3.3 kB
view details)
File details
Details for the file pyggc-1.0.0.tar.gz
.
File metadata
- Download URL: pyggc-1.0.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43aa4b47fb06bbc6b1b8c67e87cf4954cddf174db28a88d962439088f45f582b |
|
MD5 | 3231fcbf00b9adb8886492e7f1727e39 |
|
BLAKE2b-256 | 6d406b4015cfbc61252a58c022f4a8d9a1c7f31b3313a12a4be2868fae31d5f6 |
File details
Details for the file pyggc-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: pyggc-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 228863cffd18cce1fed0a31924b9a102649a6431b8a75c2c50c3814d3dd175b5 |
|
MD5 | 72588137a18efe52357c047acf991236 |
|
BLAKE2b-256 | 8f69c60320edd4d41f2d0708c8bf30cc7ea52fbbff7a33016edd4a86ddf3bb63 |