Metadata-Version: 2.4
Name: hissw
Version: 3.0.0
Summary: Seamlessly integrate SSWIDL code into your Python workflow
Author: Bin Chen
Author-email: Will Barnes <will.t.barnes@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/wtbarnes/hissw/
Project-URL: Documentation, https://wtbarnes.github.io/hissw/
Project-URL: Source, https://github.com/wtbarnes/hissw/
Keywords: solar,sun,ssw,solar-physics,idl,sswidl,solarsoft
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.13
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: jinja2>=3.1.5
Requires-Dist: numpy>=2.3.0
Requires-Dist: scipy>=1.15.0
Provides-Extra: all
Requires-Dist: hissw; extra == "all"
Provides-Extra: astropy
Requires-Dist: hissw; extra == "astropy"
Requires-Dist: astropy>=6.1.7; extra == "astropy"
Provides-Extra: test
Requires-Dist: hissw[all]; extra == "test"
Requires-Dist: pytest>=8.3.4; extra == "test"
Requires-Dist: astropy>=6.1.7; extra == "test"
Provides-Extra: docs
Requires-Dist: hissw[all]; extra == "docs"
Requires-Dist: zensical>=0.0.3; extra == "docs"
Provides-Extra: dev
Requires-Dist: hissw[docs,test]; extra == "dev"
Dynamic: license-file

# :snake: :sunny: hiss(w)

[![GHA](https://github.com/wtbarnes/hissw/actions/workflows/deploy-docs.yml/badge.svg)](https://github.com/wtbarnes/hissw/actions)
[![PyPI](https://img.shields.io/pypi/v/hissw.svg)](https://pypi.org/project/hissw/)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5519495.svg)](https://doi.org/10.5281/zenodo.5519495)

Easily integrate SSWIDL into your Python workflows.
See the [docs](https://wtbarnes.github.io/hissw/) for more info.

## Install

To install hissw,

```shell
pip install hissw
```

which will automatically install the package and its dependencies.
hissw depends on the [Jinja2](https://jinja.palletsprojects.com/) and [scipy](https://docs.scipy.org/doc/) libraries.
You can also install these manually with [conda](https://github.com/conda-forge/miniforge) or from PyPI, i.e. `pip install <package-name>`.
Additionally, you'll need a local install of IDL and the [Solarsoft library](https://www.lmsal.com/solarsoft/).

Alternatively, you can install hissw from GitHub,

```shell
git clone https://github.com/wtbarnes/hissw.git
cd hissw && python -m pip install -e ".[test]"
```

and then run the tests to make sure everything is working alright.
Note that you must specify paths to SSW and IDL appropriately.

```shell
pytest --ssw-home=<path to top of SSW tree> \
       --idl-home=<path to top level dir of IDL install>
```

**Note: hissw relies on executing several shell commands.
This has not been tested on Windows.**

## Citing `hissw`

If you use `hissw` in your work, please use the following citation,

```bibtex
@software{will_barnes_2022_6640421,
  author       = {Will Barnes and
                  Bin Chen},
  title        = {wtbarnes/hissw: v2.0},
  month        = jun,
  year         = 2022,
  publisher    = {Zenodo},
  version      = {v2.0},
  doi          = {10.5281/zenodo.6640421},
  url          = {https://doi.org/10.5281/zenodo.6640421}
}
```

## Reporting Issues and Contributing

Open an [issue on GitHub](https://github.com/wtbarnes/hissw/issues) to report a problem.
[Pull requests](https://github.com/wtbarnes/hissw/pulls) welcome.
