updated python nnpt lib