Skip to main content

Official Trace Python client - 0.3.0

python -m pip install traceapi-sdk==0.3.0
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. Published on PyPI using GitHub trusted publishing. The original pinned wheel remains available for existing integrations.

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. MIT license covers SDK code only. Python requires 3.11+; the TypeScript client requires Node 22+.

Metadata

Release files for traceapi-sdk 0.3.1

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.1
File Size Uploaded Provenance
traceapi_sdk-0.3.1.tar.gz 10.3 kB With provenance Details

Built distribution (wheel)

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

Total release size: 19.0 kB

Release files / traceapi_sdk-0.3.1.tar.gz

Download URL traceapi_sdk-0.3.1.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
286a45ebf8e07d5fd45b7a79cfae86aafc59bdc1d0eff7bfbf442e53308012bc
BLAKE2b-256 checksum
How to use checksums
cbb5cc6195b08686cb1ad620b26931cf13f3b2cb1a8414c892e22d457d52f4b7
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 23, 2026.

Transparency log

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

Download URL traceapi_sdk-0.3.1-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f035e82a4e55b5f2531e9255a47112adc4ee943dba8b3d163a46ce4d00c3136c
BLAKE2b-256 checksum
How to use checksums
0f4327c346922e6f64fd3f23992f7f7c9a36e6edf3d091ff27ddcca56120314e
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 23, 2026.

Transparency log

Security for traceapi-sdk 0.3.1

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.1.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 23, 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.1 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