Skip to main content

DHL Tracking API Python Client

This is a Python client for the DHL Shipment Tracking Unified API.

It is not fully featured yet, but it is a good starting point. It requires you to have a DHL developer account and an API key.

Installation

pip install dhltrack

Usage

from dhltrack import DHL

api = DHL("YOUR_API_KEY", "YOUR_API_SECRET")

# Realtime tracking

tracking = api.track("YOUR_SHIPMENT_NUMBER")

License

This project is licensed under the MIT License - see the LICENSE file for details.

Release files for dhltrack 0.9.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 dhltrack 0.9.0
File Size Uploaded
dhltrack-0.9.0.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dhltrack 0.9.0
File Interpreter ABI Platform
dhltrack-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / dhltrack-0.9.0.tar.gz

Download URL dhltrack-0.9.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f0e283e6ceaa37bd2c732aa34430203cbad526f52459f4bff626f569e8bad8c4
BLAKE2b-256 checksum
How to use checksums
01787b4474f90be8486b08b688a6a4a39fb2ed90d3ae3cd3da92989239075be8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / dhltrack-0.9.0-py3-none-any.whl

Download URL dhltrack-0.9.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6cc2b502f67be841b033ac7d74b9b316e96e84168c4455a696a5a4ad091121fb
BLAKE2b-256 checksum
How to use checksums
484e15d717498d984f1152047d32c649a0ab78ab0cb284fdc47c03833c7bfdf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files

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