--- id: easypost version: "10.7.0" license: The MIT License Copyright (c) 2013 EasyPost (Simpler Postage, Inc) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files… (full text in the JSON record) license_treatment: permissive maintenance: active --- # easypost — EasyPost Shipping API Client Library for Python License: permissive · Maintenance: active · Downloads: 220.7K/mo ## What it is and what it does EasyPost is a Python wrapper around the EasyPost shipping API that abstracts the complexity of integrating with multiple carriers. It lets you create shipment objects with origin and destination addresses plus package dimensions, retrieve available shipping rates from different carriers, and purchase labels programmatically—all through a single client interface. The library handles HTTP communication via requests and provides hooks for monitoring request and response lifecycle events. The package is production-stable (Development Status 5), actively maintained, and tested against Python 3.9 through 3.13. It's designed for developers building shipping workflows into applications—from e-commerce platforms to logistics management tools—who need to avoid building their own carrier integrations. The API is straightforward: instantiate a client with your credentials, call methods on shipment/address/parcel objects, and work with the returned data structures. Use it for: - E-commerce platforms that need to offer real-time shipping rate quotes and label generation at checkout. - Logistics management dashboards that consolidate shipment creation and tracking across multiple carriers. - Batch shipment processing for fulfillment centers that need to programmatically buy labels in bulk. - Subscription box services that automate recurring shipment creation and carrier selection based on cost or speed. - Third-party logistics providers integrating carrier APIs into their own platform. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Python client library for the EasyPost shipping API, enabling programmatic creation, management, and purchase of shipments with carrier rate comparison. Yes. The package is production-stable, actively maintained, has low install friction, carries a permissive MIT license, and solves a real integration problem for anyone building shipping functionality. No known vulnerabilities. Install if you need to integrate EasyPost's shipping API into a Python application. ## Install pip install easypost uv add easypost poetry add easypost ## Installing easypost Before you install: Low install friction with a single runtime dependency (requests). Actively maintained with a release within the last 50 days and an active repository. Supports Python 3.9 through 3.13. License in practice: MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both commercial and open-source projects. Quickstart: pip install easypost import os import easypost client = easypost.EasyPostClient(os.getenv('EASYPOST_API_KEY')) shipment = client.shipment.create( from_address={"name": "Sender", "street1": "118 2nd Street", "city": "San Francisco", "state": "CA", "zip": "94105", "country": "US"}, to_address={"name": "Recipient", "street1": "179 N Harbor Dr", "city": "Redondo Beach", "state": "CA", "zip": "90277", "country": "US"}, parcel={"length": 10.2, "width": 7.8, "height": 4.3, "weight": 21.2} ) bought = client.shipment.buy(shipment.id, rate=shipment.lowest_rate()) Requires a valid EasyPost API key passed via environment variable or directly to EasyPostClient. Verify before relying: - Whether the library supports real-time rate shopping across all major carriers or a subset. - Specific carrier integrations and coverage beyond what the description states. - Rate limiting or throughput constraints for high-volume shipment operations. - Whether address validation and correction is included or requires a separate service. ## Package facts - License: The MIT License Copyright (c) 2013 EasyPost (Simpler Postage, Inc) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files… (full text in the JSON record) (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 220.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags shipping api client python, easypost python library, shipment creation and buying, carrier rate comparison, shipping label generation, postage api integration, shipping-api, logistics, carrier-integration [View on SkillFed](https://skillfed.io/packages/easypost) · [View on PyPI](https://pypi.org/project/easypost/)