Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Stockpyl

github.com

  • Free plan
  • Linux
  • API
6.9 Club score Visit github.com

What Stockpyl is

Stockpyl is a free, open-source Python package for inventory optimization and simulation. It includes single-node models such as economic order quantity, newsvendor and Wagner-Whitin, along with algorithms for multi-echelon inventory optimization using stochastic-service and guaranteed-service models. The package can simulate multi-echelon inventory systems. Its documented methods include dynamic programming for Wagner-Whitin and finite-horizon stochastic inventory problems, as well as algorithms for serial systems and acyclical guaranteed-service systems. Stockpyl is available through PyPI and installs with `pip install stockpyl`; it requires Python v3.7 or later. The project provides tutorials and API documentation for optimization, simulation and supply-chain data structures. It is listed for API and Linux use and released under the MIT License. Lawrence V. Snyder is credited as the author. The project directs users to GitHub Issues for feedback and problems, with email as an alternative. Its listed plan is free.

Who it suits

Stockpyl suits Python users working on inventory models, multi-echelon systems or supply-chain simulations. Its documented audience categories include education, office and business, and scientific and engineering work.

Good to know, and what to watch

  • Includes economic order quantity, newsvendor and Wagner-Whitin models.
  • Supports multi-echelon inventory simulation.
  • Documentation covers tutorials and API modules.
  • Released under the MIT License.
  • Requires Python v3.7 or later.
  • Listed for API and Linux use.

Stockpyl

Free

Open source

Getting started

  1. Install Python v3.7 or later
  2. Install Stockpyl from PyPI with `pip install stockpyl`
  3. Read the tutorials and API modules
  4. Use the optimization, simulation, or supply-chain data-structure modules

Limits to check

Python v3.7 or later is required. The package is listed for API and Linux use.

The verdict

Stockpyl combines inventory optimization methods with multi-echelon simulation in a free Python package. Its documentation and MIT License make it a clear option for users who can work with Python.

Questions people ask

How much does Stockpyl cost?

The Stockpyl plan is free. The project is open source and released under the MIT License.

How do I install Stockpyl?

Stockpyl is available on PyPI and installs with `pip install stockpyl`.

Which Python version is required?

The installation guide requires Python v3.7 or later.

What inventory models does it include?

It implements economic order quantity, newsvendor, and Wagner-Whitin models, plus multi-echelon stochastic-service and guaranteed-service optimization.

Can Stockpyl simulate inventory systems?

Yes. It includes features for simulating multi-echelon inventory systems.

Where can users get support?

The project directs feedback and problem reports to GitHub Issues, with email as an alternative.

What the maker publishes

Audience
PyPI classifies the project under education, office/business, and scientific/engineering topics. source
Distribution
The installation guide says Stockpyl is available on PyPI and installs with `pip install stockpyl`. source
Documentation
The project links to documentation covering tutorials and API modules for optimization, simulation, and supply-chain data structures. source
License
The project describes itself as open-source and released under the MIT License. source
Maker
The package credits Lawrence V. Snyder as its author. source
Multi-echelon optimization
It includes multi-echelon inventory optimization algorithms for stochastic-service and guaranteed-service models. source
Network models
It documents algorithms for serial systems and acyclical guaranteed-service systems. source
Optimization methods
Its documented methods include dynamic programming for Wagner-Whitin and finite-horizon stochastic inventory problems. source
Purpose
Stockpyl is a Python package for inventory optimization and simulation. source
Python requirement
The installation guide requires Python v3.7 or later. source
Simulation
It has features for simulating multi-echelon inventory systems. source
Single-node models
It implements economic order quantity, newsvendor, and Wagner-Whitin inventory models. source
Support
The project directs users to GitHub Issues for feedback and problems, with email as an alternative. source

Checked against the maker's pages on 4 Oct 2026.