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.8.1.tar.gz (12.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.8.1-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: git-interface-0.8.1.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for git-interface-0.8.1.tar.gz
Algorithm Hash digest
SHA256 7f8bb4fa0a825a2fe0689188a5281f56dbc4a5c3cc1e1de2ac718d7dddfee752
MD5 61c8911beac67190b18d0102769282af
BLAKE2b-256 f14a54089d803186cb1b7d60e29725aa4e44cbe0f0b6235a975406e8755ca663

See more details on using hashes here.

File details

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

File metadata

  • Download URL: git_interface-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for git_interface-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b0cf3cec2e876d42ee768d146e674b6f51c8ea5f5b51e67bc4094c259b8fbae
MD5 2869a2a9c871be9d827dcf19ddab87ad
BLAKE2b-256 65ab8e30271de489f987ef0c13718e77fd7a45c2a2029e114cc0fdf8d6719cda

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