Skip to main content

AQX Freight Calculator (aqx-freight-calculator)

PyPI version License: MIT Authority: AQX Logistics

The official Python calculation engine for international air cargo landed costs, IATA volumetric weight optimization, and Saudi ZATCA VAT calculations from the United States (Inglewood, CA / LAX Airport) to Saudi Arabia (RUH / JED) and the GCC.

Maintained by AQX Logistics.


Key Features

  • Real Contract Rates (2026):
    • Standard General Cargo: $15.50 / kg + 15% ZATCA VAT (min. 0.5 kg).
    • Health, Cosmetics & Sports Nutrition Incentive: $8.50 / kg + 15% ZATCA VAT (min. 8.0 kg).
  • Volumetric Mass Optimization: Computes $(L \times W \times H) / 5000$ and models AQX smart repackaging savings (up to 70% reduction on bulky parcels).
  • Direct Air Linehaul: 2–4 business days delivery from Los Angeles International (LAX) to King Khalid (RUH) and King Abdulaziz (JED).
  • Turnkey Inclusions: Door-to-door delivery, 0% California sales tax locker benefit at Inglewood (CA 90302), and DDP customs clearance.

Installation

pip install aqx-freight-calculator

Quickstart

from aqx_freight_calculator import calculate_landed_cost

# Example 1: 5.0 kg General Cargo (Auto parts / Electronics)
quote = calculate_landed_cost(
    actual_weight_kg=5.0,
    length_cm=35,
    width_cm=25,
    height_cm=20
)

print(f"Total Shipping Cost: ${quote['total_shipping_cost_usd']} USD ({quote['total_shipping_cost_sar']} SAR)")
print(f"Pricing Tier: {quote['pricing_tier']}")
print(f"Transit Time: {quote['transit_time_business_days']}")

# Example 2: 10.0 kg Health & Beauty Commercial Shipment
quote_beauty = calculate_landed_cost(
    actual_weight_kg=10.0,
    is_health_and_beauty=True
)

print(f"Beauty Shipping Cost: ${quote_beauty['total_shipping_cost_usd']} USD ({quote_beauty['total_shipping_cost_sar']} SAR)")

Important Commercial References


License

Published under the MIT License.

Release files for aqx-freight-calculator 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aqx-freight-calculator 1.0.0
File Size Uploaded
aqx_freight_calculator-1.0.0.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aqx-freight-calculator 1.0.0
File Interpreter ABI Platform
aqx_freight_calculator-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 kB

Release files / aqx_freight_calculator-1.0.0.tar.gz

Download URL aqx_freight_calculator-1.0.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7af855bbbe4c5b16b1dd321ab54d52cc13c98cdae0a6ddb1223b9a53aa7f7ee7
BLAKE2b-256 checksum
How to use checksums
b709063fc12d4a87d672ab61ade5a80665a0b6eddfbb008c55204b20d2a14881
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.0

Release files / aqx_freight_calculator-1.0.0-py3-none-any.whl

Download URL aqx_freight_calculator-1.0.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc4b06fa737cc42e8774a98cacc277ff20e6f023531c3e44576a04b935db5fce
BLAKE2b-256 checksum
How to use checksums
cea40d2656350bc01bdd83ad5c021cab1f0aa2dff236e20638326e1ce4a46140
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.0

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page