Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Detect package carrier from tracking number and generate tracking url

Project description


Detect package carrier from tracking number and generate tracking url.


  • python >= 3.2


$ pip install tracking_url


import tracking_url

match = tracking_url.guess_carrier('0123456789')
if match is None:
    print('No matching carrier found')
    print('Number:', match.number)
    print('Carrier:', match.carrier)
    print('Url:', match.url)


This code is a simple python port of the identically named node module.

Big thanks to for the original code and research.


If you have any suggestions, bug reports or annoyances please report them to the issue tracker at .

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tracking-url, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size tracking-url-0.0.3.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page