import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parents[1]))
from shipping_cost.calculator import quote
for weight in (9.9,10.0,10.1,12.0):
    r=quote(weight)
    print(f"weight={weight:4.1f} band={r.band:8s} total={r.total:5.2f}")
