Installation¶
fewlabels requires Python 3.10 or newer.
From PyPI¶
pip install fewlabels
The only runtime dependency is NumPy. To compare results with ppi_py, add the optional extra:
pip install "fewlabels[ppi]"
From source¶
git clone https://github.com/yunusimanov/fewlabels.git
cd fewlabels
pip install -e ".[dev]"
| Extra | Contents |
|---|---|
ppi |
ppi-python, for side-by-side comparisons |
test |
pytest and pytest-cov |
lint |
ruff and mypy |
docs |
MkDocs, Material theme and mkdocstrings |
dev |
all of the above plus nox and pre-commit |
Checking the installation¶
python -c "import fewlabels; print(fewlabels.__version__)"
fewlabels --version