Installation#

Requirements#

  • Python >= 3.9

  • numpy >= 1.20

  • scipy >= 1.7

  • xarray >= 0.19

  • wavespectra >= 4.0

  • pandas >= 1.3

Install from PyPI#

pip install diwasp

Install from Source#

git clone https://github.com/yourusername/diwasp-python.git
cd diwasp-python
pip install -e .

Development Installation#

For development, install with extra dependencies:

pip install -e ".[dev]"

This includes:

  • pytest for testing

  • black for code formatting

  • ruff for linting

  • mypy for type checking

Verify Installation#

import diwasp
print(diwasp.__version__)

Dependencies#

The package integrates with:

  • wavespectra: For wave spectra analysis and manipulation

  • xarray: For labeled multi-dimensional arrays

  • pandas: For data manipulation and analysis