add python_kmp and tests