The authors describe a package for analyzing magnetic resonance imaging (MRI) and functional MRI (fMRI) data, which is part of the Neuroimaging in Python (NIPY) project. An international group of leading statisticians, physicists, programmers, and neuroimaging methodologists are developing NIPY for wider use.