functional python exporter