How to use the tool p4lang/tdi

Hi,
I want to know how to use the tool p4lang/tdi. I know that there is a complete dummy target here, but how to send table entries to this target? The Python file in the tdi_python directory does not have a main function, should the user add it by user? And how to get the tdi.json file mentioned in the README.md file?