This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

dict-like API for GConf

Project Description

easygconf provids an easy, pythonic way to access GConf through a dict-like interface.

Example

from easygconf import GConfDict
import gtk


key = 'test'
gc=GConfDict('/apps/easygconftest')

print "%s is %s"%(key, gc[key])
gc[key] = 'foo'
print "Now %s is %s"%(key, gc[key])


def callback (key, value, gconfdict, id, args):
    print "%s changed to %s"%(key, value)

gc.add_listener('test', callback)
try:
    gtk.main()
except KeyboardInterrupt:
    pass
gc.unset('test')
Release History

Release History

This version
History Node

0.03

History Node

0.02

History Node

0.01

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting