marthacryan / developing-extensions-tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Developing Extensions Tutorial

JupyterLab is a modern interactive development environment from Project Jupyter for scientific exploration. Users can install or write third-party extensions to customize or extend JupyterLab, enabling them to, for example, view custom file formats, interact with external services, or display their data (interactive maps, tables, plots, etc.). In this tutorial, attendees will be guided through the process of creating a basic extension and taught about the core components that power JupyterLab.

Prerequisites

  • Python >= 3.7
  • Node.js >= 12 (LTS version preferred)
  • VSCode, download from here
  • (Optional) Note: We'll be using conda as a virtual environment, see here for instructions on installation of conda

Tutorial Code

You can find example code in the examples directory.

Agenda

  • Introduction (5 minutes):
    • Meet the instructors
  • Exploring extensions (15 minutes) (Martha)
    • What are extensions?
    • Example Extensions
    • Installing prebuilt vs source
    • Good documentation for developing extensions.
  • Anatomy of an extension (Alex)
    • JupyterLab extension (20 minutes + 30 minute exercise)
  • Break: 10 minutes
  • What to do when things go wrong? (30 minutes + 30 minute exercise) (Piyush)
    • Debugging tutorial
  • Working on your own extension (semi-guided on an extension you would like to create (45 minutes + break?)
    • Jupyter Server extension
    • Theme extension
    • Whatever you wanted to start on - or pick from here
  • Q & A / Show and Tell (30 minutes)

Slides

Note: Slides can be found here while in development, but we'll move them into the slides directory when finalized

About the Instructors

  • Martha and Alex are software engineers at the IBM Center for Open Source Data and AI Technologies. They are both contributors on JupyterLab and Elyra.

  • Piyush is a software engineer at Amazon Web Services working on JupyterLab.

About