This is a very simple addon that changes the functionality of the "Target Self" and "Target Party #" key bindings.
The default functionality is to target the partymember, or target the partymember's pet if the partymember is already targeted. This addon changes that functionality to remove pet targeting (as there are already keybindings to target pets specifically).
There is a single slash command, /ppt, that will toggle this functionality on and off as needed.