Skip to main content

Bunch of Python functions for Git and GitHub CLI tasks.

Project description

Py-Git-GhCli

Run tests

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


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.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

pyggc-1.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file pyggc-1.1.0.tar.gz.

File metadata

  • Download URL: pyggc-1.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyggc-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e47e7973a83528aed732e53cb522b998e07fbf4c6b36a4e914dfdaa3bdec487f
MD5 af54bc213e7fa3b234dac6308e28a307
BLAKE2b-256 80e44c0416ba59da8b7e357987368e90ce8cd41ef185d0e50cbcb0b7a0288273

See more details on using hashes here.

File details

Details for the file pyggc-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyggc-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyggc-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69c44b1b5d3021fde56681d71ba6182589907184298ac3b2f8fa07f64e7dd8fd
MD5 1130af0d28141b513cad596dea9efc2a
BLAKE2b-256 e603e0ada3ef6ceab2458ba6adba01cafddb1907343e6b573e8afebd6c4c9e14

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page