Simple webgui to update and present travel plans. Webgui thanks to the streamlit
package. Features include:
- Upload multiple plane tickets from Google's Travel page extract information using
pytesseract
, and present it - Uploaded tickets will be stored in images folder as
ticket_1.png
etc - Manually input where you are and where you plan to be, and when
- Store above information in an sqlite db, so OCR and extraction is not done on each page reload
- Present tracking info: https://www.flightstats.com/v2/flight-tracker/AA/5584
- Edit
line 74
ofwhereis.py
to change the default name and nickname. - Edit
line 2
ofinstall.sh
to indicate location of miniconda/anaconda.
sudo chmod +x install.sh
sudo chmod +x start_me.sh
./install.sh
Installer script will:
- Create new environment
- Install all required python libraries
- Add a cronjob to cron (if user desires, can be done post installation as well)
- Start the whereis script on
port 8502
and whereadmin script onport 8503
- Upload an Image
- Just upload it, nothing special required
- Upload Tickets
- Save a screenshot of your plane ticket, one at a time to your desktop, with the confirmation code included
- Drag and drop all plane tickets at once to the appropriate section of settings page
- NOTE: OCR assumes that tickets were saves alphabetically, so image "a.jpg" will appear as Flight 1 and "b.jpg" as Flight 2.
- NOTE: Wait until the running man in the top right stops, then close the tab. Tab must be closed and not refreshed or the picture will be processed again.
- Update Location
- Format:
NYC, NY
- Format:
- Update Plans
- location as
Los Angeles; Miami, FL
<- note separation by;
- date in same order
March 2; June 2, 2022
<- note separation by;
- click submit.
- location as