Skip to content

thevickypedia/uscis_case_tracker

Repository files navigation

USCIS Case Tracker

USCIS Case Tracker and notifier using:

  • requests - Get details from USCIS
  • BeautifulSoup - Extract tag values from html response
  • SMTP - Send email and SMS notification using Simple Mail Transfer Protocol (choose between TLS or SSL)

Commit:

pip install -U sphinx==4.0.2
pip install pre-commit==2.13.0
pip install virtualenv==20.0.33
pre-commit run --all-files

Runbook:

https://thevickypedia.github.io/uscis_case_tracker/

Docker Setup:

Uses python:3.8-slim to reduce build time. Since credentials are passed using params.json in run-time, there is no need for ENV in Dockerfile

Commands:

  • docker build -t uscis .
  • docker run uscis

Container sizes and build time comparison:

Repository Tag Size Build Time
python 3.8-alpine 79 MB 15.2s
python 3.8-slim 165 MB 18.1s
python 3.8 934 MB 119.5s