Metadata-Version: 2.4
Name: inventoryanalytics
Version: 2.2
Summary: A Python library dedicated to Inventory Analytics.
Author-email: Roberto Rossi <robros@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/gwr3n/inventoryanalytics
Project-URL: Repository, https://github.com/gwr3n/inventoryanalytics
Keywords: inventory,analytics
Requires-Python: <3.14,>=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: numpy==1.23.5; python_version < "3.11"
Requires-Dist: numpy<3,>=2.1; python_version >= "3.11"
Requires-Dist: scipy==1.10.1; python_version < "3.11"
Requires-Dist: scipy<2,>=1.14.1; python_version >= "3.11"
Requires-Dist: matplotlib==3.7.5; python_version < "3.11"
Requires-Dist: matplotlib<4,>=3.9.2; python_version >= "3.11"
Requires-Dist: scikit-learn==1.5.0; python_version < "3.11"
Requires-Dist: scikit-learn<2,>=1.6; python_version >= "3.11"
Requires-Dist: statsmodels==0.14.1; python_version < "3.11"
Requires-Dist: statsmodels<1,>=0.14.4; python_version >= "3.11"
Requires-Dist: docplex==2.25.236; python_version < "3.11"
Requires-Dist: docplex<3,>=2.32.264; python_version >= "3.11"
Requires-Dist: cplex<23,>=22.1.2.1; python_version >= "3.11"
Requires-Dist: networkx==2.8.8
Dynamic: license-file

A Python library dedicated to Inventory Analytics.

[![GitHub](https://img.shields.io/github/license/gwr3n/inventoryanalytics)](https://github.com/gwr3n/inventoryanalytics)
[![PyPI](https://img.shields.io/pypi/v/inventoryanalytics?logo=pypi)](https://pypi.org/project/inventoryanalytics)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/inventoryanalytics?logo=pypi)](https://pypi.org/project/inventoryanalytics)

## Installation

Inventory Analytics supports Python 3.8 through 3.13.

```console
python -m pip install .
```

## Command line interface

The CLI provides a curated catalog of the forecasting and inventory-control
algorithms implemented by the package:

```console
inventoryanalytics -list
```

Select an algorithm with `-method`. Each algorithm exposes only its relevant
inputs; use `--help` after selecting it to see them:

```console
inventoryanalytics -method els --help
inventoryanalytics -method els \
  --n 3 \
  --p '[400, 400, 500]' \
  --d '[50, 50, 60]' \
  --h '[20, 20, 30]' \
  --s '[0.1, 0.1, 0.1]' \
  --K '[2000, 2500, 800]'
```

List and structured inputs use JSON. Results are emitted as JSON. The same
commands are available through `python -m inventoryanalytics`.

## Building

```console
python -m pip install build
python -m build
```

To cite inventoryanalytics:

```
@software{inventoryanalytics_github,
  author = {Roberto Rossi},
  title = {inventoryanalytics: a Python library dedicated to Inventory Analytics},
  url = {https://github.com/gwr3n/inventoryanalytics},
  version = {2.1},
  year = {2026}
}
```
