Skip to main content

SunPy core package: Python for Solar Physics

Project description

Latest Version DOI matrix codecov 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-4.1.0.tar.gz (5.0 MB view details)

Uploaded Source

Built Distributions

sunpy-4.1.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.7 MB view details)

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

sunpy-4.1.0-cp38-abi3-macosx_11_0_arm64.whl (4.6 MB view details)

Uploaded CPython 3.8+ macOS 11.0+ ARM64

sunpy-4.1.0-cp38-abi3-macosx_10_9_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.8+ macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for sunpy-4.1.0.tar.gz
Algorithm Hash digest
SHA256 0c059ce46e584f27711c8b99918ecd6f77ae7a33e7d1a432ec3d35c428450de3
MD5 f553c6a65c908fc284beb1e8a03a0d92
BLAKE2b-256 a3f99c036cac2a12005a2091e057af11a48260db040e7e15b89342f240b2b47e

See more details on using hashes here.

File details

Details for the file sunpy-4.1.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sunpy-4.1.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bf4bebf4d7e495b07f186530020b87c9d013ec7dbbd9a5cdc3397505125fd4ea
MD5 8b2585640afa70e0a2d131227c926c6f
BLAKE2b-256 b4fcc1bd6e9a2b872073d5deed1c0e8d1b62650b10e8b00ee63b35fc10975c21

See more details on using hashes here.

File details

Details for the file sunpy-4.1.0-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sunpy-4.1.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f12be7f6889d99dcb89ddaa86884b27115cd26a15228c11b11b01796e030555d
MD5 b347343ad6e56aced19b137ed46ed1fa
BLAKE2b-256 e612c647d3ea635c4cc6f31f5c6554be3940ca1b250fc05e618de9009d92f56b

See more details on using hashes here.

File details

Details for the file sunpy-4.1.0-cp38-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for sunpy-4.1.0-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1c12d0e226074c67b5078e301c3583185c1086b37a80e60da158f21e91b545fb
MD5 d126c437278509fcc7473f7730f6f5b9
BLAKE2b-256 04d40fefa29fd2a9a34161d80b399f90ea0bd5c9cfd32d0cd7a197ee580ebe00

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