We currently support the VSCode IDE and Jupyter Notebooks with our extension
Installation
In order to use the Etiq Data Science Copilot you need to install the Python package to your local environment, then one of the VSCode Extension or the JupyterLab Extension depending on your IDE of choice.
Python Package
Install the etiq-copilot python package from PyPi:
pip install etiq-copilot
VSCode Extension
Download the VSCode extension from the VSCode Marketplace, either search for Etiq in the Extensions pane on your VSCode or via the link below:
Install the jupyterlab-etiq python package from PyPi:
pip install jupyterlab-etiq
Getting Started with Etiq in VSCode
⚠️ Warning! Please be sure that you have selected the correct Python Interpreter in your VSCode, this should be the venv or other virtual environment where etiq-copilot was installed. If you see an error like the below you are that is likely to be the issue
Starting Etiq in VSCode
We recommend you start with the example scripts available on our Github here:
Once you can see Listening on port 5556 in the window you are ready to scan your first script!
Scanning a file - Creating your first lineage in VSCode
With your script open on the left, click Scan the current file in the Etiq extension on the right. This will then scan your code and data and show you your Lineage in the Lineage pane.
A successfully scanned script and Lineage
Getting Started with Etiq in JupyterLab
Starting Etiq in JupyterLab
We recommend you start with the example scripts available on our Github here:
Within the lineage_example directory you'll find lineage_example.ipynb
Open this in your Jupyter Notebook Server
Scanning a file - Creating your first lineage in JupyterLab
You can then open the sidebar on the right on the Lineage tab
If you now click the Scan file button within this tab, Etiq will analyse the entire notebook and display the lineage.
You can also select an individual cell, ensuring that previous cells have been executed, and display the lineage just for the data and code objects in that cell.