Installation

pyIECWind requires Python 3.10 or newer and depends only on NumPy.

Note

pyIECWind is not yet published on PyPI, so pip install pyiecwind is not available. Install from source, ideally inside a conda environment as shown below. A PyPI release and a conda-forge package are planned (see Building and packaging).

Alternative installs

If you already manage your own Python environments:

# into an existing conda environment
conda create -n pyiecwind python=3.11 numpy pip -y
conda activate pyiecwind
python -m pip install -e .

# or a plain pip install from a source checkout
python -m pip install -e .

Optional dependency groups

Two extras are available for contributors:

dev

Test and quality tooling: pytest, pytest-cov, hypothesis, ruff, mypy, build, twine, and pip-audit.

docs

Documentation tooling: sphinx, the sphinx-rtd-theme theme, and myst-parser.

python -m pip install -e ".[dev]"
python -m pip install -e ".[docs]"

Verifying the installation

pyiecwind --help
python -c "import pyiecwind; print(pyiecwind.__version__)"

The version is single-sourced from the installed package metadata, so the import above and pip show pyiecwind always agree.