ANN: easygconf 0.01
[Posted July 27, 2009 by cook]
| From: |
| Florian Diesch <diesch-AT-spamfence.net> |
| To: |
| python-announce-list-AT-python.org |
| Subject: |
| ANN: easygconf 0.01 |
| Date: |
| Thu, 23 Jul 2009 03:00:56 +0200 |
| Message-ID: |
| <871vo8dxh3.fsf@scenic.florian-diesch.de> |
I'm happy to announce easygconf 0.01
Get it at http://www.florian-diesch.de/software/easygconf/
easygconf provids an easy, pythonic way to access GConf
<http://projects.gnome.org/gconf/> through a dict-like interface.
Example
-------
>>> 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()
Florian
--
<http://www.florian-diesch.de/>
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/