Skip to main content

Use the git cli from Python

Project description

Git Interface

Use the git cli from Python.

This project currently is not heavily tested and not fully feature complete

Requirements

  • Git (version 2.30)

Example Of Use

from git_interface.branch import get_branches

head, other_branches = get_branches("my_git_repo.git")

print("HEAD = ", head)
print("OTHER", other_branches)

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

git-interface-0.3.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

git_interface-0.3.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file git-interface-0.3.0.tar.gz.

File metadata

  • Download URL: git-interface-0.3.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for git-interface-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2bf1ce7c03875c08c93da17bb9f4f05daf00e42020fd8e65a63c12cf170e6c15
MD5 bc7f9fa59ec4b9167dccc428cce8dc71
BLAKE2b-256 de11185649d34380b0ac31639a7dfc0e0e413a2ccf92381c19ac35eccda24097

See more details on using hashes here.

File details

Details for the file git_interface-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: git_interface-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for git_interface-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd25c6fba8062b42285d02936452c5ab904109356236361074eda497ab2c6f8a
MD5 617e88eeebeea65cabafd1e09ddb8eb6
BLAKE2b-256 fabaa36f5019c1ffd64b5929ff614fe50331ef8c50944bdd895563b17fc55240

See more details on using hashes here.

Supported by

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