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.0.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.0-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: git-interface-0.7.0.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.0.tar.gz
Algorithm Hash digest
SHA256 7f41356c8616eb2530a6b639c33677c4e2ca214dcf4d947d602c34a383e1d49d
MD5 e092d79b1cc4e91ac074302b6b975529
BLAKE2b-256 c1167b5c0b5aed2edbbfc0016c05734e7d43e082d746088f63ecc380f4f1bb1b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: git_interface-0.7.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f443c9ef26c469f7b7214499269e81d0d4f5b7b938c3d07db0623cbcc5c7d06
MD5 b86e1f2596d2a988bec06bd2f5b2c253
BLAKE2b-256 b5a8e1e458cc5c9c6c7160fe277e49c578cba6ec4f9d43e2c8e4c1113e9ecb6f

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