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.py/.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

Project details


Supported by

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