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 Binder 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.0.tar.gz (3.7 MB view details)

Uploaded Source

Built Distributions

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

Uploaded Python 3

sunpy-5.0.0-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.0-cp39-abi3-macosx_11_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.9+ macOS 11.0+ ARM64

sunpy-5.0.0-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.0.tar.gz.

File metadata

  • Download URL: sunpy-5.0.0.tar.gz
  • Upload date:
  • Size: 3.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for sunpy-5.0.0.tar.gz
Algorithm Hash digest
SHA256 d5c33a048ce03ece2afdb3f869ce74cc0b36891c08c074dce2d7a0af10f3e5f0
MD5 f30c2e69e026dff2c1fda08b307c28a8
BLAKE2b-256 7550846a87dbea1a0eceb911182417af674b8ec983f854ace66cc47975639c58

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for sunpy-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d31831ddee42068bfcd49faee85277cffee16805814bfdece58ebdbffffddb0a
MD5 99b3ee7ac4d9de66dba12e5d850249c2
BLAKE2b-256 21a92ced3133eb4b8a426a85740cfef3d10ac7e817e76f4c76a9b74a375f7953

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sunpy-5.0.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 474ac0584699a060f4c6ef2c032ba261feb5874118b58d55b81d89dc8e40e9e9
MD5 aa07842940f012cd0d0adef3cea50c22
BLAKE2b-256 7f8fc2b79c34859501eb47f47ae68b1354b3af4aabd0407f8ed392dd2f970d1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sunpy-5.0.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f643875d779a5dbc18daccca1615b02d4ed68aff5805a9f137351ca59a1c0427
MD5 f1f1b69e6992574767dce187e4d10b2c
BLAKE2b-256 3f1816fb79b747ea0b5ba57c0b17fec32040906d53531a87ff015f88a00f77e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sunpy-5.0.0-cp39-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 23eb82254aa8f87a54f53f83fb893074e8718c2a86ee5a39d5f343498f81b9a5
MD5 c1128a0078905dd103e0d3e31fa84599
BLAKE2b-256 b219253064452ff150bf9fda3d800ef5739a365223cad6893a7980033cb03d81

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