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.3.tar.gz (6.6 MB view details)

Uploaded Source

Built Distributions

sunpy-1.0.3-py3-none-any.whl (6.6 MB view details)

Uploaded Python 3

sunpy-1.0.3-cp37-cp37m-manylinux1_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.7m

sunpy-1.0.3-cp37-cp37m-macosx_10_6_intel.whl (6.7 MB view details)

Uploaded CPython 3.7m macOS 10.6+ intel

sunpy-1.0.3-cp36-cp36m-manylinux1_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.6m

sunpy-1.0.3-cp36-cp36m-macosx_10_6_intel.whl (6.7 MB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

File details

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

File metadata

  • Download URL: sunpy-1.0.3.tar.gz
  • Upload date:
  • Size: 6.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for sunpy-1.0.3.tar.gz
Algorithm Hash digest
SHA256 0fd75a8ee4d6527f990beb2424be4ac97aad1f166cae449d9ac9fb00179db0a0
MD5 5e11306c64faac3492f4f0941ff6fab1
BLAKE2b-256 52418bef8b47455366a541b42c7a0bcb284a0f4dad1a9a34c3842a329c0879d8

See more details on using hashes here.

File details

Details for the file sunpy-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: sunpy-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for sunpy-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8a8ee32924693f2438764754e3626d95c65b641311865894e209955fe5ba1561
MD5 6c87b9fc323502aff5b96dfa3fdf6fd3
BLAKE2b-256 67131e152439af0873a1df8dbdc77d647bdade481054bcf4e2f1f9e73813ac30

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sunpy-1.0.3-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for sunpy-1.0.3-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8205d83bbd717700c8671132bbeacf13e9e24d51716c99f9c035eb795bbc86ee
MD5 71f272b975c35d31f2a93c46b3c6c2ab
BLAKE2b-256 71c76dcdc4f941eceb8db4368dfe50ccc9b953a042a06bd27f079787703b088f

See more details on using hashes here.

File details

Details for the file sunpy-1.0.3-cp37-cp37m-macosx_10_6_intel.whl.

File metadata

  • Download URL: sunpy-1.0.3-cp37-cp37m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: CPython 3.7m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for sunpy-1.0.3-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 528a2326eb205e273921a56648ff2fc187b82bc22e3932ec549a023199509a31
MD5 7a2d49f5ef6d8229c4c46fd093457943
BLAKE2b-256 0109a77aac5bf3108755662c7ee4a7e548ff9e04a180efb2dccd9f97de9aed02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sunpy-1.0.3-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for sunpy-1.0.3-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3c01c89c836ce162b6cdfba57ccb28346a74639f899c883a9387dde0c4a36bf3
MD5 45fd8d32d066c37a0c8485ca3b747597
BLAKE2b-256 f392876e0a42e3121903f22320e8317ca073c568fbf52e8a501e736bcfbbd032

See more details on using hashes here.

File details

Details for the file sunpy-1.0.3-cp36-cp36m-macosx_10_6_intel.whl.

File metadata

  • Download URL: sunpy-1.0.3-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: CPython 3.6m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for sunpy-1.0.3-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 4aba9d5203e1f8e39c3470b42660370a0c5f3f2f8b64ad6f0e5ded8f843af999
MD5 de332dc28e87c0435a983bb1cd91967d
BLAKE2b-256 5cf34c85531a885aad3a647df50069ea136df196d84537a9081390c4a309dee6

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