resolve python library functions