Skip to main content

Pass URL parameters to a Jupyter notebook

Project description

Jupyter Notebook Params


Takes query parameters from a url to update a parameter cell of a jupyter notebook.


pip install jupyter-notebookparams

This should automatically enable the extension. If it is not listed in jupyter nbextension list install and enable it:

jupyter nbextension install --py jupyter_notebookparams --sys-prefix
jupyter nbextension enable --py jupyter_notebookparams --sys-prefix


Create a notebook cell that starts with the exact string # Parameters: Add parameters to the URL of a notebook, e.g. The content of the first cell starting with # Parameters: will be replaced with the passed parameters, e.g.

# Parameters:
a = 1
b = False

Add the parameter autorun=true to automatically run the notebook.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jupyter-notebookparams, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size jupyter-notebookparams-0.0.4.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page