easypost
EasyPost Shipping API Client Library for Python
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a valid EasyPost API key passed via environment variable or directly to EasyPostClient.
- Low install friction with a single runtime dependency (requests).
- Actively maintained with a release within the last 50 days and an active repository.
License · maintenance · safety
permissive license (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both commercial and open-source projects.
last release 2026-06-25 (50 days) · last repo commit 2026-07-28 · 127 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 220,717 downloads/mo, #9,293 on PyPI
Alternatives
Verify before relying
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())- 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.
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 on this page. Verify before relying on it.
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
easypost on PyPI
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.
Requires a valid EasyPost API key passed via environment variable or directly to EasyPostClient.
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())
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 | permissive license permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagerequests |
| Maintenance | Actively maintained 50 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 220,717 / month, #9,293 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries |
Evidence: easypost-10.7.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “easypost python library”
- easypostPython client library for the EasyPost shipping API, enabling…
- find-libpythonLocates the libpython dynamic library path for the current Python…
- dlinfoProvides Python access to libc's dlinfo function and macOS dyld_find,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also shippo · WooCommerce · vonage-numbers · method-python · vcrpy-unittest · taxjar · ipinfo · phonenumbers · pyairtable · keboola.vcr