Skip to main content

A library for supply chain, operations and manufacturing, analysis, modeling and simulation.

Project description Documentation Status

Supplychainpy is a Python library for supply chain analysis, modeling and simulation. The library is currently in early stages of development, so not ready for use in production. For quick exploration, please see the Quick Guide below.



Release 0.0.4 has breaking API changes. Namespaces have changed in this release. All the modules previously in the “demand” package are now inside the “inventory” package. If you have been using the “model_inventory” module, then nothing has changed, and there will not be any break in contracts.


  • [Update] Explicit internal and public API.
  • [Update] Excess, shortages added to the UncertainDemand order_summary.
  • [Update] Moved,, and eoq.pyx from “demand” to “inventory” package
  • [Update] “Demand” package now contains:, and
  • [Update] retail_price added to model_inventory.analyse_orders.
  • [Update] backlog added to the data format for loading into the analysis.
  • [Update] Unit Tests.
  • [Update] Docstrings.
  • [New Feature] Analytic Hierarchy Process.
  • [New Feature] API supports Pandas DataFrame.
  • [New Feature] Browser based reporting suite, with charts, data summaries and integrated chat bot.
  • [New Feature] Dash Bot, a basic chat bot assistant for the data in the reporting suite. Query data using natural language.
  • [New Feature] Command line interface for processing .csv to database, launching reports and chat bot.
  • [New Feature] “Model_Demand” module containing simple exponential smoothing and holts trend corrected exponential smoothing.
  • [New Feature] Summarise and filter your analysis.
  • [New Feature] Holts Trend Corrected Exponential Smoothing Forecast and optimised variant (evolutionary algorithm for optimised alpha and gamma)
  • [New Feature] Simple Exponential Smoothing (evolutionary algorithm for optimised alpha).
  • [New Feature] Evolutionary Algorithms for Smoothing Level Constants (converges on better smoothing levels using genetic algorithm)
  • [New Feature] SKU and inventory profile recommendations generator.


  • [New] Reporting Suite Walk Through.
  • [Update] Tutorial.
  • [Update] Quick Guide.
  • [New] Declare public API explicitly. describe and document each module and function, give an example also add to website tutorial as Jupyter notebook.
  • [New] Docker for supplychainpy quick guide.
  • [New] Analytic Hierarchy Process quick guide.
  • [New] Inventory Modeling.
  • [New] Demand Planning with Pandas.



  • Compiled Cython (eoq and simulation modules) for OS X, Windows and Linux.
  • Removed z_value, file_type, file_path and reorder_cost parameters from simulate.run_monte_carlo.


  • Update Quick Guide



  • Added monte carlo simulation and simulation summary using Cython optimisation.
  • Added orders analysis optimisation, based on results of the monte carlo simulation.
  • Added simulate module to api.
  • Added weighted moving average forecast.
  • Added moving average forecast.
  • Added mean absolute deviation.
  • Updated economic order quantity using Cython optimisation.
  • Updated unit tests.


  • Updates Quick Guide.
  • Updated Tutorial.
  • Updated
  • Added Formulas and Equations.
  • Updated data.csv.



  • Added inventory analysis for uncertain demand. Analyse orders from .csv, .txt or from dict.
  • Added inventory analysis summary for uncertain demand. ABC XYZ, economic order quantity (EOQ), reorder level (ROL), demand variability and safety stock.


  • Added Quick Guide.
  • Added Tutorial.
  • Added Installation.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for supplychainpy, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size supplychainpy-0.0.4-cp35-cp35m-macosx_10_6_x86_64.whl (1.1 MB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size supplychainpy-0.0.4-cp35-cp35m-win_amd64.whl (1.1 MB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size supplychainpy-0.0.4.tar.gz (1.4 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page