Skip to main content

DOI Build Status

SpacePy

SpacePy is a package for Python, targeted at the space sciences, that aims to make basic data analysis, modeling and visualization easier. It builds on the capabilities of the well-known NumPy and MatPlotLib packages. Publication quality output direct from analyses is emphasized among other goals:

  • Quickly obtain data
  • Read (and write) data from (and to) data formats like NASA CDF and HDF5
  • Create publications quality plots
  • Perform complicated analysis easily
  • Run common empirical models
  • Change coordinates and time systems effortlessly
  • Harness the power of Python

The SpacePy project seeks to promote accurate and open research standards by providing an open environment for code development. In the space physics community there has long been a significant reliance on proprietary languages that restrict free transfer of data and reproducibility of results. By providing a comprehensive, open-source library of widely-used analysis and visualization tools in a free, modern and intuitive language, we hope that this reliance will be diminished.

To help foster an open and welcoming environment, we have adopted a code of conduct that we encourage members of the SpacePy community to read and follow.

Getting SpacePy

Our latest release version is available through PyPI and can be installed using

pip install spacepy --user

This will also automatically install most dependencies.

The latest "bleeding-edge" source code is available from our github repository at https://github.com/spacepy/spacepy.

Further installation documentation, including building from source and OS-specific information, can be found here. Full documentation is at https://spacepy.github.io.

SpacePy supports Python 3.7 and later.

Dependencies

SpacePy has a number of well-maintained dependencies which are automatically installed by pip. These include:

  • numpy (>=1.15.1)
  • dateutil (>=2.5)
  • scipy (>=1.0)
  • matplotlib (>=3.1)
  • h5py (>=2.10)

Attribution

When publishing research which used SpacePy, please provide appropriate credit to the SpacePy team via citation or acknowledgement.

To cite SpacePy in publications, please cite both the code (DOI: 10.5281/zenodo.3252523) and the papers describing the package (BibTeX code):

@article{niehof2022spacepy,
  title={The SpacePy space science package at 12 years},
  author={Niehof, Jonathan T and Morley, Steven K and Welling, Daniel T and Larsen, Brian A},
  journal={Frontiers in Astronomy and Space Sciences},
  volume={9},
  year={2022},
  doi={10.3389/fspas.2022.1023612},
  publisher={Frontiers}
}

and/or

@INPROCEEDINGS{spacepy11,
author = {{Morley}, S.~K. and {Koller}, J. and {Welling}, D.~T. and {Larsen}, B.~A. and {Henderson}, M.~G. and {Niehof}, J.~T.},
title = "{Spacepy - A Python-based library of tools for the space sciences}",
booktitle = "{Proceedings of the 9th Python in science conference (SciPy 2010)}",
year = 2011,
address = {Austin, TX}
}

For additional information, see the CITATION.cff file. Certain modules may provide additional citations in the __citation__ attribute. Contact a module's author before publication or public presentation of analysis performed by that module. This allows the author to validate the analysis and receive appropriate credit for his or her work.

For acknowledging SpacePy, please provide the URL to our github repository: github.com/spacepy/spacepy.

Changes

Changes in the released version of SpacePy are provided in the release notes. For changes since the latest release, see the repository version.

Metadata

Release files for spacepy 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spacepy 0.7.0
File Size Uploaded
spacepy-0.7.0.tar.gz 7.7 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for spacepy 0.7.0
File
spacepy-0.7.0-cp37-abi3-win_amd64.whl CPython 3.7 abi3 Windows x86-64 Details
spacepy-0.7.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 abi3 Linux glibc 2.17+ x86-64 Details
spacepy-0.7.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.7 abi3 Linux glibc 2.17+ ARM64 Details
spacepy-0.7.0-cp37-abi3-macosx_11_0_arm64.whl CPython 3.7 abi3 macOS 11.0+ ARM64 Details
spacepy-0.7.0-cp37-abi3-macosx_10_9_x86_64.whl CPython 3.7 abi3 macOS 10.9+ x86-64 Details

Total release size: 32.9 MB

Release files / spacepy-0.7.0.tar.gz

Download URL spacepy-0.7.0.tar.gz
Size 7.7 MB
Tags Source
SHA-256 checksum
How to use checksums
d970de02b1b8ec8451bc2f8077b8c9cc2597e897f52d6ab160a4e05fe5b4d192
BLAKE2b-256 checksum
How to use checksums
d8edd92fc202b52f76e4eae6d5af4ca5ccd2568aa9a2949e500f9923fce55d5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.15

Release files / spacepy-0.7.0-cp37-abi3-win_amd64.whl

Download URL spacepy-0.7.0-cp37-abi3-win_amd64.whl
Size 4.5 MB
Tags CPython 3.7 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
aba3d27e27c43dd310152eb618698f517c1d5117579e6d8cd062f7834ebf78d6
BLAKE2b-256 checksum
How to use checksums
538ed84fe929d412123646f357183d2f8157ced9513cb172bdabb1cfef898a79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.15

Release files / spacepy-0.7.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL spacepy-0.7.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 5.0 MB
Tags CPython 3.7 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
61b160bb422e3a85dac2e5ee163d3f01112524d7f30da1d64ae839ebad7cbd27
BLAKE2b-256 checksum
How to use checksums
01a01d4fb06d2093d7242325d31f2a7ab56eff41256c37c4d581a39cbb360d70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.15

Release files / spacepy-0.7.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL spacepy-0.7.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 4.4 MB
Tags CPython 3.7 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
7cca4f39ac796d8b8c8dc362639fed019ee2c1fb164b7f9cf8404ead292ffead
BLAKE2b-256 checksum
How to use checksums
8ff0591e8d97c8b74f63215cc01a42241d2b263dfb2042b115f0c9bef2cb8188
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.15

Release files / spacepy-0.7.0-cp37-abi3-macosx_11_0_arm64.whl

Download URL spacepy-0.7.0-cp37-abi3-macosx_11_0_arm64.whl
Size 5.3 MB
Tags CPython 3.7 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
44b2542837a3f07ee8a77a4ac16754ea5b26b90cdf895182696cb566123561b4
BLAKE2b-256 checksum
How to use checksums
190fd43e6d2abe1aadf469e98ef0fa835b48b2d00ee2a14080ed45fbfea66f58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.15

Release files / spacepy-0.7.0-cp37-abi3-macosx_10_9_x86_64.whl

Download URL spacepy-0.7.0-cp37-abi3-macosx_10_9_x86_64.whl
Size 6.1 MB
Tags CPython 3.7 abi3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
a55f30865bb4ebf6f292d2d1a0abfb89045ad0702e052ac40456eb4add25d852
BLAKE2b-256 checksum
How to use checksums
1fa501c960bbbb9903af910f8ce78bcf30d11ad32b432ea7c1c1d99d04db9f0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.15

Release history Release notifications | RSS feed

This release

0.7.0 This release

6 release files

0.6.0

27 release files

0.5.0

27 release files

0.4.1

6 release files

0.4.0

6 release files

0.3.0

6 release files

0.2.3

11 release files

0.2.2

11 release files

0.2.1

7 release files

0.2.0

7 release files

0.1.6

2 release files

0.1.5

3 release files

0.1.4

0.1.3

0.1.1

0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page