'git status' python wrapper
Project description
Install
$ [sudo] pip install git-status
Examples
git status -s
output
>>> import git_status
>>> git_status.get(".")
M path/to/modified
A path/to/added
D path/to/deleted
R path/to/renamed
?? path/to/untracked
Status
class
>>> status = git_status.Status(".")
>>> status.A
['path/to/added']
>>> status.M
['path/to/modified']
>>> status.D
['path/to/deleted']
>>> status.R
['path/to/renamed']
>>> status.untracked
['path/to/untracked']
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-status-0.0.2.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for git_status-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f75668166fef022e28b4d6b5910045721de3704d6bf6b0127a13747363013671 |
|
MD5 | 628a7ca1a5f0c95b1f224c54633ce6f9 |
|
BLAKE2b-256 | 5b89936e24a4b49302aee6b5bd188d75d0f0de0cff59f40ad8a0e164b996d164 |