Looking for some assistance with a script

I have a routine for generating blend files that I have automated in the most hacked-together way using Autohotkey, which I’m hoping get some help converting into python, which does the following:

  • Replaces an image texture
  • Rotates the model based on parameters
  • Shows/Hides some layers based on parameters
  • Adjusts the keyframe based on parameters
  • Finally saves off the adjusted blend file

I don’t believe it to be too involved, but I just keep running into issues every step along the way, due to my lack of experience with Python. Anyone out there willing to do some freelance work?