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

Uploaded Source

Built Distributions

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

Uploaded Python 3

sunpy-5.1.0rc1-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.1.0rc1-cp39-abi3-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.9+ macOS 11.0+ ARM64

sunpy-5.1.0rc1-cp39-abi3-macosx_10_9_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.9+ macOS 10.9+ x86-64

File details

Details for the file sunpy-5.1.0rc1.tar.gz.

File metadata

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

File hashes

Hashes for sunpy-5.1.0rc1.tar.gz
Algorithm Hash digest
SHA256 cfd3ed4725a8860a68d096668493f97037749fb9de4f4d80b5614f0c3d8abb7f
MD5 70009cbcfda78e576f1ba53f659a0baf
BLAKE2b-256 4b2dbe904fef73f16c291a3fab6dfefe535699dc397689215a4f6bf1feb2ac81

See more details on using hashes here.

File details

Details for the file sunpy-5.1.0rc1-py3-none-any.whl.

File metadata

  • Download URL: sunpy-5.1.0rc1-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.1.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 2edc3d1ab8992fa42f33f692acd3c67cac8aa26a2fa604e7e02e6c1d5738dce6
MD5 92d8b2227b02a7846cc815f0186fed9c
BLAKE2b-256 9b05e2d788ce615e347ef81fb4576c55535c7c1297bf5d28b926e6b50591a63b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sunpy-5.1.0rc1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 892882151c82d7f1f748f6da6a379cbd43c25944bbdeb65cc520429bf26b9d61
MD5 322337ab6536187cfdf30e1195e082ba
BLAKE2b-256 f8c4700636efd04286d0b1b6cb628c1827e9096dbb2961fcec0a16bb04b6dc89

See more details on using hashes here.

File details

Details for the file sunpy-5.1.0rc1-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sunpy-5.1.0rc1-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 46f1e196d11d175131c71fae9d279e7f92af0655a9c934be976dac6810b16954
MD5 be1e4157edf6c57f0e3a0c5a6ff17a7b
BLAKE2b-256 a1594c98f38fbf116b6b767355d987989f682e1459659519061b63de6869e2c6

See more details on using hashes here.

File details

Details for the file sunpy-5.1.0rc1-cp39-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for sunpy-5.1.0rc1-cp39-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7b67a0c260923878ec8b46c04a4d6566326a3d4788f3359572cf4c58641a8619
MD5 2955b318e04854fc01f53efcabe87f46
BLAKE2b-256 a89fcf321c911b753603727cfcff60b9574ab6b2c45a27195daeff79c5c2ed39

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