add dict cursor to python_lib.py