Official Python library for the Shippo API (USPS, FedEx, UPS, DHL and 85+ carriers). Current version v3.9.0 supports async operations and webhooks. Monthly releases with beta previews. Requires Python >=3.8.
pip install shippoNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a shipment with Shippo client. Requires SHIPPO_API_KEY env var.
Use client = shippo.Shippo(api_key='...'); client.shipments.create(...)
See quickstart example for correct shape. Old 2.x code will raise validation errors.
Use client.shipments.retrieve(shipment_id) in v3.
Pass key explicitly: Shippo(api_key='sk_...') or set SHIPPO_API_KEY env var and use os.environ.get().
Install with shippo[async] and use from shippo import ShippoAsync.
Use client = shippo.Shippo(api_key='...'); client.shipments.create(...)
Check address dictionary for correct keys: name, street1, city, state, zip, country.
Instantiate with Shippo(api_key='...') and use client methods.
Check network connectivity. If using proxy, configure environment variables.
No dependency data recorded yet.