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.8.0.tar.gz
(12.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c64648648ab20b3ff7d2ae9c3767a3c7eda1f405d0c0a8b7acc0cb9629b882d
|
|
| MD5 |
44f46e11f8da92096dde60cc9cb36b9f
|
|
| BLAKE2b-256 |
e1a8d8747acecb1eb74ac6af4a71ff2404af60b05aad7bab2271f452e8d915fc
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69102e5c2574808668e174a96a9b66428df06c83e6135bcad74b909220bbbdf1
|
|
| MD5 |
9c9fb231cd634007ade3cee6a4165b65
|
|
| BLAKE2b-256 |
6b346ed1f75d0abd1c5f9d11deeda5c3f53e7482fb68ad9732ee84a75586404c
|