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.9.2.tar.gz (14.5 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.9.2-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: git-interface-0.9.2.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for git-interface-0.9.2.tar.gz
Algorithm Hash digest
SHA256 6a2d5c2aff1373f83230410c1cc0bead281b21001a24a48bb4df6c363e6c0bb2
MD5 273ba41a7052f12a60652a7350ff100d
BLAKE2b-256 19e47de925ee7c67752e24811d16d325679d257744294932588420335d7c22f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: git_interface-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for git_interface-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 102daa48df00cbd59c69d764cd17ffd0f9027669c28dfa30f9cf228644aba03a
MD5 0cc985b1781ed2d7856bfae2ed0c95cc
BLAKE2b-256 e06c3b077eebd4195018646dd0af45ef5b6e9dfd90e45c4d95d155a34e2d4503

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