Using pin -t <pintool> -- python <python_script.py> is nearly equivalent to compiling your code using Pyinstaller and then running it using pin. Pyinstaller bundles python runtime and your script together, so that user don't have to install python on their end.
Check pyinstrument - it is a python profiling project, it provides you stack track by ...
Some may favor miasm over other frameworks (see for instance the Advanced Binary Deobfuscation material). Examples:
Analyzing Shellcodes with Miasm for Fun and Profit
The Qiling emulator has been used for binary analysis and in conjunction with AFL++. Examples:
Moving From Dynamic Emulation of UEFI Modules To Coverage-Guided Fuzzing of ...