Skip to main content

Track packages.

Project description

Authors: Scott Torborg (storborg)
Version: 0.1

This library tracks packages.

Note Use at your own risk!


Simple as:

$ easy_install packagetrack

Or if you prefer, download the source and then:

$ python build
$ python install


>>> from packagetrack import Package
>>> package = Package('1Z9999999999999999')
# Identify packages (UPS, FedEx, and USPS)
>>> package.shipper
# Track packages (UPS only, requires API access)
>>> info = package.track()
>>> print info.status
>>> print info.delivery_date
2010-06-25 00:00:00
>>> print info.last_update
2010-06-19 00:54:00
# Get tracking URLs (UPS, FedEx, and USPS)
>>> print package.url()

UPS API Configuration

To enable UPS package tracking, get an account and an API license number on the UPS website, then make a file at ~/.packagetrack that looks like:

license_number = XXXXXXXXXXXXXXXX
user_id = XXXX
password = XXXX


Packagetrack is released under the GNU General Public License (GPL). See the LICENSE file for full text of the license.

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 packagetrack, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size packagetrack-0.2-py2.6.egg (15.3 kB) File type Egg Python version 2.6 Upload date Hashes View
Filename, size packagetrack-0.2.tar.gz (17.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page