Adding tags to Jupyter notebooks

1.8k Views Asked by At

As suggested in the description of the Jupyter Miscrosoft extension for Visual Studio Code (VSC), I come here to ask you about support for cell metadata in jupyter notebooks. It seems nothing is currently available for adding cell metadata and, thus, using the papermill extension when writing python notebooks with VSC.

The last message in this 2019 github discussion, dated 2021-05-28, points to this other discussion where on 2021-05-13 someone suggested to use the Jupyter Powertools extension.

However, as of today 2021-10-03, that extension seems not to be compatible with either of my VSC versions:

  • VSC 1.60.2
  • VSC Insiders: 1.61.0

with no updates available for either one of them (using Windows 10).

Is there any way to use papermill with VSC? If not, are you aware of any papermill alternatives for parameterizing notebooks while using VSC?

Thanks

2

There are 2 best solutions below

1
On

I find extension Jupyter Power Tools that can add tag by click icon tag+ left beside icon python. But it failed in vscode version 1.660

0
On

Update - Jupyter Power Tools is now deprecated and functionality to be included within MSFT's Jupyter PowerToys extension. A tags interface / cell metadata editor does not appear to have been included, but they have an open issue here.