v0.5.0
What's Changed
♻️ REFACTOR: package API/CLI/documentation (#74)
This release includes major re-writes to key parts of the package,
to improve the user interface, and add additional functionality for reading and executing notebooks.
Key changes:
stage/stagingis now rephrased tonotebook, plus the addition ofproject, i.e. you add notebooks to a project, then execute them.- notebook
read_datais specified per notebook in the project, allowing for multiple types of file to be read/executed via the CLI (e.g. text-based notebooks via https://jupytext.readthedocs.io).
Before, the read functions were passed directly to the API methods. - The executor can be specified with
jbcache execute --executor, and a parallel notebook executor has been added. - Improved execution status indicator in
jbcache project listand other CLI improvements. - Re-write of documentation, including better front page, with quick start guide and better logo.
Dependencies have also been restructured, such that the CLI dependencies (click, tabulate) are now required,
whereas nbdime is now optional (since it is only used for optional notebook diffing).
The name of the SQL table nbstage has been changed to nbproject, and read_data/exec_data fields have been added to the nbproject.
This means that reading will fail for caches creted using older versions of the package.
However, the version of jupyter-cache, used to create the cache, is now recorded, allowing for the possibility of future automated migrations.
Full Changelog: v0.4.3...v0.5.0