I have a self written modul with a controller with the
class import_pdf(http.Controller):
@http.route('/pdfimport/parsefile',type='json', auth='user')
def parsefile(self, **kw):
.....
on the same modul i could execute this command inside a js script with
ajax.jsonRpc("/pdfimport/parsefile", 'call', {'pdf' : b64 })
now i like to execute the same command from an external python script and have found this libary: https://github.com/OCA/odoorpc but i dont find the right way to execute the command like in the javascript file