very interesting i wonder about the over-dependence on third party packages and modules imagine the author of 'is-odd' injects a trojan there what are you gonna do? C has this solved but 'vendoring' is not as fast as this approach
Compiled binaries are harder, you might consider compiling them from source and comparing the output. This is where build reproducibility comes in to play.
There's a lot more coming in the Python packaging security space that'll make this easier and just safer in general. Stay tuned :)