A Python warehouse inventory system tracking packages, expiry and movement history, with consistency checks.
Inventory as data structures done right — packages, expiry, movement history and invariants that refuse inconsistent states.