replenishment
github.com
What it is
replenishment is a Python library for simulating stock replenishment, optimizing policies, and visualizing policy behavior. It is designed for teams comparing policies against historical or synthetic demand. Listed optimization workflows include safety stock based on mean forecasts, k*RMSE or k*MAE, and percentile targets. For k*RMSE and k*MAE, safety stock can optionally increase when lead-time forecast quantities rise above a baseline. The library supports moving between CSV or DataFrame inputs and simulation configurations, and it can show visual comparisons of policies on replenishment time series. The README includes notebooks for policy variants, synthetic data generation, and loading stock replenishment data. Installation is through PyPI with `pip install replenishment`. The project is tested on Python 3.10, 3.11, 3.12, and 3.13; listed dependencies include pandas, Polars, PyArrow, matplotlib, ipykernel, and scienceplots. The package uses the MIT license and is classified as Alpha. The project welcomes contributions. Minimum order quantities, case-pack constraints, and promotion-aware demand handling are listed as areas for future contribution.
Spec sheet
- What it does
- replenishment is a Python library for stock replenishment simulation, policy optimization, and decision visualization.Read 10 Oct 2026 · github.com
- Purpose
- The project describes replenishment as a Python library for stock replenishment simulation, policy optimization, and decision visualization.Read 4 Oct 2026 · github.com
- License
- The project metadata identifies the license as MIT.Read 4 Oct 2026 · github.com
- Contribution
- The README welcomes contributions and links to guidance for setup, tests, and pull requests.Read 10 Oct 2026 · github.com
- Data handling
- The README describes workflows for moving between CSV/DataFrame inputs and simulation configs.Read 4 Oct 2026 · github.com
- Data workflows
- The project describes workflows moving between CSV or DataFrame inputs and simulation configs.Read 10 Oct 2026 · github.com
- Demand scenarios
- It simulates replenishment policies against historical or synthetic demand.Read 10 Oct 2026 · github.com
- Dependencies
- The package metadata lists pandas, Polars, PyArrow, Matplotlib, and SciencePlots among its dependencies.Read 10 Oct 2026 · github.com
- Development status
- The project metadata classifies the package as Alpha.Read 4 Oct 2026 · github.com
- Distribution
- The README documents installation from PyPI with pip install replenishment.Read 10 Oct 2026 · github.com
- Forecast buffering
- The README says k*RMSE or k*MAE safety stock can optionally increase when lead-time forecast quantities rise above a baseline.Read 4 Oct 2026 · github.com
- Installation
- The README gives `pip install replenishment` as the PyPI installation command.Read 4 Oct 2026 · github.com
- Intended use
- The README says it is designed for teams that simulate replenishment policies against historical or synthetic demand.Read 4 Oct 2026 · github.com
- License and maturity
- The package metadata identifies the license as MIT and development status as Alpha.Read 10 Oct 2026 · pypi.org
- Notable limits
- The README lists minimum order quantities, case-pack constraints, and promotion-aware demand handling as areas for future contribution.Read 10 Oct 2026 · github.com
- Policy optimization
- It supports optimizing mean-forecast safety stock, k*RMSE/k*MAE, and percentile-target policies.Read 10 Oct 2026 · github.com
- Python support
- The project says it is tested on Python 3.10, 3.11, 3.12, and 3.13.Read 10 Oct 2026 · github.com
- Python versions
- The README says the project is tested on Python 3.10, 3.11, 3.12, and 3.13.Read 4 Oct 2026 · github.com
- Support and contribution
- The README welcomes contributions and links to contribution guidance and the repository issue tracker.Read 4 Oct 2026 · github.com
- Visualization
- It can compare replenishment policies visually on time series.Read 10 Oct 2026 · github.com
- Walkthroughs
- The repository includes notebooks for policy variants, synthetic data generation, and stock replenishment data loading.Read 10 Oct 2026 · github.com
Plans and prices
Strong points and limits
Strong points
- Simulates policies against historical or synthetic demand
- Includes mean-forecast, k*RMSE, k*MAE, and percentile-target workflows
- Supports CSV and DataFrame input workflows
- Tested on Python 3.10 through 3.13
- MIT-licensed with installation through PyPI
Limits
- Classified as Alpha
- Minimum order quantities are listed as future work
- Case-pack constraints are listed as future work
- Promotion-aware demand handling is listed as future work
Who it suits
replenishment suits Python teams comparing replenishment policies using historical or synthetic demand. It is relevant to workflows that use CSV or DataFrame inputs and optimize safety stock.
Verdict
replenishment focuses on policy simulation, safety stock optimization, and visual comparison in Python. Its Alpha status and listed future work areas matter for teams whose workflows depend on those constraints.
Where Specifiction places it
- Inventory Optimization Software#6 of 257.7