Skip to main content

Use the git cli from Python

Project description

Git Interface

Documentation Status PyPI PyPI - Python Version PyPI - Downloads GitHub GitHub issues Lines of code GitHub last commit

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.6.0.tar.gz (9.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.6.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: git-interface-0.6.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for git-interface-0.6.0.tar.gz
Algorithm Hash digest
SHA256 5326024c939573da85d8d4131dc2ca02b240f6951b061e92bee89bf72409e297
MD5 daaf92a2f0c5be8b485b7dde08b999ad
BLAKE2b-256 db3263f279a0eb1c8d9f1f66b484fad0ad86edd25e93e97cfa84fa4b1579692e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: git_interface-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for git_interface-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5b291a4ab22c3d07db4724c466dbaf70d5e530fabc0804931c8611c69d350d5
MD5 3329ac50cc79594039cd7157d5a20b2b
BLAKE2b-256 b8c9b603910bf37479fb1d1ad6de3522ad5c3f25dc380aa22ea7aea2a2b43b2f

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