configglue is a library that glues together Python’s optparse.OptionParser and ConfigParser.ConfigParser, so that you don’t have to repeat yourself when you want to export the same options to a configuration file and a command-line interface.
The main features of configglue are:
Some of the benefits of using configglue are that it allows you to:
You can find a quickstart guide for configglue on Writing your first configglue-enabled application and you can get its code at http://launchpad.net/configglue.
As an additional bonus, there is another project called django-configglue which allows you to use all the benefits of configglue on your Django projects. You can find a quickstart guide for django-configglue on http://packages.python.org/django-configglue and you can get its code at http://launchpad.net/django-configglue.