Installation#
Requirements#
pyvisual requires Python 3.10 or later and runs on Linux and macOS.
The core dependencies — numpy, pyvista, psi_io,
sunpy, and astropy — are installed automatically.
Standard Install#
Install the latest release from PyPI:
pip install pyvisual
To include support for reading HDF4 files (pyhdf), fieldline tracing
(mapflpy), scipy-based interpolation, or the data-fetching utilities,
use the relevant extras:
Extra |
What it adds |
|---|---|
|
HDF4 file support via |
|
Interpolation utilities via |
|
Magnetic fieldline tracing via |
|
Asset fetching via |
Install one or more extras with:
pip install "pyvisual[hdf4,tracing]"
Development Install#
Clone the repository and install in editable mode with all optional dependencies:
git clone https://bitbucket.org/predsci/pyvisual.git
cd pyvisual
pip install -e ".[all]"
Verify the installation by importing the package:
python -c "import pyvisual; print(pyvisual.__version__)"
Development tools#
Command |
Purpose |
|---|---|
|
Linting |
|
Type checking |
|
Test suite |
|
Tests with coverage report |
|
Build HTML documentation |
See also
- Overview
An introduction to pyvisual’s capabilities and architecture.