Use the git cli from Python
Project description
Git Interface
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
Release history Release notifications | RSS feed
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.10.0.tar.gz
(16.7 kB
view details)
Built Distribution
File details
Details for the file git_interface-0.10.0.tar.gz
.
File metadata
- Download URL: git_interface-0.10.0.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b11c7ec1a12eac019e224cefac1921bf58dd882ac734ade6333acd1fd32a490 |
|
MD5 | faeac3062d604977f233c00de072da00 |
|
BLAKE2b-256 | 6c989089a7a48e749d8a87103b3b4e5d9fd2bd99c726b9f16f661344fb995c4a |
File details
Details for the file git_interface-0.10.0-py3-none-any.whl
.
File metadata
- Download URL: git_interface-0.10.0-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52eccf18fe29cddb8b918daf3b656427b6650614e698366e68e7da35c9d9904e |
|
MD5 | af850e2601a06a7cb14877dd9b33d2cc |
|
BLAKE2b-256 | b54f8711f7751af9f5e6ef139155f61dfe6e02587bfd22f1bed348206bfeb6ce |