STScI Logo

PyFITS
PyFITS Download Page

PyFITS v3.3.0 (July 17 2014) is the current stable release. The 3.2.x, 3.1.x and 3.0.x series are still supported, with the latest bug fix releases PyFITS v3.2.4, PyFITS v3.1.6 (May 14 2014) and v3.0.13 (March 04 2014) respectively. For older release series such as v3.1.x and v3.0.x new patch releases will only be made upon request for mission-critical needs. PyFITS no longer supports numarray.

Changes from the previous version of PyFITS are described in the release notes. PyFITS depends on the following support software:

Installing PyFITS

PyFITS is distributed as distutils distribution. Installation simply involves unpacking the package and executing:

% python setup.py install

to install it in Python's site-packages directory. Alternatively the command

% python setup.py install --prefix="/destination/directory/"

will install PyFITS in an arbitrary tree. Once numpy has been installed, PyFITS should be available for use under Python.

PyFITS is also hosted on the Python Packaing Index and may be installed by running:

% pip install pyfits

or

% easy_install pyfits 

(pip is the Python package installer--see http://pypi.python.org/pypi/pip to get pip. easy_install can also be used.) Note for Windows users: Because pip only installs packages from source, using pip to install PyFITS may fail if you don't have a build environment set up. In this case either use easy_install, or download and run the Windows installer directly.

Note: The nightly tarball is no longer available. To install the latest development version of PyFITS, run:

% pip install svn+https://svn.assembla.com/svn/pyfits/trunk

or check out a working copy from SVN and install from there; see the Developing section below. Because this is the bleeding edge, it is not guaranteed to be stable.

Download

PyFITS SVN The latest PyFITS source code from Subversion
PyFITS GitHub The latest PyFITS source code from Git
PyFITS Version 3.3.0 Current stable release (Source)
PyFITS Version 3.3.0 Current stable release (Windows; Python 2.5)
PyFITS Version 3.3.0 Current stable release (Windows; Python 2.6)
PyFITS Version 3.3.0 Current stable release (Windows wheel; Python 2.6)
PyFITS Version 3.3.0 Current stable release (Windows; Python 2.7)
PyFITS Version 3.3.0 Current stable release (Windows wheel; Python 2.7)
PyFITS Version 3.3.0 Current stable release (Windows; Python 3.1)
PyFITS Version 3.3.0 Current stable release (Windows; Python 3.2)
PyFITS Version 3.3.0 Current stable release (Windows wheel; Python 3.2)
PyFITS Version 3.3.0 Current stable release (Windows; Python 3.3)
PyFITS Version 3.3.0 Current stable release (Windows wheel; Python 3.3)
PyFITS Version 3.3.0 Current stable release (Windows; Python 3.4)
PyFITS Version 3.3.0 Current stable release (Windows wheel; Python 3.4)
PyFITS Version 3.2.4 Current 3.2.x bugfix release (Source)
PyFITS Version 3.2.4 Current 3.2.x bugfix release (Windows; Python 2.5)
PyFITS Version 3.2.4 Current 3.2.x bugfix release (Windows; Python 2.6)
PyFITS Version 3.2.4 Current 3.2.x bugfix release (Windows; Python 2.7)
PyFITS Version 3.2.4 Current 3.2.x bugfix release (Windows; Python 3.1)
PyFITS Version 3.2.4 Current 3.2.x bugfix release (Windows; Python 3.2)
PyFITS Version 3.2.4 Current 3.2.x bugfix release (Windows; Python 3.3)
PyFITS Version 3.2.4 Current 3.2.x bugfix release (Windows; Python 3.4)
PyFITS Version 3.1.6 Current 3.1.x bugfix release (Source)
PyFITS Version 3.1.6 Current 3.1.x bugfix release (Windows; Python 2.5)
PyFITS Version 3.1.6 Current 3.1.x bugfix release (Windows; Python 2.6)
PyFITS Version 3.1.6 Current 3.1.x bugfix release (Windows; Python 2.7)
PyFITS Version 3.1.6 Current 3.1.x bugfix release (Windows; Python 3.1)
PyFITS Version 3.1.6 Current 3.1.x bugfix release (Windows; Python 3.2)
PyFITS Version 3.1.6 Current 3.1.x bugfix release (Windows; Python 3.3)
PyFITS Version 3.1.6 Current 3.1.x bugfix release (Windows; Python 3.4)
PyFITS Version 3.0.13 Current 3.0.x bugfix release (Source)
PyFITS Version 3.0.13 Current 3.0.x bugfix release (Windows; Python 2.5)
PyFITS Version 3.0.13 Current 3.0.x bugfix release (Windows; Python 2.6)
PyFITS Version 3.0.13 Current 3.0.x bugfix release (Windows; Python 2.7)
PyFITS Version 3.0.13 Current 3.0.x bugfix release (Windows; Python 3.1)
PyFITS Version 3.0.13 Current 3.0.x bugfix release (Windows; Python 3.2)
PyFITS Version 3.0.13 Current 3.0.x bugfix release (Windows; Python 3.3)

PyFITS requires the use of Numpy. Numpy can be downloaded from the Scipy development site

Developing

PyFITS uses Subversion to manage its source code. The root of the PyFITS repository is at: https://svn.assembla.com/svn/pyfits

To get a working copy of the development branch of PyFITS, run:

% svn checkout https://svn.assembla.com/svn/pyfits/trunk

or:

% git clone https://github.com/spacetelescope/PyFITS.git

This is recommended for doing any development of PyFITS.

Beg reports for PyFITS and pull requests should be submitted to the PyFITS GitHub or to the e-mail address below.

Questions? Contact help@stsci.edu