packagetrack - Track UPS packages
- Authors:
Scott Torborg (storborg)
- Version:
0.1
This library tracks packages.
Note Use at your own risk!
Installation
Simple as:
$ easy_install packagetrack
Or if you prefer, download the source and then:
$ python setup.py build $ python setup.py install
Example
>>> from packagetrack import Package
>>> package = Package('1Z9999999999999999')
# Identify packages (UPS, FedEx, and USPS)
>>> package.shipper
'UPS'
# Track packages (UPS only, requires API access)
>>> info = package.track()
>>> print info.status
IN TRANSIT TO
>>> 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()
http://wwwapps.ups.com/WebTracking/processInputRequest?TypeOfInquiryNumber=T&InquiryNumber1=1Z9999999999999999
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:
[UPS] license_number = XXXXXXXXXXXXXXXX user_id = XXXX password = XXXX
License
Packagetrack is released under the GNU General Public License (GPL). See the LICENSE file for full text of the license.
Metadata
Release files for packagetrack 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| packagetrack-0.2.tar.gz | 17.4 kB | Without provenance | Details for packagetrack-0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| packagetrack-0.2-py2.6.egg | Legacy Egg format | - | - | Details for packagetrack-0.2-py2.6.egg |
Total release size: 32.7 kB
Release files / packagetrack-0.2.tar.gz
| Download URL | packagetrack-0.2.tar.gz |
|---|---|
| Size | 17.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8ea2f8576da3e4b4377713e026fe576a375c1fe69181732ec5fc2a6223d13af
|
|
BLAKE2b-256 checksum How to use checksums |
1d487a60930c2a52294717bd896942d6ac3a7866a62ebec3e7fe6a9b4c57f2ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / packagetrack-0.2-py2.6.egg
| Download URL | packagetrack-0.2-py2.6.egg |
|---|---|
| Size | 15.3 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
e423b64842b647c6bbbe9794965d961117c844d222046bf3a3dd840f7b97272c
|
|
BLAKE2b-256 checksum How to use checksums |
31b9dcbefb9100a9c8db3c7d90bfb42b7b7a0342164bb3487d51cc273cbd7955
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for packagetrack 0.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.