Note: This package is in the dangerous land of
0.x.yversions and may be subject to breaking changes with minor version increments.
nr.utils.git
A simple wrapper around the Git CLI.
Example
from nr.utils.git import Git
repo = Git().clone('/Volumes/git/linux', 'https://github.com/torvalds/linux')
assert repo.get_current_branch_name() == 'master'
print(repo.rev_parse('HEAD'))
Copyright © 2020 Niklas Rosenstein
Metadata
Release files for nr.utils.git 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nr.utils.git-0.4.1.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nr.utils.git-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.8 kB
Release files / nr.utils.git-0.4.1.tar.gz
| Download URL | nr.utils.git-0.4.1.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
566dd69d2a99c2df47e692d6e8e844ef16be3270775731759867796e86bbcdd2
|
|
BLAKE2b-256 checksum How to use checksums |
65de5007f6fce854cb64cd4efacbaf3fbb8b229e33b51a67efaeb54f28ed3074
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1
|
Release files / nr.utils.git-0.4.1-py3-none-any.whl
| Download URL | nr.utils.git-0.4.1-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dad64a6eb0a6eeba8bff8c8c301b29d2bef51cab00ba1df05d92862fd3aab4aa
|
|
BLAKE2b-256 checksum How to use checksums |
cdf447ac852c2a2b7dbc995dcfd71a7da8ba5d6de59b52ae4f65b154d372e6b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1
|