Skip to main content

Official Trace Python client - 0.3.0

pip install https://traceapi.dev/downloads/traceapi_sdk-0.3.0-py3-none-any.whl
import os
from traceapi import Trace, TraceError, verify_webhook
trace = Trace(os.environ['TRACE_API_KEY'])
# Sandbox exercises authentication without a carrier lookup.
example = trace.sandbox('delivered')
result = trace.track('YOUR_NUMBER', carrier='ups')

Requires Python 3.11+. Source is public at https://github.com/traceapi-dev/trace-ui/tree/main/clients/python. The future registry command is pip install traceapi-sdk==0.3.0; use the pinned download until registry publication is confirmed.

Server-side client for tracking, order-linked shipments, imports, action feeds, merchant cohorts and webhook recovery. See https://traceapi.dev/docs#official-clients for versioned download/install instructions and the full API reference.

Models are generated from the public OpenAPI contract by npm run sdk:generate. Unknown timezone timestamps remain null. Import success means record creation; verified carrier acquisition is a separate asynchronous outcome.

Defaults: timeout 95 seconds per attempt, at most two retries on confirmed 429/503 for reads or supported idempotent creates, honoring Retry-After up to 60 seconds. Ambiguous transport errors and non-idempotent actions are surfaced without retries. Explicit webhook replay never silently repeats.

Verify webhook signatures on raw bytes within five minutes, accepting any matching v1 signature during rotation overlap. Deduplicate event IDs after verification. Keep API keys/signing secrets on your server.

Pin this 0.x version; future 0.x releases may break compatibility. New /v1 response fields are additive; clients must tolerate them. Download artifacts are served by Trace; registry publication is separate. MIT license covers SDK code only. Python requires 3.11+; the TypeScript client requires Node 22+.

Metadata

Release files for traceapi-sdk 0.3.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 traceapi-sdk 0.3.0
File Size Uploaded Provenance
traceapi_sdk-0.3.0.tar.gz 10.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for traceapi-sdk 0.3.0
File Interpreter ABI Platform
traceapi_sdk-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.7 kB

Release files / traceapi_sdk-0.3.0.tar.gz

Download URL traceapi_sdk-0.3.0.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1fb68a271d5f700904385ce70c17ff8cdd5e793943b7b0a1018cbd36ab45a0ac
BLAKE2b-256 checksum
How to use checksums
0f1ba4e2e684f6234986207b8d625e4914486ee30c6dc5fcc7ce860a03d2b525
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / traceapi_sdk-0.3.0-py3-none-any.whl

Download URL traceapi_sdk-0.3.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25a52149897fc3b35c985a2889bb55ed9c148c9ae319866576b3ebab5712dd25
BLAKE2b-256 checksum
How to use checksums
25d4bd1f595666b52a7ad4caab6e6d99c76f51e9418b3de3fe4da22fdbf903d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Security for traceapi-sdk 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for traceapi_sdk-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files Full provenance

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