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

Uploaded Python 3

File details

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

File metadata

  • Download URL: git-interface-0.8.0.tar.gz
  • Upload date:
  • Size: 12.2 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.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

File hashes

Hashes for git-interface-0.8.0.tar.gz
Algorithm Hash digest
SHA256 5c64648648ab20b3ff7d2ae9c3767a3c7eda1f405d0c0a8b7acc0cb9629b882d
MD5 44f46e11f8da92096dde60cc9cb36b9f
BLAKE2b-256 e1a8d8747acecb1eb74ac6af4a71ff2404af60b05aad7bab2271f452e8d915fc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: git_interface-0.8.0-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.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

File hashes

Hashes for git_interface-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69102e5c2574808668e174a96a9b66428df06c83e6135bcad74b909220bbbdf1
MD5 9c9fb231cd634007ade3cee6a4165b65
BLAKE2b-256 6b346ed1f75d0abd1c5f9d11deeda5c3f53e7482fb68ad9732ee84a75586404c

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