You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-21Lines changed: 27 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,16 +6,20 @@ The tool comes in the form of a windows executable or a python script. While I e
6
6
See the [releases section](https://github.com/sgreasby/Scout-Progress-Report/releases/) for the most recent stable version of the tool.
7
7
8
8
# Requirements
9
+
Before using the tool, log into Scoutbook and export troop advancement data.
10
+
See "Optional Steps to Make Output More Visually Pleasing" section below for steps to make the output look even better.
11
+
9
12
## Windows Executable
10
-
None. Just download the .exe file.
13
+
No other requirements. Just download the .exe file.
11
14
## Python Script
12
-
The script has been written for python 3.11 and utilizes the pandasand psutil modules.
15
+
The script has been written for python 3.11 and utilizes the pandas, psutil, dominate, and matplotlib modules.
13
16
14
17
Before running the script for the first time, ensure python 3.11 or later is installed on your computer and install the requried modules by typing the following from the command line:
15
18
16
-
`pip install pandas`
17
-
`pip install psutil`
18
-
`pip install dominate`
19
+
`pip install pandas`
20
+
`pip install psutil`
21
+
`pip install dominate`
22
+
`pip install matplotlib`
19
23
20
24
# Usage
21
25
@@ -29,7 +33,7 @@ To lanuch from windows drag the desired CSV file and drop it onto the progress.p
29
33
30
34
To launch from the command line type the following, where {} denotes optional portions and [] denotes portions to be specified by the user.
@@ -45,24 +49,26 @@ If omitted, a default style will be applied.
45
49
#### --cubs
46
50
Indicates that the progress report is generated for Cub Scouts. When this flag is set, the script will not display progress towards eagle, and will indicate Cub Scout and Webelos specific advancement and awards.
47
51
If omitted, only Scouts BSA advancement and awards will be displayed.
52
+
#### --clean
53
+
Indicates that the old output should be cleaned (i.e. deleted) before generating new output. If this is not specified then old files will be not be deleted, however newly generated files may overwrite the old files.
48
54
49
55
### Optional Steps to Make Output More Visually Pleasing
50
56
Defining your own CSS file will allow you to override the styles defined in the script and customize the look and layout of the progress reports.
51
57
52
58
If an "img" folder exists in the folder where the script/executable is located then that the img folder will be copied into the output folder and the generated reports will reference images found in that folder. The reports should still render properly even if those files are missing. Specific file names are expected. Those file names are:
53
-
-unitlogo.jpg: Background image for all reports
54
-
-bobcat.jpg: Bobcat rank emblem
55
-
-lion.jpg: Lion rank emblem
56
-
-tiger.jpg: Tiger rank emblem
57
-
-wolf.jpg: Wolf rank emblem
58
-
-bear.jpg: Bear rank emblem
59
-
-webelos.jpg: Webelos rank emblem
60
-
-arrowoflight.jpg: Arrow of Light rank emblem
61
-
-scout.jpg: Scout rank emblem
62
-
-tenderfoot.jpg: Tenderfoot rank emblem
63
-
-secondclass.jpg: Second Class rank emblem
64
-
-firstclass.jpg: First Class rank emblem
65
-
-star.jpg: Star Scout rank emblem
66
-
-life.jpg: Life Scout rank emblem
67
-
-eagle.jpg: Eagle Scout rank emblem
59
+
-**background.jpg:** Background image for all reports
60
+
-**emblem_bobcat.jpg:** Bobcat rank emblem
61
+
-**emblem_lion.jpg:** Lion rank emblem
62
+
-**emblem_tiger.jpg:** Tiger rank emblem
63
+
-**emblem_wolf.jpg:** Wolf rank emblem
64
+
-**emblem_bear.jpg:** Bear rank emblem
65
+
-**emblem_webelos.jpg:** Webelos rank emblem
66
+
-**emblem_arrow_of_light.jpg:** Arrow of Light rank emblem
0 commit comments