A number of environment variables are available in a hub tool session. A few are discussed here. A full list can be viewed by running the env command from a terminal in the Workspace...
Using Python packages from Jupyter Notebooks
On hubs these days we can employ conda envs to manage our Python packages, and we have long had hubzero 'use' scripts. This page will show you how use scripts set access to conda envs from...
Files for tool input and output
While developing tools, we need someplace to store temporary files, calculation results, and data uploaded by users. Here's a brief guide to best practices.Session variableFiles in User...
Jupyter tool deployment styles
How do you want your Jupyter Notebook-based tool to behave when a user runs it? You have several choices, which we describe here:Tool or App Mode style--code cells are hidden, UI widgets are...
Testing Jupyter-based tools
The proxied Jupyter tool is a useful place to develop code and analyses in a notebook style. Hub users can easily share their notebooks with other users by publishing notebooks as tools. The...