Installation¶
The package¶
pip install pmmforecast
Optional extras:
| Extra | What it adds |
|---|---|
[gui] |
PyQt6, for the interactive window pmmforecast-gui |
[bench] |
statsmodels, for the SARIMAX / UnobservedComponents benchmark of tutorial 12 |
[dev] |
the test suite's own dependencies (pytest, ruff, mypy, nbval, …) |
[docs] |
this documentation site's dependencies (MkDocs, Material, mkdocstrings) |
[all] |
dev, bench and gui together |
See the README for the development install from a clone.
This site¶
The API reference is built with MkDocs and
mkdocstrings and published at
https://sderrode.github.io/pmmforecast/ for every release (GitHub Pages,
workflow .github/workflows/pages.yml), so the site documents the version on
PyPI. To build it yourself from a clone, e.g. for unreleased code:
git clone https://github.com/SDerrode/pmmforecast.git
cd pmmforecast
pip install -e ".[docs]"
mkdocs serve # live-reloading local server, http://127.0.0.1:8000
mkdocs build --strict # static site under site/; fails on any broken reference
mkdocstrings reads the docstrings straight from pmmforecast/ (NumPy
style), so the site always matches the checked-out source.