Parameterize and execute notebooks as repeatable runs
Use Papermill when an agent needs to treat a Jupyter notebook like a reusable job instead of a one-off interactive document. The skill injects parameters, runs the notebook end to end, and preserves the executed output as an artifact for review or handoff.
Installation
Use the upstream install or setup path that matches your environment:
- pip install papermill
- pip install papermill[all]
Requirements and caveats from upstream:
- like s3, or azure -- or use all. To use Black to format parameters you can add as an extra requires ['black'].
Basic usage or getting-started notes:
example:
Perhaps you have a financial report that you wish to run with
Do you want to run a notebook and depending on its results, choose a
Extracted from upstream docs: https://raw.githubusercontent.com/nteract/papermill/HEAD/README.md