Automatic application of merit badges to rank levels

OK… Sorry, I’ve been away for awhile. But I wanted to do some clean up and testing before I came back here.

I’ve created new python scripts that do not use the TroopTrack API at all. They just read the web pages directly, calculate the correct rank for each completed merit badge and update the merit badge to assign it to that rank. (There is a “-t” command line option that will skip all updates, but still output what it would update if allowed.)

I also created a file with instructions for those that include how to download python, install a couple of extra python packages that the script uses and run the scripts. This is the TTReadMe.txt file.

So, here’s the links to the files:

  1. TTReadMe.txt
  2. TTinit.py
  3. TTAchievements.py

More information about #2 and #3 is explained inside the TTReadMe.txt file. But feel free to try it and ask me questions here if needed.

Let me know if you have any questions, comments or concerns!

Steve