pypi is not serious about security
@hipsterelectron any package manager serious about security has hard versioning and checksums covering all possible constructs of the system. Pip is happy to install whatever malware as long as some site says its at or above the correct version.
As far as I've seen, Go is the only language to get this right although cargo provably does too