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.1.0.tar.gz (3.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.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: git-interface-0.1.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for git-interface-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a1467368581fef27bde52904631045188e5afb45b1bd972b273aca7f5dc296fc
MD5 321f56f8868b2143715ae08264eab8ad
BLAKE2b-256 a597c6112d7c84c2a84a929e674271d11b3510686d83351d3dc2aed3eb101f81

See more details on using hashes here.

File details

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

File metadata

  • Download URL: git_interface-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for git_interface-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2320284cc687065d07d287010a4b4b453275905adc500a5dc34fea061a899564
MD5 385673949cab05c71ba4d8e07e016489
BLAKE2b-256 690c234057ec4e5078275d389b21032eb1bdaffcc5657962ae5ecabb11b1f924

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