What is easygconf?¶
easygconf provids an easy, pythonic way to access GConf through a dict-like interface.
>>> from easygconf import GConfDict >>> gc=GConfDict('/apps/test-application') >>> >>> gc['title'] >>> gc['title']='Hello world!' >>> gc['title'] 'Hello world!' >>> >>> gc['list']=range(3) >>> gc['list'] (0, 1, 2) >>> >>> gc.unset('title') >>> gc.unset('list') >>> gc['title'] >>> gc['list'] >>> >>> gc.sync()
easygconf is alpha software. So far it seems to work for me but it may have severe bugs I didn’t noticed yet. Use it at your own risk.
easygconf is still under development and the API may change in the future.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the (error in elisp evaluation: Symbol’s value as variable is void: GNU)_ for more details.
Get it using easy_install
> easy_install easygconf
or download it here:
|easygconf-0.03.tar.gz||10.9 KByte||2010-02-16 17:35||654e9d5a593b95badd1e7656e2ee1963|
|easygconf-0.03-doc.tar.gz||25.1 KByte||2010-02-16 17:35||6d5a8d061bfdaaeaea747715986494a7|
The documentation tarball contains on offline version of the API documentation. It is not included in the source tarball.