def config():
    """
    Loads and returns a ConfigParser from ``~/.deepdish.conf``.
    """
    conf = ConfigParser()
    # Set up defaults
    conf.add_section('io')
    conf.set('io', 'compression', 'zlib')

    conf.read(os.path.expanduser('~/.deepdish.conf'))
    return conf