Skip to content

Installation

PyPVRoof requires Python 3.10 or later.

pip install pypvroof

Optional extras

Extra Adds For
viz matplotlib, Pillow plot_polygon
dev pytest, matplotlib, Pillow running the tests
docs MkDocs Material, mkdocstrings building this documentation
pip install "pypvroof[viz]"

From source

git clone https://github.com/gabrielkasmi/pypvroof.git
cd pypvroof
pip install -e ".[dev,viz]"
pytest                               # offline tests (synthetic data)
PYPVROOF_NETWORK_TESTS=1 pytest      # also query every remote service

Building this documentation

pip install -e ".[docs]"
mkdocs serve        # http://127.0.0.1:8000

Main dependencies

numpy, pandas, scipy, shapely ≥ 2, pyproj, rasterio, geopandas, pyarrow.