Skip to main content

Gitconfig class and gitconfig variable for ~/.gitconfig

Project description

Install

github.com: pip install git+git://github.com/russianidiot/gitconfig.py.git

pypi.python.org: pip install gitconfig

download: python setup.py install or setup/.setup.py develop.command

Usage

from gitconfig import *

gitconfig.sections
>>> [...]

gitconfig.user.password
>>> 'secret'

gitconfig.not_existing
>>> None

Tested: python 2.6, 2.7, 3+

Bug Tracker: github.com/russianidiot/gitconfig.py/issues

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page