You can re-use a single report Python script for multiple different reports at different time-ranges (for instance, a Daily, Morning and Afternoon version of the same report), without having to duplicate your code.
You'll still need to create the report folder as if you were making a full new report - this includes making an info.txt file containing key information about the report such as name, time and duration.
However, instead of creating a 'report.py' file, you'll instead create a '<foldername>.rebrand' file. For example, if your folder was called 'shift_summary', you'd create a file called 'shift_summary.rebrand'.
The file should contain the name of the report folder that you want to base your report on.
Let's say we have the 'Daily Summary Report' in a folder called daily_summary.
If we wanted to offer a 12-hour version of the same report, we could create a new folder called '12_hour_summary', and give it an info.txt file containing its updated name, start time and 12 (rather than 24) hour length.
Then we'd have a '12_hour_summary.rebrand' file containing just the text 'daily_summary'.
12_hour_summary/info.txt
Shift Summary 12 2001-01-01 04:00:00 Australia/Sydney Shift Reports PDF
12_hour_summary/12_hour_summary.rebrand
daily_summary