The client supports running queries within transactions, as described in the GitHub project’s README.
The Python client package requires Python 3.6 or later, or PyPy 3.
To use the package directly in your Python code, install it locally with pip
install trino (or use pip3 if your system is so configured). Thereafter,
import trino into your code.
To use one of the Python-based
clients, follow the setup
instructions for that client, which incorporates the trino package
internally.
For examples, authentication, and more, refer to the GitHub project’s README.
Is the information on this page helpful?
Yes
No