📦 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
pip install backorder
🚀 Quickstart
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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file backorder-0.1.0.tar.gz.
File metadata
- Download URL: backorder-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06aee261b1d6a0f346cefca2f689c5db0eb05011621abc9c1723e83e6e76687b
|
|
| MD5 |
6367ce493f6d9389fc59e0ffeb506ff1
|
|
| BLAKE2b-256 |
f28b8c95c7c54e8b8e5d58a73e31e352a65ebce868e7b4d3672b1d60031a1ea4
|
File details
Details for the file backorder-0.1.0-py3-none-any.whl.
File metadata
- Download URL: backorder-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7ca4313fb70aad7aba2b007ac39258b05ae7dbe932dd0886fc99421d3675fea
|
|
| MD5 |
75705718cbf56610691d3e09d9c02ff7
|
|
| BLAKE2b-256 |
506369dc70d48d9ca957cbf3b4b727b5a6b5751b259bd267e383ac5193a4f9ab
|