Registry / http-networking / easypost

easypost

JSON →
library10.6.0pypypi✓ verified 84d ago

EasyPost Shipping API Client Library for Python. Current version 10.6.0. Supports Python >=3.9. Released regularly with new features and bug fixes.

pip install easypost
INSTALL
IMPORT
SIG · EASYPOST
E
easypost
http-networkingpythonv10.6.0
Install
2.4s avg
Import
651ms
Disk
25MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v10.6.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.686s · 27.1MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.4s · import 0.616s · 28MB
25MB installed
● package 25MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

EasyPostClient
from easypost import EasyPostClient
import easypost; client = easypost.Client('API_KEY')

Create a client and an address.

import easypost client = easypost.Client(os.environ.get('EASYPOST_API_KEY', '')) # Create an address address = client.address.create( street1="417 MONTGOMERY ST", street2="FLOOR 5", city="SAN FRANCISCO", state="CA", zip="94104", country="US", company="EasyPost", phone="415-123-4567" ) print(address)
Debug
Known issues
breakingv10.0.0 drops support for Python 3.7 and 3.8. Also changed the client instantiation pattern; old `import easypost; easypost.api_key = '...'` no longer works. You must use `client = easypost.Client('API_KEY')` or set `easypost.api_key` only for backwards compatibility (deprecated).
fix
Use `import easypost; client = easypost.Client('YOUR_API_KEY')` and pass this client to all service calls.
affects: >=10.0.0
deprecatedSetting `easypost.api_key` globally is deprecated as of v10.0.0. Methods that relied on the global key (e.g., `easypost.Address.create(...)`) will raise errors in future versions.
fix
Use client-based calls such as `client.address.create(...)`.
affects: >=10.0.0
gotchaAll service methods are now called on the client object, not as top-level functions. For example, `easypost.Shipment.create(...)` is wrong; use `client.shipment.create(...)`.
fix
Create a client and use `client.<resource>.<method>(...)`.
affects: >=10.0.0
gotchaRate limiting: EasyPost returns 429 errors when too many requests are made. The library does not automatically retry; you must implement retries with exponential backoff.
fix
Catch `easypost.errors.RateLimitError` and retry after a delay.
affects: all
Upgrade
Version history
10.6.0latest on PyPI · released Feb 25, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
24
Amazon
1
OpenAI (training)
1
Resources
easypost — pip install easypost · libregistry