pynids