Metadata-Version: 2.4
Name: backorder
Version: 0.1.0
Summary: Lightweight Python utility for supply chain metrics, EOQ, safety stock, and inventory modeling.
Author-email: Albergracht Technologies <technologies@albergracht.com>
License-Expression: MIT
Keywords: backorder,inventory,supply-chain,eoq,ecommerce,logistics
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# 📦 backorder (alpha)

A lightweight, zero-dependency Python utility for e-commerce inventory management, supply chain calculations, and backorder mitigation. 

Features include Economic Order Quantity (EOQ), Safety Stock calculation, and Reorder Point (ROP) modeling.

## ⚡ Installation

```bash
pip install backorder
```

## 🚀 Quickstart

```bash
import backorder

# 1. Economic Order Quantity (EOQ)
# Balances the cost of ordering against the cost of holding inventory.
optimal_qty = backorder.economic_order_quantity(
    annual_demand=10000, 
    order_cost=50.0, 
    holding_cost_per_unit=2.5
)
print(f"Optimal Order Quantity (EOQ): {optimal_qty} units")

# 2. Reorder Point & Safety Stock
# Calculates exactly when to reorder to prevent backorders.
model = backorder.InventoryModel(
    average_daily_demand=30,
    max_daily_demand=45,
    average_lead_time_days=7,
    max_lead_time_days=10
)

print(f"Safety Stock Needed: {model.safety_stock} units")
print(f"Reorder Point (ROP): {model.reorder_point} units")
```

## ⚠️ Disclaimer
This package provides mathematical models for supply chain estimates. It does not replace comprehensive ERP systems. Real-world supply chains are subject to unpredictable disruptions.
