Introducing, PyScript! ⟨py⟩

Hey,
I’m trying to connect to pinotdb using connect(host=url,port=80, path=query/sql, scheme=‘http’)
but it gives error.
Is there any possible way to connect to remote databases?
TIA.