Skip to content
SunPy - Python for solar physics
Python Prolog
Find file
Pull request Compare This branch is 5606 commits behind sunpy:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


SunPy is an open-source Python library for solar physics data analysis.


To begin, installing the following requirements if you don't already have them:

Next, use git to grab the latest version of SunPy:

git clone git://

Done! In order to enable SunPy to be imported from any location you must make sure that the library is somewhere in your PYTHONPATH environmental variable. For now the easiest thing is to simply start Python from the directory you just downloaded. (TODO: Include in github)


Here is a quick example of plotting an AIA image:

>>> import sunpy
>>> import as cm
>>> m = sunpy.make_map(sunpy.AIA_171_IMAGE)

Getting Help

For more information or to ask questions about SunPy, check out:


If you would like to get involved, start by joining the SunPy mailing list and check out the Developer's Guide section of the SunPy docs. Stop by our IRC chat room named #sunpy on if you have any questions. Help is always welcome so let us know what you like to work on, or check out the issues page for a list of some known outstanding items.

Something went wrong with that request. Please try again.