Metadata-Version: 2.4
Name: hyperspy_gui_ipywidgets
Version: 2.2.0
Summary: ipywidgets GUI elements for the HyperSpy framework.
License-Expression: GPL-3.0-only
Project-URL: Homepage, https://github.com/hyperspy/hyperspy_gui_ipywidgets
Project-URL: Bug Reports, https://github.com/hyperspy/hyperspy_gui_ipywidgets/issues
Project-URL: Source, https://github.com/hyperspy/hyperspy_gui_ipywidgets
Project-URL: Conda-Forge, https://anaconda.org/conda-forge/hyperspy-gui-ipywidgets
Project-URL: Support, https://gitter.im/hyperspy/hyperspy
Keywords: data analysis,microscopy,ipywidgets,hyperspy,multi-dimensional
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Scientific/Engineering
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: hyperspy>=2.6.0
Requires-Dist: ipywidgets>=8.0
Requires-Dist: link_traits
Requires-Dist: ipympl
Provides-Extra: tests
Requires-Dist: pytest; extra == "tests"
Requires-Dist: pytest-cov; extra == "tests"
Requires-Dist: pytest-rerunfailures; extra == "tests"
Requires-Dist: setuptools-scm; extra == "tests"
Provides-Extra: dev
Requires-Dist: black; extra == "dev"
Requires-Dist: hyperspy-gui-ipywidgets[doc]; extra == "dev"
Requires-Dist: hyperspy-gui-ipywidgets[tests]; extra == "dev"
Dynamic: license-file

# hyperspy_gui_ipywidgets
[![Tests](https://github.com/hyperspy/hyperspy_gui_ipywidgets/workflows/Tests/badge.svg)](https://github.com/hyperspy/hyperspy_gui_ipywidgets/actions)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/hyperspy_gui_ipywidgets.svg)](https://pypi.org/project/hyperspy-gui-ipywidgets)
[![PyPI](https://img.shields.io/pypi/v/hyperspy_gui_ipywidgets.svg)](https://pypi.org/project/hyperspy-gui-ipywidgets)
[![Anaconda Cloud](https://anaconda.org/conda-forge/hyperspy-gui-ipywidgets/badges/version.svg)](https://anaconda.org/conda-forge/hyperspy-gui-ipywidgets)


**hyperspy_gui_ipywidgets** provides ipywidgets graphic user interface (GUI) elements for hyperspy.


## Installation

### Option 1: With pip
Make sure you have
[pip installed](https://pip.pypa.io/en/stable/installing/) and run:

```bash
pip install hyperspy_gui_ipywidgets
```

### Option 2: With Anaconda

Install anaconda for your platform and run

```bash
conda install hyperspy-gui-ipywidgets -c conda-forge

```

## Running the tests

py.test is required to run the tests.

```bash
pip install "hyperspy_gui_ipywidgets[test]"
py.test --pyargs hyperspy_gui_ipywidgets
```

## Usage

Please refer to the [HyperSpy documentation](http://hyperspy.org/hyperspy-doc/current/index.html) for details. Example (to run in the [Jupyter Notebook](http://jupyter.org/)):

```python

import hyperspy.api as hs
hs.preferences.gui(toolkit="ipywidgets")
```
![HyperSpy preferences ipywidget](https://github.com/hyperspy/hyperspy_gui_ipywidgets/raw/main/images/preferences_gui.png "HyperSpy preferences ipywidget")


## Development

Contributions through pull requests are welcome. See the
[HyperSpy Developer Guide](http://hyperspy.org/hyperspy-doc/current/dev_guide.html).
