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

import asyncio
from git_interface.branch import get_branches

head, other_branches = asyncio.run(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.9.0.tar.gz (14.3 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.9.0-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: git-interface-0.9.0.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for git-interface-0.9.0.tar.gz
Algorithm Hash digest
SHA256 650efdabd1c20787e915a79f1adcc7bf2684ff132bff8c4c7fb4cd94a0ccf780
MD5 a153e77829dc68d0159d082c9edf0803
BLAKE2b-256 215683688bd210fc35caecaca6f0451c21506acf1c7147d7fe0bd67abcc7bf52

See more details on using hashes here.

File details

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

File metadata

  • Download URL: git_interface-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for git_interface-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 818c7a20e7270eae9d0fe8800aafa22da4b6b2a2742e0ee347abad43fdd13f7e
MD5 06e74c50215031c4e0a7b8f7cfb09e4d
BLAKE2b-256 2e88dad4bba7aae743aee65005203b98585c1ad3e16b0c7787e3f4255c2b8c4c

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