What I do this to call Kantu from the command line in python, and then make api calls directly in python.