Saravanan666/pypi-org huggingface dataset:
Package: jupyterlab-topbar
JupyterLab Top BarMonorepo to experiment with the top bar space in JupyterLab.Similar to thestatus bar, the top bar can be used to place a few indicators and optimize the overall space.Inspired by Gnome Shell Top Bar indicators.Extensionsjupyterlab-topbar-extension: generic extension to expose the top bar areajupyterlab-topbar-text: add and edit custom textjupyterlab-system-monitor: show system metrics (memory usage)jupyterlab-logout: add a "Log Out" buttonjupyterlab-theme-toggle: switch between the Light and Dark themesTry it onlineTry the extensions in your browser with Binder:InstallationJupyterLab 3.0# container extensionpipinstalljupyterlab-topbar# to install the topbar-text extensionjupyterlabextensioninstalljupyterlab-topbar-textJupyterLab 1.x and 2.x# container extensionjupyterlabextensioninstalljupyterlab-topbar-extension# system metricsjupyterlabextensioninstalljupyterlab-system-monitor
pipinstallnbresuse# custom text in the top barjupyterlabextensioninstalljupyterlab-topbar-text# add a logout buttonjupyterlabextensioninstalljupyterlab-logout# theme toggling extensionjupyterlabextensioninstalljupyterlab-theme-toggleAll-in-one install:jupyterlabextensioninstalljupyterlab-topbar-extension\jupyterlab-system-monitor\jupyterlab-topbar-text\jupyterlab-logout\jupyterlab-theme-toggleDevelopment# create a new conda environmentcondacreate-njupyterlab-topbar-cconda-forgejupyterlabnodejs-y
condaactivatejupyterlab-topbar# Install dependenciesjlpm# Install the package in development modepipinstall-e.# Link your development version of the extension with JupyterLabjlpmrundevelop# For the jupyterlab-topbar-text extensionjlpmrunlink# Rebuild extension TypeScript source after making changesjlpmrunbuildUninstallpipuninstalljupyterlab-topbar
Package: jupyterlab-topbar-text
jupyterlab-topbar-textJupyterLab extension to display arbitrary text in the top bar.RequirementsJupyterLab >= 4.0InstallJupyterLab 4.xInstall the version1.0.0or above:pipinstalljupyterlab-topbar-text>=1.0.0JupyterLab 3.xInstall the version0.6.2:pipinstalljupyterlab-topbar-text==0.6.2UninstallTo remove the extension, execute:pipuninstalljupyterlab-topbar-textContributingDevelopment installNote: You will need NodeJS to build the extension package.Thejlpmcommand is JupyterLab's pinned version ofyarnthat is installed with JupyterLab. You may useyarnornpmin lieu ofjlpmbelow.# Clone the repo to your local environment# Change directory to the jupyterlab_topbar_text directory# Install package in development modepipinstall-e.# Link your development version of the extension with JupyterLabjupyterlabextensiondevelop.--overwrite# Rebuild extension Typescript source after making changesjlpmrunbuildYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.# Watch the source directory in one terminal, automatically rebuilding when neededjlpmrunwatch# Run JupyterLab in another terminaljupyterlabWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).By default, thejlpm run buildcommand generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:jupyterlabbuild--minimize=FalseDevelopment uninstallpipuninstalljupyterlab-topbar-textIn development mode, you will also need to remove the symlink created byjupyter labextension developcommand. To find its location, you can runjupyter labextension listto figure out where thelabextensionsfolder is located. Then you can remove the symlink namedjupyterlab-topbar-textwithin that folder.Packaging the extensionSeeRELEASE
Package: jupyterlab-tpt
jupyterlab_tptMy custom tweaks for using JLABRequirementsJupyterLab >= 4.0.0jupyterlab-mystInstallTo install the extension, execute:pipinstalljupyterlab_tptUninstallTo remove the extension, execute:pipuninstalljupyterlab_tptmisc commands and keystrokessearch forconveniencein the command palette to see the list of commands and associated keystrokesDevelopmentDevelopment installNote: You will need NodeJS to build the extension package.Thejlpmcommand is JupyterLab's pinned version ofyarnthat is installed with JupyterLab. You may useyarnornpmin lieu ofjlpmbelow.# Clone the repo to your local environment# Change directory to the jupyterlab_tpt directory# Install package in development modepipinstall-e"."# Link your development version of the extension with JupyterLabjupyterlabextensiondevelop.--overwrite# Rebuild extension Typescript source after making changesjlpmbuildYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.# Watch the source directory in one terminal, automatically rebuilding when neededjlpmwatch# Run JupyterLab in another terminaljupyterlabWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).By default, thejlpm buildcommand generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:jupyterlabbuild--minimize=FalseDevelopment uninstallpipuninstalljupyterlab_tptIn development mode, you will also need to remove the symlink created byjupyter labextension developcommand. To find its location, you can runjupyter labextension listto figure out where thelabextensionsfolder is located. Then you can remove the symlink namedjupyterlab-tptwithin that folder.Packaging the extensionSeeRELEASEMy noteson using signalshttps://github.com/jupyterlab/extension-examples/tree/master/signalsa very useful example of arming callbacks on changes
//https://discourse.jupyter.org/t/how-to-get-output-model-for-a-given-cell-in-a-jupyterlab-extension/11342/6waiting for a notebook context to be readynotebookContext:DocumentRegistry.IContext<INotebookModel>notebookContext.ready.then(()=>{/** The order of operations here is key. First, create a model that contains a log of* executed cells and the state of the gather UI.*/letnotebookModel=notebookContext.model;...})
Package: jupyterlab-training
jupyterlab-trainingjupyterlab training courses and exercices platformThis extension is composed of a Python package namedjupyterlab_trainingfor the server extension and a NPM package namedjupyterlab-trainingfor the frontend extension.RequirementsJupyterLab >= 4.0Installcdjupyterlab-training
pipinstall.TroubleshootIf you are seeing the frontend extension, but it is not working, check
that the server extension is enabled:jupyterserverextensionlistIf the server extension is installed and enabled, but you are not seeing
the frontend extension, check the frontend extension is installed:jupyterlabextensionlistContributingDevelopment installNote: You will need NodeJS to build the extension package.Thejlpmcommand is JupyterLab's pinned version ofyarnthat is installed with JupyterLab. You may useyarnornpmin lieu ofjlpmbelow.# Clone the repo to your local environment# Change directory to the jupyterlab-training directory# Install package in development modepipinstall-e.# Link your development version of the extension with JupyterLabjupyterlabextensiondevelop.--overwrite# Rebuild extension Typescript source after making changesjlpmrunbuildYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.# Watch the source directory in one terminal, automatically rebuilding when neededjlpmrunwatch# Run JupyterLab in another terminaljupyterlabWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).By default, thejlpm run buildcommand generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:jupyterlabbuild--minimize=FalseUninstallpipuninstalljupyterlab-training
Package: jupyterlab-translate
jupyterlab-translateThis package is used to generatelanguage packsfor the JupyterLab ecosystem.This package performs the following tasks common on JupyterLab core and external extensions:Extract strings from code in*.py,*.ts,*.tsxfiles.Extract strings from JSON schema files.Create gettext*.potcatalogs.Removes duplicate strings from catalogs.Create gettext*.pocatalogs for specific languages.Compile catalogs to*.moand*.jsonformat to be consumed by the JupyterLab frontend.Provide aHatch Build Hookto compile catalogs when building wheels.Update the list of contributors from Crowdin project.InstallationPippipinstalljupyterlab-translateYou will also need to installnodejs>= 14.Condacondainstalljupyterlab-translate-cconda-forgeUsageBundle catalogs as part of a language packThis is the recommended way of distributing your localization catalogs.Visit thelanguage packs repository.Bundle catalogs with packagesjupyterlab-translateextract<JLAB-EXTENSION-DIR><JLAB-EXTENSION-NAME>
jupyterlab-translateupdate<JLAB-EXTENSION-DIR><JLAB-EXTENSION-NAME>-les_ES
jupyterlab-translatecompile<JLAB-EXTENSION-DIR><JLAB-EXTENSION-NAME>DevelopmentTypescript extractorTo extract translatable strings from typescript files, this package relies ongettext-extract. To ease its
installation and usage, that tool is packaged within the python package by
creating a monolithic JavaScript file using@vercel/ncccompiler.To update the monolithic file, have a look at therelease file.
Package: jupyterlab-twitch
jupyterlab_twitchA JupyterLab extension to display Twitch inline.  It provides both a Twitch widget that can be displayed and modified via code, and a standalone Twitch player.The goals of the project are to build out a method that allows for students to watch live streaming coding sessions and interact with an instructor from within their Jupyerlab.  At present, it allows for embedding chat and video, but future developments will include deeper integration with chat usingtwitch-js.RequirementsJupyterLab >= 2.0Installjupyterlabextensioninstall@data-exp-lab/jupyterlab-twitchUsageYou can either use the "Twitch" option in the command palette, which will prompt you for a Channel, or you can import and use the Twitch widget.  Using the Twitch widget is preferred for most things, but it is also somewhat harder to move around.importjupyterlab_twitchplayer=jupyterlab_twitch.TwitchPlayerModel()player.channel="mst3k"player.volume=0.9display(player)Only a few attributes are exposed on theTwitchPlayerModel, and it will likely change its name as chat and other features are added.  Right now you can change the channel, the volume, and mute or unmute.  You can create a new output for the Twitch stream and drag that around, and you can also have multiple going.This uses the IFrame embedding library, so may not work on non-localhost domains.Style for the widget-based viewer is still a bit clunky, and will be worked on in subsequent versions.ContributingInstallThejlpmcommand is JupyterLab's pinned version ofyarnthat is installed with JupyterLab. You may useyarnornpmin lieu ofjlpmbelow.# Clone the repo to your local environment# Move to jupyterlab_twitch directory# Install dependenciesjlpm# Build Typescript sourcejlpmbuild# Link your development version of the extension with JupyterLabjupyterlabextensionlink.# Rebuild Typescript source after making changesjlpmbuild# Rebuild JupyterLab after making any changesjupyterlabbuildYou can watch the source directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.# Watch the source directory in another terminal tabjlpmwatch# Run jupyterlab in watch mode in one terminal tabjupyterlab--watchUninstalljupyterlabextensionuninstall@data-exp-lab/jupyterlab-twitch
Package: jupyterlab-ui-profiler
jupyterlab-ui-profilerJupyterLab extension for profiling UI performance.You can find more information in ourUser Guide.Note: when this extension is enabled, the server will return additional headers:to allow high-precisionperformance.now()measurements in Firefox 79+:Cross-Origin-Opener-Policy: same-origin,
Cross-Origin-Embedder-Policy: require-corpto enable JavaScript self-profiling in Chrome:Document-Policy: js-profilingIf this is undesirable in your deployment, but you still want to use the profiler without these functions,
you can disable the server extension which sets these headers with:jupyter server extension disable jupyterlab_ui_profilerRequirementsJupyterLab >= 3.0InstallTo install the extension, execute:pipinstalljupyterlab-ui-profilerUninstallTo remove the extension, execute:pipuninstalljupyterlab-ui-profilerContributingDevelopment installNote: You will need NodeJS to build the extension package.Thejlpmcommand is JupyterLab's pinned version ofyarnthat is installed with JupyterLab. You may useyarnornpmin lieu ofjlpmbelow.# Clone the repo to your local environment# Change directory to the jupyterlab-ui-profiler directory# Install package in development modepipinstall-e.# Link your development version of the extension with JupyterLabjupyterlabextensiondevelop.--overwrite# Rebuild extension Typescript source after making changesjlpmbuildYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.# Watch the source directory in one terminal, automatically rebuilding when neededjlpmwatch# Run JupyterLab in another terminaljupyterlabWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).By default, thejlpm buildcommand generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:jupyterlabbuild--minimize=FalseDevelopment uninstallpipuninstalljupyterlab-ui-profilerIn development mode, you will also need to remove the symlink created byjupyter labextension developcommand. To find its location, you can runjupyter labextension listto figure out where thelabextensionsfolder is located. Then you can remove the symlink named@jupyterlab/ui-profilerwithin that folder.Testing the extensionFrontend testsThis extension is usingJestfor JavaScript code testing.To execute them, execute:jlpm
jlpmtestIntegration testsThis extension usesPlaywrightfor the integration tests (aka user level tests).
More precisely, the JupyterLab helperGalatais used to handle testing the extension in JupyterLab.More information are provided within theui-testsREADME.DocumentationTo build locally:make -C docs/ html SPHINXOPTS="-W"To build in watch mode:sphinx-autobuild docs/source docs/build/htmlPackaging the extensionSeeRELEASE
Package: jupyterlab-unfold
jupyterlab-unfoldAn IDE-like file browserRequirementsJupyterLab >= 3.1.0,<4.0InstallTo install the extension, execute:pipinstalljupyterlab-unfoldUninstallTo remove the extension, execute:pipuninstalljupyterlab-unfoldContributingDevelopment installNote: You will need NodeJS to build the extension package.Thejlpmcommand is JupyterLab's pinned version ofyarnthat is installed with JupyterLab. You may useyarnornpmin lieu ofjlpmbelow.# Clone the repo to your local environment# Change directory to the jupyterlab-unfold directory# Install package in development modepipinstall-e.# Link your development version of the extension with JupyterLabjupyterlabextensiondevelop.--overwrite# Rebuild extension Typescript source after making changesjlpmrunbuildYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.# Watch the source directory in one terminal, automatically rebuilding when neededjlpmrunwatch# Run JupyterLab in another terminaljupyterlabWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).By default, thejlpm run buildcommand generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:jupyterlabbuild--minimize=FalseDevelopment uninstallpipuninstalljupyterlab-unfoldIn development mode, you will also need to remove the symlink created byjupyter labextension developcommand. To find its location, you can runjupyter labextension listto figure out where thelabextensionsfolder is located. Then you can remove the symlink namedjupyterlab-unfoldwithin that folder.AcknowledgementThis extension was inspired fromhttps://github.com/youngthejames/jupyterlab_filetree, but the code reuses the core-JupyterLab filebrowser and replaces it by default.
Package: jupyterlab-urdf
jupyterlab-urdfA URDF viewer and editor extension for JupyterLab.RequirementsJupyterLab >= 4.0.0InstallTo install the extension, execute:pipinstalljupyterlab-urdfUninstallTo remove the extension, execute:pipuninstalljupyterlab-urdfContributingDevelopment installNote: You will need NodeJS to build the extension package.Thejlpmcommand is JupyterLab's pinned version ofyarnthat is installed with JupyterLab. You may useyarnornpmin lieu ofjlpmbelow.# Clone the repo to your local environment# Change directory to the jupyterlab_urdf directory# Install package in development modepipinstall-e.# Link your development version of the extension with JupyterLabjupyterlabextensiondevelop.--overwrite# Rebuild extension Typescript source after making changesjlpmbuildYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.# Watch the source directory in one terminal, automatically rebuilding when neededjlpmwatch# Run JupyterLab in another terminaljupyterlabWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).By default, thejlpm buildcommand generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:jupyterlabbuild--minimize=FalseDevelopment uninstallpipuninstalljupyterlab-urdfIn development mode, you will also need to remove the symlink created byjupyter labextension developcommand. To find its location, you can runjupyter labextension listto figure out where thelabextensionsfolder is located. Then you can remove the symlink namedjupyterlab-urdfwithin that folder.Testing the extensionFrontend testsThis extension is usingJestfor JavaScript code testing.To execute them, execute:jlpm
jlpmtestIntegration testsThis extension usesPlaywrightfor the integration tests (aka user level tests).
More precisely, the JupyterLab helperGalatais used to handle testing the extension in JupyterLab.More information are provided within theui-testsREADME.Packaging the extensionSeeRELEASE
Package: jupyterlab-vega2
jupyterlab-vega2A JupyterLab extension for rendering Vega 2 and Vega-lite 1.Vega 2 is deprecated. The latest version comes by default with JupyterLab. Only use this extension if you have specifications that do not work with the latest version.RequirementsJupyterLab >= 3.0Installpipinstalljupyterlab-vega2UsageTo render Vega 2 or Vega-lite 1 output in IPython:fromIPython.displayimportdisplaydisplay({"application/vnd.vegalite.v1+json":{"$schema":"https://vega.github.io/schema/vega-lite/v1.json","description":"A simple bar chart with embedded data.","data":{"values":[{"a":"A","b":28},{"a":"B","b":55},{"a":"C","b":43},{"a":"D","b":91},{"a":"E","b":81},{"a":"F","b":53},{"a":"G","b":19},{"a":"H","b":87},{"a":"I","b":52}]},"mark":"bar","encoding":{"x":{"field":"a","type":"ordinal"},"y":{"field":"b","type":"quantitative"}}}},raw=True)To render a.vg,.vl,.vg.json,.vl.jsonfile, simply open it.ContributingDevelopment installNote: You will need NodeJS to build the extension package.Thejlpmcommand is JupyterLab's pinned version ofyarnthat is installed with JupyterLab. You may useyarnornpmin lieu ofjlpmbelow.# Clone the repo to your local environment# Change directory to the jupyterlab-vega2 directory# Install package in development modepipinstall-e.# Link your development version of the extension with JupyterLabjupyterlabextensiondevelop.--overwrite# Rebuild extension Typescript source after making changesjlpmrunbuildYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.# Watch the source directory in one terminal, automatically rebuilding when neededjlpmrunwatch# Run JupyterLab in another terminaljupyterlabWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).By default, thejlpm run buildcommand generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:jupyterlabbuild--minimize=FalseUninstallpipuninstalljupyterlab-vega2