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.1.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.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: git-interface-0.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 1474f88480d15e6c7aec4705f42239b4fe49b5fb382e6f32db1c028bcc64c86d
MD5 9fdfcfc5fcb545ae20a577bebe8cef57
BLAKE2b-256 ff08f8da1e046578490ee5c80dc7b2a9b095ac123b6f6c5921118f4a5348d3b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: git_interface-0.3.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a481834903a972bc2f5d2ebb213d380be7705ebdf171eb0ef390375283ea3c40
MD5 6be1bc0a4cda73dae1ed8c516b9627d3
BLAKE2b-256 e81f802fed70a14152a6b44cc66d8650d7c38c4e6a71dd6b6002a1ed0fcfe648

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