Skip to main content

SunPy core package: Python for Solar Physics

Project description

Latest Version DOI Project Status: Active – The project has reached a stable, usable state and is being actively developed. PyPI - Python Version CI codecov Documentation Status matrix Powered by NumFOCUS

sunpy is a Python software package that provides fundamental tools for accessing, loading and interacting with solar physics data in Python. It is the core library of the SunPy 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 miniforge. To install sunpy once miniforge is installed run the following command:

$ conda install sunpy

For detailed installation instructions, see the installation 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
>>>
>>> import matplotlib.pyplot as plt
>>>
>>> aia = sunpy.map.Map(AIA_171_IMAGE)
>>>
>>> aia.plot()
>>>
>>> plt.show()

Getting Help

For more information or to ask questions about sunpy or any other SunPy library, check out:

Acknowledging or Citing sunpy

If you use sunpy in your scientific work, we would appreciate your citing it in your publications. The continued growth and development of sunpy is dependent on the community being aware of sunpy.

Contributing

If you would like to get involved, start by joining the SunPy Chat and check out our Newcomers’ guide. This will walk you through getting set up for contributing.

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

Uploaded Source

Built Distributions

sunpy-5.0.2-py3-none-any.whl (3.2 MB view details)

Uploaded Python 3

sunpy-5.0.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.9+ manylinux: glibc 2.17+ x86-64

sunpy-5.0.2-cp39-abi3-macosx_11_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.9+ macOS 11.0+ ARM64

sunpy-5.0.2-cp39-abi3-macosx_10_9_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.9+ macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: sunpy-5.0.2.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for sunpy-5.0.2.tar.gz
Algorithm Hash digest
SHA256 7d5f93142a5d4de49457cf0b59708e9759d2b37ef2d0dd8f34a3b6a03f506470
MD5 f7a29b622c3630ebb2ab7ca28580e7a6
BLAKE2b-256 273d841938b7217cfbc3305a8ce66f2c24737672e942d32d542566ae600e2462

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sunpy-5.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for sunpy-5.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ff782653695027eeedfb7a880d8c90dbbc51ee33bb514960ad67a1c9aae69aa8
MD5 2c39a10a7f492d13b9d8c1f3c68afbbd
BLAKE2b-256 cb94daf5054d94c753125f1ff97f691f9ddd20147501adff8f25f0d5569bb779

See more details on using hashes here.

File details

Details for the file sunpy-5.0.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sunpy-5.0.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 081f1dbd78c5c6cc68180416e6e3d1aa71159685e3ba7ca806d2e5c4793be767
MD5 bc3bcc585babd20433522d5837aae901
BLAKE2b-256 badc35fb0717c054cb9ee6bfa484ad26977d84c65555b5436d613304f37567f6

See more details on using hashes here.

File details

Details for the file sunpy-5.0.2-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sunpy-5.0.2-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2eb10a877dcb462d929f2e6dab0fc3a4506bcbd6609d7189f7b79d62d508bc24
MD5 a0926f9b8638fb2965e3a9cc77833094
BLAKE2b-256 14e359454cdb65f36a9c4e6724682d32836e5ed0f676fa6b9b4036a0638aea4a

See more details on using hashes here.

File details

Details for the file sunpy-5.0.2-cp39-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for sunpy-5.0.2-cp39-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2f3b943374cd47d7ffca67911aaffa9a0e017dc32f9865610cb9f2b058331f3f
MD5 6bdd0357b8529b5398ae7507c87661d0
BLAKE2b-256 1e8e37f50df3a7c371c3d2e6fcd8acb80c0d4ae5b5de8d4c735e53c968ae3a63

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