Xplan Object Analytics Community Edition/Python
  • Python Services Overview
    • Gallery
    • Architecture overview
    • Python IDE
      • Basic Python IDE Features
        • Pyodide WebAssembly Examples
          • The first hello xplain world!
          • Import xplain python package and interact with Object Analytics
          • Using option parameters
          • Build a mini data app with streamlite package
          • Build data app with advanced plotting packages
      • Advanced topic
        • Server-side Python mode
        • Role-Based-Access-Control (RBAC)
    • JupyterLite
      • Enable Developer Mode
      • Start JupyterLite from XOE
      • Install and import packages in JupyterLite
    • Export to Python
      • Export the current session to Python code
      • Export current session to Jupyter Notebook
    • xplain python package
      • Basics to get started
      • local python environment
      • References
        • Xplain Python Package Class Xsession Document
        • Xplain Web Interface Api
      • Tutorials
        • Shared Session: work with Python and XOE together
        • xplain.Xsession Examples
    • App Building
      • Streamlit examples
        • Bar Chart and Button
        • Streamlit & Plotly
        • Cohorten
Powered by GitBook
On this page
  1. Python Services Overview
  2. JupyterLite

Install and import packages in JupyterLite

Since JupyterLite is running in the web assembly, the required packages can not be persisted locally, they need to by installed on-demand on each session.

With the preinstalled package piplite you can add the additional packages with .

await piplite.install()

Example: how to install and import package xplain

import piplite
await piplite.install("xplain")
import xplain
PreviousStart JupyterLite from XOENextExport to Python

Last updated 11 months ago