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

Uploaded Python 3

File details

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

File metadata

  • Download URL: git-interface-0.8.2.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.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.2.tar.gz
Algorithm Hash digest
SHA256 fdd68f264ecd0f44b857fe4c56469478dfc43378d624ebcc4eb6798972801fc9
MD5 61868d32faf152be04b8e63bf095bf84
BLAKE2b-256 5a6e9864940ec903cfac991e413dcecbf7b10635298b6473993b0d3416f6bcce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: git_interface-0.8.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1f40ef07a4eb552b460d25c3eeb23c09c90c6ee7040555e144aab3727c902efd
MD5 9f9172915ad9c0a2f78b2c20d88e8735
BLAKE2b-256 ba5e900a550889695b271c616f24127fd811a120cc2540fbacdfd08a1d63bc84

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