Introduction ============ Why another space physics software? ----------------------------------- At the moment, there are already a couple of well-developed Python libraries for loading space physics data, such as `PySPEDAS `_, `Speasy `_, and `SciQLop `_. However, there is a lack of Python utility for direct interactions with the RESTful API provided by the `MMS Science Data Center (SDC) `_. Inspired by the Python package for CDAS web services, `cdasws`_, this package intends to provide access to the MMS SDC web services at LASP and fills in that gap. While the core functionality of `mmspy` does not differ much from that of `PySPEDAS `_, which is to provide data from a repository to space physics researchers, it puts focus on the broader `Xarray ecosystem `_ for distributed and parallel computing with `Dask `_, performant I/O with `Zarr `_, and automatic unit handling with `Pint `_. These features aim to make the most out of metadata provided in CDF files and make analysis of MMS data more intuitive, efficient, and scalable. .. _pyspedas: https://pyspedas.readthedocs.io/en/latest/ .. _dask: https://docs.dask.org/en/stable/ .. _zarr: https://zarr.readthedocs.io/en/stable/ .. _pint: https://pint.readthedocs.io/en/stable/ .. _cdasws: https://cdaweb.gsfc.nasa.gov/WebServices/REST/ Installation ------------ Required dependencies ~~~~~~~~~~~~~~~~~~~~~ - `python `__ (>=3.11) - `numpy `__ (>=2.2.6) - `scipy `__ (>=1.15.3) - `xarray `__ (>=2025.4.0,<2026.0.0) - `dask[distributed] `__ (>=2025.5.1,<2026.0.0) - `zarr `__ (2.18.5) - `cdflib `__ (>=1.3.4,<2.0.0)) - `attrs `__ (>=25.3.0,<26.0.0) - `pint-xarray `__ (>=0.4,<0.5) - `tqdm `__ (>=4.67.1,<5.0.0) - `matplotlib `__ (>=3.10.3) - `requests `__ (>=2.32.3) - `pathos `__ (>=0.3.4) - `bigtree `__ (>=0.29.2) - `bs4 `__ (>=0.0.2) - `python-benedict[toml] `__ (>=0.34.1) - `numcodecs `__ (0.15.1) - `rocket-fft `__ (>=0.2.5) - `astropy `__ (>=7.1.0) Instructions ~~~~~~~~~~~~ `mmspy` is distributed on the `Python package Index (PyPI) `_. To install, run: .. code-block:: console pip install mmspy