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.5.2.tar.gz (8.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.2-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: git-interface-0.5.2.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 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.2.tar.gz
Algorithm Hash digest
SHA256 6d755ebddfb86ec1626cc7f5148832c544a3e7d5eef06fb96515103a088cfd30
MD5 201bb3e1a6cd5b1ce1d0b6d3ab7336de
BLAKE2b-256 c92d357fc72683617a3f7c0e138b5651e7b18e4742f4a7379a088abb2651a0a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: git_interface-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 93ce005e34edffa7097acb077b032ef4c91cf46a0651e57b75b15fcb63ef51ef
MD5 2f9f2a0c24cd307badd9d244e8aa9730
BLAKE2b-256 fd772ec1935a46f39ad518cb583a7e1520fe2ea86cea04719f4985cebbab28cc

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