Recently, scikit-learn included a DET curve routine in the 0.24.1 release: https://scikit-learn.org/stable/auto_examples/model_selection/plot_det.html#sphx-glr-auto-examples-mod