Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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

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