Skip to main content

'git status' parser

Project description


$ [sudo] pip install git-status



git status parser

@property description
A return list of added files
D return list of deleted files
M return list of modified files
R return list of renamed files
untracked return list of untracked files


function description
git_status.get(path=None) return git status string


>>> 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

>>> status.M

>>> status.D

>>> status.R

>>> status.untracked

readme-md - generator

Project details

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-2018.11.19.tar.gz (1.7 kB view hashes)

Uploaded source

Built Distribution

git_status-2018.11.19-py2.py3-none-any.whl (6.9 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page