Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Git repository for the PyFITS project; PyFITS is still actively maintained in SVN, but this repository exists to ease the migration into AstroPy (https://github.com/astropy/astropy)
Python C
Failed to load latest commit information.
cextern Upgrades CFITSIO to 3.35 and makes the necessary tweaks to the compre…
docs Totally restructured the documentation to match the structure of the …
pyfits numpydoc doesn't like a section called Note--I think the note directi…
scripts Moved the meat of the fitsdiff and fitscheck scripts into a new pyfit…
src Fix memory-access-after-free bug.
.authors Update .authors file after SVN move off of Assembla
.coveragerc Squashed commit of the following:
.gitattributes Add a .gitattributes file to prevent git from treating FITS files as …
.gitignore Fixed path to pyfits/version.py in .gitignore
.travis.yml Python 3.3 *should* be working now as well
CHANGES.txt Back to development: 3.4
FAQ.txt Added a mention of scale_back to the FAQ that was missing.
LICENSE.txt Update miscellaneous 2014s to 2015s
MANIFEST.in The MANIFEST.in appeared to exclude all the cextern files
README.txt The Trac/SVN sites are no longer on Assembla
ez_setup.py Update to the latest ez_setup.py
setup.cfg Remove the lib/ top-level directory over the pyfits package itself. T…
setup.py Require latest d2to1 since it includes some important fixes
tox.ini

README.txt

Documentation
===============
See the Users Guide and API documentation hosted at
http://pythonhosted.org/pyfits.

Important notice regarding the future of PyFITS
===============================================

All of the functionality of PyFITS is now available in `Astropy
<http://www.astropy.org>`_ as the `astropy.io.fits
<http://docs.astropy.org/en/stable/io/fits/index.html>`_ package, which is now
publicly available. Although we will continue to release PyFITS separately in
the short term, including any critical bug fixes, we will eventually stop
releasing new versions of PyFITS as a stand-alone product. The exact timing of
when we will discontinue new PyFITS releases is not yet settled, but users
should not expect PyFITS releases to extend much past early 2014. Users of
PyFITS should plan to make suitable changes to support the transition to
Astropy on such a timescale. For the vast majority of users this transition is
mainly a matter of changing the import statements in their code--all APIs are
otherwise identical to PyFITS.  STScI will continue to provide support for
questions related to PyFITS and to the new ``astropy.io.fits package`` in
Astropy.

Development
=============
PyFITS is now on GitHub at:
https://github.com/spacetelescope/PyFITS

To report an issue in PyFITS, please create an account on GitHub and submit
the issue there, or send an e-mail to help@stsci.edu.  Before submitting an
issue please search the existing issues for similar problems.  Before asking
for help, please check the PyFITS FAQ for answers to your questions:
http://pythonhosted.org/pyfits/appendix/faq.html

The latest source code can be checked out from git with::

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

An SVN mirror is still maintained as well::

  svn checkout https://aeon.stsci.edu/ssb/svn/pyfits/trunk

For Packagers
===============
As of version 3.2.0 PyFITS supports use of the standard CFITSIO library for
compression support.  A minimal copy of CFITSIO is included in the PyFITS
source under cextern/cfitsio.  Packagers wishing to link with an existing
system CFITSIO remove this directory and modify the setup.cfg as instructed
by the comments in that file.  CFITSIO support has been tested for versions
3.08 through 3.30.  The earliers known fully working version is 3.09.  Version
3.08 mostly works except for a bug in CFITSIO itself when decompressing some
images with BITPIX=-64.  Earlier versions *may* work but YMMV.  Please send in
any results of experimentation with other CFITSIO versions.
Something went wrong with that request. Please try again.