Loading repository data…
Loading repository data…
Stephen-McDaniel / repository
Batch-execute Jupyter Notebooks from the command line: automatically convert them to Python scripts, record and append execution logs, and capture exact runtime (in seconds) for seamless archival and reproducibility.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Batch-execute Jupyter Notebooks from the command line: automatically convert them to Python scripts, record and append execution logs, and capture exact runtime (in seconds) for seamless archival and reproducibility.
Running Jupyter notebooks in VS Code, I want to easily start and run long-running notebooks in the background
/path/to/file/Notebook1.ipynb
/path/to/script/python3_batch.sh "/path/to/file/Notebook1.ipynb"
To run in background: /path/to/script/python3_batch.sh "/path/to/file/Notebook1.ipynb" &
Like this: /path/to/script/python3_batch.sh "/path/to/file/000_example.ipynb" &
A log directory is created, if it doesn't exist, at "/path/to/file/logs".
The Python script is written there, with a date time in the file name (archival!)
All is run.
The log is appended as comments at the bottom of the Python file.
And the run time in seconds is appended to the bottom of the Python file.