Skip to main content

command line tool to track packages using gmail api and selenium

Project description

package-track

package-track is an easy to use package tracker that can automate the process of tracking your deliveries and shipments. The release is currently limited to tracking deliveries from USPS, UPS, FEDEX, and other major logistics providers that ship within the United States.

Things to know:

  • When you first run the program, package-track will ask you to grant email access through Gmail. We do not store any of your email information. We have simply built on top of the Gmail API to allow your terminal to have access to your emails. If you don't enable this functionality, the program will not work correctly. The scope and API information is available here: https://developers.google.com/gmail/api/guides.
  • package-track is cobbled together from a bunch of different dependencies. Please ensure that you have them all installed or the program will not work correctly.

Dependencies

For Gmail's API Functionality:

  • pickle, os, google-api-python-client, google-auth-httplib2, google-auth-oauthlib, email, and base64

For Online Searching / Web Scraping:

  • selenium, bs4

For everything else:

  • pandas, csv, re, itertools

I recognize that this is a ridiculous number of dependencies for a package to function. However, I hope that most (or at least some) of these libraries are already installed. If you are looking to install any of these, simply use

$ pip install [package-name] 

and insert the name of the package listed above.

Installation

package-track requires Python v3+ to run.

To install package-track, simply use pip install:

$ pip install package-track

Development

Want to contribute? Great!

package-track could definitely use some help. Feel free to email me at idm2114@columbia.edu or send a pull request to the github repository.

Todos

  • Refactor code
  • Enable opt-in email access
  • Add more shipping providers

License

MIT

thank you

Project details


Download files

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

Source Distribution

package-track-0.1.2.tar.gz (8.0 kB view details)

Uploaded Source

File details

Details for the file package-track-0.1.2.tar.gz.

File metadata

  • Download URL: package-track-0.1.2.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for package-track-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1b9b75554fbeacfeba84f187ce4a683f077dba32a51878d44f3b7963dbce01e5
MD5 15f01044aaab162b7c185bdfc99ee464
BLAKE2b-256 f3755f0d0b594f9a686b54e4fb6f75f207e2a0fd5038ca0fd71950a4ed36dc15

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page