Skip to main content

"SunPy: Python for Solar Physics"

Project description

Latest Version codecov matrix Research software impact DOI Powered by NumFOCUS

SunPy is an open-source Python library for Solar Physics data analysis and visualization. Our homepage SunPy has more information about the project.

For some examples of using SunPy see our gallery, to see the latest changes in SunPy see our Changelog.

Installation

The recommended way to install SunPy is with conda. To install SunPy once conda is installed run the following two commands:

$ conda config --append channels conda-forge
$ conda install sunpy

For detailed installation instructions, see the installation guide in the SunPy docs.

Developing

If you want to develop SunPy you will need to install from GitHub. The best way to do this is to create a new conda environment and install the git version of SunPy in it:

$ conda config --append channels conda-forge
$ conda create -n sunpy-dev sunpy
$ conda activate sunpy-dev
$ conda remove sunpy
$ git clone https://github.com/sunpy/sunpy.git sunpy-git
$ cd sunpy-git
$ pip install -e .[all,dev]

For detailed installation instructions, see the Newcomers’ guide in the SunPy docs.

Usage

Here is a quick example of plotting an AIA image:

>>> import sunpy.map
>>> from sunpy.data.sample import AIA_171_IMAGE
>>> aia = sunpy.map.Map(AIA_171_IMAGE)
>>> aia.peek()

Getting Help

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

Contributing

Open Source Helpers

If you would like to get involved, start by joining the SunPy mailing list and check out the Developers Guide section of the SunPy docs. Stop by our chat room #sunpy:openastronomy.org 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 the list of known outstanding items.

For more information on contributing to SunPy, please read our Newcomers’ guide.

Code of Conduct

When you are interacting with the SunPy community you are asked to follow our Code of Conduct.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sunpy-1.0.9.tar.gz (7.8 MB view details)

Uploaded Source

Built Distributions

sunpy-1.0.9-cp37-cp37m-manylinux2010_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

sunpy-1.0.9-cp37-cp37m-manylinux1_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.7m

sunpy-1.0.9-cp37-cp37m-macosx_10_9_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

sunpy-1.0.9-cp36-cp36m-manylinux2010_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

sunpy-1.0.9-cp36-cp36m-manylinux1_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.6m

sunpy-1.0.9-cp36-cp36m-macosx_10_9_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

Details for the file sunpy-1.0.9.tar.gz.

File metadata

  • Download URL: sunpy-1.0.9.tar.gz
  • Upload date:
  • Size: 7.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for sunpy-1.0.9.tar.gz
Algorithm Hash digest
SHA256 5aff337b8d8011b5ccc4c2e41c06359a839b124ea8c8fe756f61295256c3321a
MD5 d0253a6fb22a48bdea6ecfae99f8e58c
BLAKE2b-256 ce69be4dce59242f71bfd1c58cffd792d659bd310e5bd96a5e82712249a1153c

See more details on using hashes here.

File details

Details for the file sunpy-1.0.9-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: sunpy-1.0.9-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.8 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for sunpy-1.0.9-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 0269a342546a4e07f61a1043f9fa15d1c4f0669b17181b1be14754238b166350
MD5 2f1d8f825245e3ee868d8ebdb983a2f4
BLAKE2b-256 27438c3d5f21c6eb7216976ea368f5bac7abf0437be8f116c22c5c827c226425

See more details on using hashes here.

File details

Details for the file sunpy-1.0.9-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: sunpy-1.0.9-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.8 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for sunpy-1.0.9-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a77cb7bb1cf154969a9822294ef68445cdd53493db90d490534af9ab7183efc7
MD5 dc73b8481184715418cbadf94d85b173
BLAKE2b-256 566c76ff105ee4cf6737f484334aa0f30950278bf9ebeabc13958550d4e25020

See more details on using hashes here.

File details

Details for the file sunpy-1.0.9-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: sunpy-1.0.9-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for sunpy-1.0.9-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 212e0e2f00d641a9575540f7a3fe60081ebeda65c058f62bab4ba541c36e8a10
MD5 de4a1ee0baeb05e2508a638dfd687b03
BLAKE2b-256 9044f691a6db5f3eb9c53e8d409d1801430e7842c0537e0965f79af696021511

See more details on using hashes here.

File details

Details for the file sunpy-1.0.9-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: sunpy-1.0.9-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.8 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for sunpy-1.0.9-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 2036135b4a4d8363f9a28ea83d568d518c1e086af85dd11533aee63f3d3fe2e7
MD5 a78c2d11c3dee04836d71e41a4bf757c
BLAKE2b-256 6a520d31c4c2ea7a6b1585ee0f7df840aa866b9cac84a3e97bf786b24d0a4b05

See more details on using hashes here.

File details

Details for the file sunpy-1.0.9-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: sunpy-1.0.9-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.8 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for sunpy-1.0.9-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c15c8608f956e3e133508909937184a4469c3434679223a2ff70d71a96e88e95
MD5 d4e5261a1ee5ed80d7bf0a7eb4a41691
BLAKE2b-256 f3d4fa07af6b5cd8d84f0797a96756d975a42adc98494e6a6e80a165e110953c

See more details on using hashes here.

File details

Details for the file sunpy-1.0.9-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: sunpy-1.0.9-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for sunpy-1.0.9-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7acf53395ab9a99b0acc9cf84d0216f7681bd71bf2a331e0251e541d32c67261
MD5 1997e4eb2cea0ed71eb1ec848cdf9116
BLAKE2b-256 5598271399c0a5fd8b9c2f320df0c4ab5258f21c5b59185866df8fefe8854225

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page