Connect Jupyter to Streambased A.S.K.
Jupyter notebooks are used for exploratory data analysis, data cleaning, data visualization, statistical modeling, machine learning, and deep learning. Let's bring real-time data into the mix.
Last updated
Jupyter notebooks are used for exploratory data analysis, data cleaning, data visualization, statistical modeling, machine learning, and deep learning. Let's bring real-time data into the mix.
Last updated
An active Streambased Cloud account, sign up or log in
A running Jupyter deployment that has the following additional packages:
jupysql
sqlalchemy-trino
Access to Streambased Cloud is managed via API-keys, you can create one for you new connection
With Jupyter you will use your public key
as the database username and your secret key
as the database password. Make a note of these for Step 2.
In a new notebook execute the following:
From your notebook run the following to load the SQL extension and the open the previously created engine:
Using the SQL extension we can execute anything we like. Happy querying!