Gitconfig class and gitconfig variable for ~/.gitconfig


Keywords
git config, python
License
DSDP
Install
pip install gitconfig==1.0.2

Documentation

Travis

Install

$ [sudo] pip install gitconfig

Examples

from gitconfig import gitconfig

gitconfig.sections
>>> [...]

gitconfig.user.password
>>> 'secret'

gitconfig.not_existing
>>> None

Sources