Redo python shim script in ruby
mackup 0.5.9

Closes #26180.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>