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.7.1.tar.gz (10.7 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.7.1-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: git-interface-0.7.1.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for git-interface-0.7.1.tar.gz
Algorithm Hash digest
SHA256 ebccd90ec84aa2446049147f17b456b2f4153ba09ff1a4205faf8607be6bd973
MD5 98bf64c0407dd9fd8dfa1e684002a6bb
BLAKE2b-256 273a4636a513192504a881f9fafe21318518c8d091651de5a8e6f1159dba0b16

See more details on using hashes here.

File details

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

File metadata

  • Download URL: git_interface-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for git_interface-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c0bb76bf78fb911335041842244c4361f97a4a49e09349fc1d877da73210c41b
MD5 f59891ef5788b9ec36e87909b6a786a5
BLAKE2b-256 3eff605096ea097f161d0d0ad32ac4698bb09eb337c99c7979051314f8526f9f

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