Simple utility for getting the current git commit hash
Project description
githead
Simple utility for getting the current git commit hash.
Installation
The recommended installation method is through the PyPI package manager. The project is implemented in Rust and several pre-built binary wheels are available for Linux, macOS, and Windows, with support for both x64 and ARM architectures.
pip install githead
Basic usage
from githead import githead
githead() # -> 'bca663418428d603eea8243d08a5ded19eb19a34'
# defaults to '.git' directory but can be changed:
githead('path/to/.git')
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
githead-1.0.0.tar.gz
(12.0 kB
view hashes)
Built Distributions
githead-1.0.0-cp38-abi3-win_amd64.whl
(111.8 kB
view hashes)
Close
Hashes for githead-1.0.0-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0313bb27e3884a3fcc3cf6f0714b316a753999d271101d650b3c5dd9236b7acb |
|
MD5 | b38ea8b513b6a410c17310a45a221121 |
|
BLAKE2b-256 | 0d6ffc794573c082708bceb883b5ad879197e81d20e6b49c417896836b745185 |
Close
Hashes for githead-1.0.0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b71282277e2de72b55b49959140504112a98cad332b23a9dd537916fd6d467b |
|
MD5 | 713ff745419e7f6b250a32db81548e6e |
|
BLAKE2b-256 | 331a628c9dff67d11c0ba48beb2a04c698008a8afde695e85ac6424ca989ba35 |
Close
Hashes for githead-1.0.0-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23409ada992f850a81363316bc8ab74f2b1435a4784512ac7b71abf39dae0fbb |
|
MD5 | bfc42dff67d7887a16528cdbdbe57262 |
|
BLAKE2b-256 | 66373523971aa04b9df748fc35003463e4b509e31d9cf40989e2ed5db11f5996 |
Close
Hashes for githead-1.0.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb49907d0e5b2ffdb1723e14bd69c531bffa3e6c0d3421c73b3a811807554a53 |
|
MD5 | 2c2d3e83b82a8e2ee43b9daad1dbe7d5 |
|
BLAKE2b-256 | 66ed0c1b1f590264394f5db0cbb000c60b5e33b258b165678592f78d611d19c9 |
Close
Hashes for githead-1.0.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2062e0f0b4de2f80e1c4667d8ee14aef8d98c823a0b6881b9f39bc655e7d4a73 |
|
MD5 | 7b41dfd3a15d1bdc6e58da5b70e4d769 |
|
BLAKE2b-256 | 11c0ccf19778edd1cf77f181542a3cac10173440e6e5ded0c67d6bb22b2f3411 |
Close
Hashes for githead-1.0.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68b95e181d3476fb22e6da539731a040a4813f104bc6d1f3a773fa53132ca2b2 |
|
MD5 | 6a2ba411c0dd3f1983a693798ca1b124 |
|
BLAKE2b-256 | e3ce00cce15c003774d9cd1851aa7cce15eb97a93b92bc19bae015bca75eb3cb |
Close
Hashes for githead-1.0.0-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9e6826c3cbdaec899bb8bf1ba7369cc01622e20744f49c5bc66bc10795f9c69 |
|
MD5 | eba4ee765adad44982dad57f542c7de3 |
|
BLAKE2b-256 | 503fcf71025decda78a3ee70048f015400b7606d6a5672289fd2e42ab9442722 |