fsp_scripts/README.md

47 lines
949 B
Markdown

# Flight Schedule Pro Scripts
## Requirement
Python 3
Pip
Firefox
## Install
Clone this repository
```bash
#navigate to the folder
cd fsp_scripts
#create a virtual environment and install dependencies
python -m vene .venv
source .venv/bin/activate
pip install -r requirements.txt
```
Update config.ini with you Flight Schedule Pro username and password
## Config
TODO
## Scripts
### save_progress_reports.py
Downloads individual session PDFs for students and merges them into a single PDF per student
#### Usage
```bash
#At a minimum the script requires one argument, the name of a student to retrieve sessions for
python save_progress_reports.py "Greg Johnson"
#Also accepts multiple students
python save_progress_reports.py "Greg Johnson" "Casey Serbagi"
#Partial names work as well (retrieves the first matching student name found)
python save_progress_reports.py Greg
#More usage details
python save_progress_reports.py --help
```