Use papermill from your command line without installing any dependency.
497
Papermillโ is a tool for parameterizing and executing Jupyter Notebooks. This is a dockerized version meant to be called from the command line. It includes all pre-requisites, except for Dockerโ itself.
docker run --mount type=bind,source=%CD%,destination=/notebooks cascandaliato/papermill <options>docker run --mount type=bind,source=$(pwd),destination=/notebooks cascandaliato/papermill <options>For example, docker run --mount type=bind,source=$(pwd),destination=/notebooks cascandaliato/papermill input.ipynb output.ipynb will execute notebook input.ipynb and save the updated notebook to output.ipynb.
For the list of supported commands, read the official usage instructionsโ or run:
docker run --mount type=bind,source=%CD%,destination=/notebooks cascandaliato/papermilldocker run --mount type=bind,source=$(pwd),destination=/notebooks cascandaliato/papermillIf your notebook requires additional packages, you can specify them within text files to be placed in same folder as your notebooks:
apt-requirements.txtrequirements.txtThese files should contain one package per line.
Content type
Image
Digest
Size
214.2 MB
Last updated
about 6 years ago
docker pull cascandaliato/papermill