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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file git_interface-0.10.0.tar.gz.

File metadata

  • Download URL: git_interface-0.10.0.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for git_interface-0.10.0.tar.gz
Algorithm Hash digest
SHA256 6b11c7ec1a12eac019e224cefac1921bf58dd882ac734ade6333acd1fd32a490
MD5 faeac3062d604977f233c00de072da00
BLAKE2b-256 6c989089a7a48e749d8a87103b3b4e5d9fd2bd99c726b9f16f661344fb995c4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for git_interface-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52eccf18fe29cddb8b918daf3b656427b6650614e698366e68e7da35c9d9904e
MD5 af850e2601a06a7cb14877dd9b33d2cc
BLAKE2b-256 b54f8711f7751af9f5e6ef139155f61dfe6e02587bfd22f1bed348206bfeb6ce

See more details on using hashes here.

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