Papermill

Name:flytekitplugins-papermill
Version:0.0.0+develop
Author:admin@flyte.org
Provides: flytekitplugins.papermill
Requires: flytekit
papermill>=1.2.0
nbconvert>=6.0.7
ipykernel>=5.0.0
Python:>=3.9
License:apache2
Source Code: https://github.com/flyteorg/flytekit/tree/master/plugins/flytekit-papermill
  • Intended Audience :: Science/Research
  • Intended Audience :: Developers
  • License :: OSI Approved :: Apache Software License
  • Programming Language :: Python :: 3.9
  • Programming Language :: Python :: 3.10
  • Topic :: Scientific/Engineering
  • Topic :: Scientific/Engineering :: Artificial Intelligence
  • Topic :: Software Development
  • Topic :: Software Development :: Libraries
  • Topic :: Software Development :: Libraries :: Python Modules

It is possible to run a Jupyter notebook as a Flyte task using Papermill. Papermill executes the notebook as a whole, so before using this plugin, it is essential to construct your notebook as recommended by Papermill.

To install the plugin, run the following command:

pip install flytekitplugins-papermill

An example can be found in the documentation. We also have a tutorial showcasing the various ways in which you can leverage the Papermill plugin.