@har Hi Har,
I'm sorry, but we are not able to debug third-party Python code for you.
If you made it work under plain Python, then you can send the data to REXYGEN using the REST API. Have a look at "0302-03 REST API Python Bash etc", which sends data to REXYGEN using Python.
Kind regards,
Tomas