nbmelt

Shutdown notebooks that don't get used


License
BSD-3-Clause
Install
pip install nbmelt==1.1.0

Documentation

nbmelt

melt your notebooks if they don't get used!

Use it:

pip install nbmelt
jupyter serverextension enable nbmelt
NBMELT_TIMEOUT=30 jupyter notebook
[I 23:42:27.597 NotebookApp] This notebook will self destruct if you don't use it in 30 seconds!
[I 23:42:27.604 NotebookApp] Serving notebooks from local directory: ~/notebooks
[I 23:42:27.604 NotebookApp] 0 active kernels
[I 23:42:27.605 NotebookApp] The Jupyter Notebook is running at:
[I 23:42:27.605 NotebookApp] http://localhost:8888/
[I 23:42:27.605 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[E 23:42:57.600 NotebookApp] No authenticated requests received in 30s, exiting.
[I 23:42:57.601 NotebookApp] Shutting down 0 kernels