karrioapi / karrio

Programmable Shipping API (self-hosted)
https://karrio.io
Apache License 2.0
506 stars 94 forks source link

Update package dimension handling and unit conversions #644

Closed jacobshilitz closed 1 month ago

jacobshilitz commented 1 month ago

Refactored the package dimension and weight handling to use the math.ceil function for rounding values. Adjusted the unit assignments to use the package's own units directly and included conditional logic for weight unit conversions between Metric and Imperial systems.