From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.alt.net!cola.stump.algebra.com!robomod!not-for-mail From: Florian Diesch Newsgroups: comp.os.linux.announce Subject: ANN: easygconf 0.01 Date: Wed, 22 Jul 2009 20:03:11 -0500 Organization: Altopia Corp. - Usenet Access - www.altopia.com Message-ID: <87ws60ciu2.fsf@scenic.florian-diesch.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-Path: X-COLA-Policy: http://stump.algebra.com/~cola X-COLA-Info-1: Send submissions to cola@stump.algebra.com X-COLA-Info-2: Send complaints to cola-admin@stump.algebra.com X-Comment: moderators do not necessarily agree or disagree with this article. X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov) X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on ak74.algebra.com X-Spam-Status: No, score=-1.1 required=2.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,TW_YG autolearn=unavailable version=3.1.4 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) FromStump: yes X-Auth: PGPMoose V1.1 PGP comp.os.linux.announce iQBVAwUASme2zyFvAtx2nXvNAQEM2gH9F8RQyJDMKlTd5HFoCLp4pNGYuyjBtDim 6ERmxs5eUP7IdYHLBp7AecTnGV+/KTtHOZDfviPvNDE0DkE5+3f8wA== =87xP Xref: g2news2.google.com comp.os.linux.announce:220 I'm happy to announce easygconf 0.01 Get it at http://www.florian-diesch.de/software/easygconf/ easygconf is a Python module that provids an easy, pythonic way to access 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 -- ########################################################################## # Send submissions for comp.os.linux.announce to: cola@stump.algebra.com # # PLEASE remember a short description of the software and the LOCATION. # # This group is archived at http://stump.algebra.com/~cola/ # ##########################################################################