Skip to main content

Use the git cli from Python

Project description

Git Interface

PyPI PyPI - Python Version PyPI - Downloads GitHub GitHub issues 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.10.0.tar.gz (16.7 kB view hashes)

Uploaded Source

Built Distribution

git_interface-0.10.0-py3-none-any.whl (20.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page