Save-layers-as-images-in-GIMP is a project mainly written in Python, it's free.
GIMP plugin to save layers as images in GIMP
A simple plug-in to save layers as distinct images.
How to use it? Just copy the save_layers.py file to ~/.gimp-/plug-ins/