MM Python HSM