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

Uploaded Source

Built Distributions

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

Uploaded Python 3

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

Uploaded CPython 3.9+ macOS 11.0+ ARM64

sunpy-5.0.1-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.1.tar.gz.

File metadata

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

File hashes

Hashes for sunpy-5.0.1.tar.gz
Algorithm Hash digest
SHA256 eed9b2cb0c9f430d53f6aaf951b3c7fca47e0269a149a1ee9e479419128397e4
MD5 53762206b0d70b64d95d8cbc6a9d2ce6
BLAKE2b-256 4446074648082d12d73a6dec48dd6a381fa7c0a3389dfa7b59d0bf506fdb5653

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sunpy-5.0.1-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.5

File hashes

Hashes for sunpy-5.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 712a000b56b33ef3f3c57ede922f110f748284f7c1d7f6559fa508caaaaa6b20
MD5 e79527a786fd48ecdf214c15aab19c8f
BLAKE2b-256 67d275775dec926a6f055bee4feeb04e4a453b9907390cf0ffa9a847a6cd63f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sunpy-5.0.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 241c531ef9b899e22286d5bbbe54712460952b753edd5b2d81677499d1da3fec
MD5 6c32e277d52c7c64b110cda3140e6638
BLAKE2b-256 1fbf44657d55f69fe71aad65a4076c69dc1b04f686b085ceb252495f8f7a5869

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sunpy-5.0.1-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8e5acadf4c9bed703ff1551e58c5e7a4e840e44236aebc3f3958c8047511915b
MD5 a5292682b6414a8f7362d13092c7d01c
BLAKE2b-256 14c525db76f315ad59b0b69485aac76814bc8b7879e4fdc1d0d899b2cd3797c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sunpy-5.0.1-cp39-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5b1423047c392ea7644bfe1d62a36a801ae72d73eb077514d1f2573cc6766a51
MD5 c9d9c92ef08cd3d892c3a33b028d1d33
BLAKE2b-256 f7ffbdf939a6b9e1c34964c4d22d914177ddae1428b6a26a0d264296dd1118d1

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