Find Net Reclassification Improvement/Index metric using Python
Just stick to F1.

Yes NRI is cools but there are edgecases and its not a magic bullet. Read this paper

IF you really want to implement it you can embedd r programs in python.

Since there is already implementation in r what you could do is something like this. Just change it to use NRI.