File Handling Support#
The JupyterLab extension can be extended to provide additional support for handling files of various filetypes, as well as handling how files are managed.
Warning
The jupyterlab-git
extension seems to confuse the environment regarding which base directory it is working in. If you get an error tryung to create a new notebook, click in to the file browser, or select a directory in the file browser to set the path.
File browsing and handling#
jupyterlab-unfold = "^0.3.0"
[repo]: the JupyterLab file browser is limited to displaying the files that are within a selected folder; this extensions adds a tree view to the files sidebar to provide a few over multiple directories and the files contained within them;jupyter-archive = "^3.4.0"
[repo]: provides support for archiving and downloading multiple files; by default, uses thezip
format; this extension may be useful for students want to bundle files for submission as part of a TMA or EMA;jupyterlab-filesystem-access = "^0.6.0"
(Chrome only) [repo]: provides access to the local filesystem, allowing notebooks to be accessed from, and saved to, the user’s desktop, even if the Jupyter environment is remotely hosted; the extension allows students to persist their files on the own computer, even if using a remotely hosted VCE. To create a new file that is shared to the remote filesystem, right-click in the file browser and create a file there rather than creating it from the launcher [related issue, apparently resolved].jupyterlab-git = "^0.50.0"
[repo]: allows users to manage files using git, as well as push and pull files from a remote repository (.g. GitHub); this extension would allow students to synch files from a container, with or without persistent storage mounted into the container, with a remote git repository;jupytext = "^1.16.0"
[docs]: by default, Jupyter notebooks are saved using the.ipynb
(JSON) document format;jupytext
provides support for saving notebooks using simple text based formats (various flavours of markdown, as Python docs, etc.). Withjupytext
installed, text format documents can be opened using the notebook editor, code can be executed within that view, etc. Note that Jupytext does not save cell outputs into the supported text output documents.