  We present PyWiFeS, a new Python-based data reduction pipeline for the Wide
Field Spectrograph (WiFeS). PyWiFeS consists of a series of core data
processing routines built on standard scientific Python packages commonly used
in astronomical applications. Included in PyWiFeS is an implementation of a new
global optical model of the spectrograph which provides wavelengths solutions
accurate to $\sim$0.05 \AA\ (RMS) across the entire detector. The core PyWiFeS
package is designed to be scriptable to enable batch processing of large
quantities of data, and we present a default format for handling of observation
metadata and scripting of data reduction.
