JupyterLab is a popular Integrated Development Environment and "the next-generation web-based user interface for Project Jupyter." Code Ocean implements a User Interface based on JupyterLab by default, with many of the IDE's features available at a glance.
Another option is to use JupyterLab as a Cloud Workstation session , where you can start new Python files or Jupyter Notebooks, or run smaller segments of code without executing a master script.
If your capsule has a
conda installer available, click the Cloud Workstation dropdown and select JupyterLab:
This will automatically launch the typical JupyterLab interface.
Note: If you don't have pip or conda installers available, click the 'Environment' icon to access your environment configuration screen add
python3-setuptools via apt-get, and then add
jupyterlab via the pip3 installer that pops up.
- Leaving a Cloud Workstation running will continuously use quota; click 'Shut Down Cloud Workstation' to close the session.
- Every 30 minutes, your session will ask you if you are still there. This is to prevent an idly open session from exhausting your quota.
- Changes to code and data in a Cloud Workstation will be synced back to your capsule. Any changes to /results or the environment will not be. Please record changes you made to either, and re-implement them in a non-interactive session, if you wish to save them.