pafcu / ConfigObj-GUI

GUI for configuring configobj configurations
Other
6 stars 2 forks source link
configobj configobj-gui gui pyqt4 python

ConfigObj-GUI provides a PyQt based mechanism to edit ConfigObj configurations. It is intended to be used as a library to help configure PyQt based applications using ConfigObj.

Note that the library is not very robust yet as it has not been tested very much.

The basic usage is as follows:

import sys
from PyQt4.QtGui import QApplication
import configobj
import configobj_gui

app = QApplication(sys.argv)

spec = configobj.ConfigObj('yourspecfile', list_values=False)
conf = configobj.ConfigObj('yourconffile', configspec=spec)

wnd = configobj_gui.ConfigWindow(conf, spec)
wnd.show()

app.exec_()
print conf

Support the developer if you like this software:

Donate using Liberapay