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.5.0.tar.gz (7.8 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.5.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: git-interface-0.5.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for git-interface-0.5.0.tar.gz
Algorithm Hash digest
SHA256 b2bb1bd8f652deb34c144ad3b51c770796d875e4f63ac888df4b441784bfb6a6
MD5 10bbbbd99e6500a0ac55dff98d3936a3
BLAKE2b-256 9c4899bab72e50f06571100d8643ea7f85b65c4b525df53bd787d120295002f4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: git_interface-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for git_interface-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f395ded7b9a9e7faeccefdf09814bc7bcea595c15b5262e7e61431874edacc1
MD5 6f6adc537d2286c575834b71c605886e
BLAKE2b-256 48946944648b589bfaa8bd5cd645d5e2f3887949a50f0b36bc2198bf308ef89b

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