0%

Book Description

Get to grips with the basics of JupyterLab and its web interface with the help of this quick start guide

Key Features

  • Manage JupyterLab kernels, code consoles, and terminals, and share your work over the cloud
  • Organize your data solutions within JupyterLab
  • Install and configure extensions on JupyterLab using easy-to-follow examples

Book Description

JupyterLab is a web-based interface and the natural evolution of Jupyter Notebook. This guide will take you through the core commands and functionalities of JupyterLab and help you enhance your JupyterLab productivity.

Starting with the installation of JupyterLab, this book will give you an overview of its features and the variety of problems it solves. You'll see how you can work with external files inside the platform, and understand how to use the code console and terminal. This will help you have distinct control over the scripts you work with. As you progress, you'll get to grips with the extensions available in JupyterLab, and gain insights into adding extensions to introduce new functionality in the interface. This book also covers widget operations within your document, different design patterns in JupyterLab, and the various methods for exchanging Notebooks. Additionally, you'll explore how to host JupyterLab Notebooks on GitHub.

By the end of this Jupyter book, you'll have become well-versed with all the components of JupyterLab and be able to use it collaboratively within your data science teams.

What you will learn

  • Install JupyterLab and work with Jupyter Notebooks
  • Host JupyterLab Notebooks on GitHub and access GitHub resources in your Notebooks
  • Explore different methods for exchanging Notebooks
  • Discover ways in which multiple users can access the same Notebook
  • Publish your Notebooks with nbviewer and convert them into different formats
  • Attach and operate widgets within your Notebooks using a JupyterLab document
  • Use JupyterLab to work collaboratively with multiple data scientists in your teams

Who this book is for

This book is for data scientists and data analysts who are new to JupyterLab as well as for existing Jupyter users who want to get acquainted with its impressive features. Although not necessary, basic knowledge of Python will be helpful.

Table of Contents

  1. Title Page
  2. Copyright and Credits
    1. JupyterLab Quick Start Guide
  3. About Packt
    1. Why subscribe?
  4. Contributors
    1. About the authors
    2. About the reviewer
    3. Packt is searching for authors like you
  5. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
      1. Download the example code files
      2. Download the color images
      3. Conventions used
    4. Get in touch
      1. Reviews
  6. Introducing JupyterLab
    1. Installing JupyterLab with Anaconda Distribution
    2. Exploring JupyterLab's main features
    3. Creating a notebook within JupyterLab
    4. Optional – downloading a text editor
      1. Viewing a Jupyter notebook file in a text editor
    5. Optional – creating a GitHub account 
    6. Summary
  7. Exploring the JupyterLab Interface
    1. Customizing JupyterLab's interface
      1. Customizing your display
      2. Changing your theme
    2. Working with the left sidebar 
      1. The Files icon
      2. The Running icon
      3. Shutting down running processes
      4. The Commands icon
      5. The Tabs icon
    3. Exploring the menu bar
      1. The Edit menu
      2. The View menu
      3. The Run menu
      4. The Kernel menu 
      5. The Tabs menu
      6. The Settings menu
    4. Using the Code Console and Terminal 
      1. Tab completion
      2. Tooltips
      3. Console context menu
      4. Using the Terminal
      5. Changing themes
    5. Using notebook commands
      1. Magic functions
    6. Mapping keys from a text editor 
      1. Text editor themes
    7. Adding kernels to the main work area
      1. Creating kernels for additional languages
      2. Creating additional Python kernels
    8. Summary
  8. Managing and Building Extensions
    1. Managing extensions
      1. Installing node.js
      2. Using JupyterLab's extension manager
        1. Searching for extensions
        2. Installing extensions
        3. Managing extensions
      3. Using the command line
        1. Searching for extensions
        2. Installing public extensions
        3. Installing local extensions
        4. Managing extensions
    2. Knowing the useful extensions
      1. ipywidgets @jupyterlab-manager
      2. Matplotlib jupyter-matplotlib
      3. Plotly
      4. Other useful extensions
    3. Developing extensions
      1. Setting up your development environment
      2. Creating an extension project
        1. Cloning an extension template
        2. Personalizing the template
        3. Checking the setup 
      3. Building the extension 
        1. Ensuring the extension is installed
      4. Developing the extension
    4. Summary
  9. Data Exploration Within JupyterLab
    1. Overview of some common extensions
    2. Implementing a TOC in a notebook
      1. Installing the extension
      2. Viewing the TOC
      3. Navigating the TOC
      4. Displaying extra information in the TOC
    3. Using the commenting extension
      1. Installing the extension
      2. Creating, replying, and resolving comment threads
    4. Building interactive widgets to explore data
      1. Installing the extension
      2. Widgets
      3. Interactive
    5. Summary
  10. Sharing and Presenting Your Work
    1. Exporting content into different formats
      1. Export options
      2. Displaying HTML files without code
    2. Using nteract to share and publish notebooks
      1. Working with notebooks in nteract 
      2. Saving nteract notebooks as PDFs
        1. Adding page breaks to PDFs
      3. Publishing nteract notebooks as Gists
    3. Turning notebooks into presentations 
    4. Creating reports for machine learning
      1. Creating a report in Weights and Biases
    5. Summary
  11. Using JupyterLab with Teams
    1. Creating the JupyterLab GitHub extension
      1. Prerequisites for installing the JupyterLab GitHub extension
      2. Installing labextension for the GitHub extension
      3. Getting your credentials from GitHub
      4. Installing the serverextension package
      5. Customization of the GitHub JupyterLab extension
    2. Creating the JupyterLab Git extension
      1. Why is a version control system like Git needed?
      2. Prerequisites for installing the JupyterLab Git extension
      3. Installing the JupyterLab Git extension
      4. Usage of the JupyterLab Git extension
        1. Creating a new local Git repository
        2. Committing files to the repository
    3. Installing the JupyterLab GitLab extension
      1. Prerequisites for installing the GitLab extension
      2. Installing the lab extension
      3. Getting your credentials from GitLab
      4. Installing the server extension
      5. Customizing the server extension
      6. Customizing the lab extension
    4. Working with Neptune
      1. Tracking files with Neptune
      2. Installing the Neptune client
    5. Working with nbdime
      1. Installing nbdime
        1. Installation of notebook extensions for nbdime
        2. Usage of the notebook extension
        3. Removal of the nbdime notebook extension
    6. Summary
  12. Other Books You May Enjoy
    1. Leave a review - let other readers know what you think
13.59.236.219