-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hello Jake,
This script is quite useful, but I found a few enhancements you could make.
First, in addition to generating a list of yearly readings, you could use datetime
and cycle through daily readings for an entire year automatically. There would be a hard transition at the one year point, but for me it's totally fine...
Next, pull the daily reading down automatically with meaningless
. I've already got a modified copy that pulls either NASB1995, NASB, NIV, ASV, ESV, KJV, or NKJV... obviously the supported translation list could trivially be expanded if you wanted. I made daily readings the default behavior since it's my preference.
Another idea I used... inline the yaml
in the script itself. I suppose you could even embed the yaml in a dot file, which is probably the traditional way to handle app configuration.
Finally, CLI arguments to control the daily / yearly / translation behavior above... so far I have this...
$ python bible_readings.py -h
usage: bible_readings.py [-h] [-d] [-y] [-t {NASB1995,NIV,ASV,ESV,KJV,NKJV}]
Bible reading automation
options:
-h, --help show this help message and exit
-d, --daily Daily readings, default
-y, --year Yearly readings
-t {NASB1995,NIV,ASV,ESV,KJV,NKJV}, --translation {NASB1995,NIV,ASV,ESV,KJV,NKJV}
I took the liberty of rewriting a bit to use OOP...
If you're interested in a PR, let me know... meanwhile, I pushed a copy of my modifications here