Skip to main content

'git status' parser

Project description


$ [sudo] pip install git-status


class __doc__
git_status.Status git status parser


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


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
git-status-2019.4.13.tar.gz (1.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page