Python libraries frequently aren't only in Python, and use native bindings. Node packages less so, but it still happens.
Java might surprise you, too, especially on EMR. I've found math, compression, and machine learning libraries that reach out to native code using JNI.