Saravanan666/pypi-org huggingface dataset:
Package: jupyterlabs-sql-codemirror
sql_code_highlightingFor highlighting with %sql and %%sql magic commands.RequirementsJupyterLab >= 3.1InstallTo install the extension, execute:pipinstalljupyterlabs_sql_codemirrorUninstallTo remove the extension, execute:pipuninstalljupyterlabs_sql_codemirrorContributingDevelopment 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 jupyterlabs_sql_codemirror 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 uninstallpipuninstalljupyterlabs_sql_codemirrorIn 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 namedjupyterlabs_sql_codemirrorwithin that folder.Packaging the extensionSeeRELEASE
Package: jupyterlab-stata-highlight2
jupyterlab_stata_highlight2JupyterLab extension for Stata syntax highlighting similar to the Stata IDE's.RequirementsJupyterLab >= 3.1, < 4.0Installpipinstalljupyterlab_stata_highlight2Uninstallpipuninstalljupyterlab_stata_highlight2ContributingDevelopment 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_stata_highlight2 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=FalsePredecessor license noticesExtension boilerplate originated in Project Jupyter'shttps://github.com/jupyterlab/extension-cookiecutter-jsExtension content forked from Kyle Barron'shttps://github.com/kylebarron/jupyterlab-stata-highlightPlease note their respective licenses.
Package: jupyterlab-sublime
jupyterlab_sublimeA slightly opinionated Sublime notebook cell binding for JupyterLab.NotesMost of the keybindings implemented by CodeMirror just work out of the box after switching the key map, there were a little pesky keys that collide either with my system level shortcuts, broswer shortcuts or jupyterlab shortcuts. I have adapted a few keybindings I find the most useful, more to follow soon. Consult thechecklistfor more details.Why opinionated?There are some keybindings I simply don't feel useful, so I have repurposed them, again see thechecklist.Also I have implemented some extra commands which might collide with other user's shortcuts, seemy list.PrerequisitesJupyterLabInstallationjupyterlabextensioninstall@ryantam626/jupyterlab_sublimeDevelopmentFor a development install (requires npm version 4 or later), do the following in the repository directory:npminstall
npmrunbuild
jupyterlabextensionlink.To rebuild the package and the JupyterLab app:npmrunbuild
jupyterlabbuild
Package: jupyterlab-symbol-algorithm-extension
jupyterlab-symbol-algorithm-extensionEasily copy unicode char into Jupyter LabRequirementsJupyterLab >= 3.0InstallTo install the extension, execute:pipinstalljupyterlab-symbol-algorithm-extensionUninstallTo remove the extension, execute:pipuninstalljupyterlab-symbol-algorithm-extensionContributingDevelopment 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-symbol-algorithm-extension 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-symbol-algorithm-extensionIn 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-symbol-algorithm-extensionwithin 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-symbol-sidebar
jupyterlab_symbol_sidebarEasily copy unicode char into Jupyter LabRequirementsJupyterLab >= 3.0InstallTo install the extension, execute:pipinstalljupyterlab_symbol_sidebarUninstallTo remove the extension, execute:pipuninstalljupyterlab_symbol_sidebarContributingDevelopment 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_symbol_sidebar 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_symbol_sidebarIn 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-symbol-sidebarwithin 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-system-monitor
JupyterLab System MonitorJupyterLab extension to display system information (memory and cpu usage).Provides an alternative frontend for thejupyter-resource-usagemetrics:https://github.com/jupyter-server/jupyter-resource-usageThis extension was originally developed as part of thejupyterlab-topbarproject, and extracted into its own repository later on.TODOAdd Network I/OExpose more settingsPrerequisitesJupyterLab 1.0+Node.jsInstallationThis extension requires thejupyter-resource-usagepackage and thejupyterlab-topbar-extensionextension for JupyterLab.Note: This extension is not compatible withnbresuse==0.3.4.Starting from JupyterLab 3.0, extensions can be distributed as a Python package. Installation instructions will differ depending on your version of JupyterLab:JupyterLab 3.xpipinstalljupyterlab-system-monitorJupyterLab 2.xpipinstallnbresuse
jupyterlabextensioninstalljupyterlab-topbar-extensionjupyterlab-system-monitornbresusecan also be installed withconda:condainstall-cconda-forgenbresuseNote: Node.js is required to install JupyterLab extensions. It can be installed withconda:condainstall-cconda-forgenodejsConfigurationGraphic DisplayYou can set the memory and cpu limits (but not enforce it) to display the indicator in the top bar.For more info, check thememory limitin thenbresuserepository.Edit~/.jupyter/jupyter_notebook_config.py(note: seehereif you do not have a config file:c=get_config()# memoryc.NotebookApp.ResourceUseDisplay.mem_limit=<size_in_GB>*1024*1024*1024# cpuc.NotebookApp.ResourceUseDisplay.track_cpu_percent=Truec.NotebookApp.ResourceUseDisplay.cpu_limit=<number_of_cpus>For example:c.NotebookApp.ResourceUseDisplay.mem_limit=4294967296c.NotebookApp.ResourceUseDisplay.track_cpu_percent=Truec.NotebookApp.ResourceUseDisplay.cpu_limit=2Or use the command line option:# POSIX shelljupyterlab--NotebookApp.ResourceUseDisplay.mem_limit=$((size_in_GB*1024*1024*1024))\--NotebookApp.ResourceUseDisplay.track_cpu_percent=True\--NotebookApp.ResourceUseDisplay.cpu_limit=$((number_of_cpus))Advanced SettingsYou can change the label and refresh rate in JupyterLab's advanced settings editor:TroubleshootingIf you are experiencing issues with the memory and cpu indicators not being displayed, make sure to check thenbresuse changelogfor any breaking changes from major releases.Development# create a new conda environmentcondacreate-njupyterlab-system-monitor-cconda-forgejupyterlabnodejsnbresuse
condaactivatejupyterlab-system-monitor# Install dependenciesjlpm# Install the package in development modepipinstall-e.# Link your development version of the extension with JupyterLabjlpmrundevelop# Rebuild extension TypeScript source after making changesjlpmrunbuildUninstallpipuninstalljupyterlab-system-monitor
Package: jupyterlab-tabular-data-editor
Documentation|Contributingjupyterlab-tabular-data-editorManipulate your tabular data responsively and effectively within JupyterLab.EXPERIMENTAL: This extension is still in alpha. The API is subject to frequent changes.Try our extensionhere!Read more about the Jupyter Tabular Data Editor Extension in ourpress release!Note: This is a forward-looking press release and serves to provide a vision of the final product. Not all features in this press release are currently implemented.Check out ourcurrent progress and future plans!See our progress as of 08/27/2020 from theseslides!Feature ShowcaseView Extension HighlightsLaunch new files and quickly add rows and columnsSeamlessly rearrange your data tableInsert and remove multiple rows and columnsFormat your data with a click of a buttonSearch and replace with easeRequirementsJupyterLab >= 2.0InstallJupyterLab 3:pipinstalljupyterlab-tabular-data-editorJupyterLab 2:jupyterlabextensioninstalljupyterlab-tabular-data-editorContributingDevelopment 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-tabular-data-editor 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=FalseUninstallFor JupyterLab 3:pipuninstalljupyterlab-tabular-data-editorFor JupyterLab 2:jupyterlabextensionuninstalljupyterlab-tabular-data-editor
Package: jupyterlab-telemetry
jupyterlab_telemetryA JupyterLab library for logging and telemetry of usage dataThis extension is composed of a Python package namedjupyterlab_telemetryfor the server extension and a NPM package named@jupyterlab/jupyterlab-telemetryfor the front end library.RequirementsJupyterLab >= 3.0InstallTo install the server extension, execute:pipinstalljupyterlab_telemetryTo install the front end library, add"@jupyterlab/jupyterlab-telemetry": "^1.0.0"to dependencies inpackage.json.UninstallTo remove the server extension, execute:pipuninstalljupyterlab_telemetryTo remove the front end library, remove"@jupyterlab/jupyterlab-telemetry": "^1.0.0"from dependencies inpackage.json.TroubleshootIf you have installed the frontend library, but it is not able to connect to telemetry endpoint, check
that the server extension is enabled:jupyterserverextensionlistUsageDefine handlers that can receive events from theEventLogimport{EventLog}from'@jupyterlab/jupyterlab-telemetry';functionconsoleHandler(el:EventLog,events:EventLog.RecordedEvent[]){console.log(`[Handler1] Received events${JSON.stringify(events)}`);}functionconsoleHandler2(el:EventLog,events:EventLog.RecordedEvent[]){console.log(`[Handler2] Received events${JSON.stringify(events)}`);}Create an instance of the EventLog and configure the handler and other options fromEventLog.IOptionsconstel=newEventLog({handlers:[consoleHandler,consoleHandler2],allowedSchemas:['org.jupyter.foo','org.jupyterlab.commands.docmanager:open'],commandRegistry:app.commands,commandEmitIntervalSeconds:2});Send custom events via therecordEventsinterface. If thecommandRegistryinstance was passed, then theEventLogwill subscribe to commands executed in the JupyterLab application and send the whitelisted ones to each configured handler.el.recordEvent({schema:'org.jupyter.foo',version:1,body:{foo:'bar'}});Dispose the event log after useel.dispose();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 environmentgitclonehttps://github.com/jupyterlab/jupyterlab-telemetry.git# Change directory to the jupyterlab-telemetry directorycdjupyterlab-telemetry# Install package in development modepipinstall-e.# Server extension must be manually installed in develop modejupyterserverextensionenablejupyterlab_telemetry# Build the Typescript source after making changesjlpmbuildTestingThe server extension has python tests which can be updated and tested before pushing the new changes.# Install the test dependenciespipinstall.[test]# Run the testspytestThe front end library is usingjestfor testing, and is setup to produce test coverage when thetesttarget is run.# To run the tests with coveragejlpmtestDevelopment uninstall# Server extension must be manually disabled in develop modejupyterserverextensiondisablejupyterlab_telemetry
pipuninstalljupyterlab_telemetryPackaging the extensionSeeRELEASE
Package: jupyterlab-telemetry-system
jupyterlab_telemetry_systemA JupyterLab extension.This extension is composed of a Python package namedjupyterlab_telemetry_systemfor the server extension and a NPM package namedjupyterlab-telemetry-systemfor the frontend extension.RequirementsJupyterLab >= 4.0.0InstallTo install the extension, execute:pipinstalljupyterlab_telemetry_systemUninstallTo remove the extension, execute:pipuninstalljupyterlab_telemetry_systemTroubleshootIf 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_telemetry_system directory# Install package in development modepipinstall-e"."# Link your development version of the extension with JupyterLabjupyterlabextensiondevelop.--overwrite# Server extension must be manually installed in develop modejupyterserverextensionenablejupyterlab_telemetry_system# 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 uninstall# Server extension must be manually disabled in develop modejupyterserverextensiondisablejupyterlab_telemetry_system
pipuninstalljupyterlab_telemetry_systemIn 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-telemetry-systemwithin that folder.Packaging the extensionSeeRELEASE
Package: jupyterlab-templates
Support for jupyter notebook templates in jupyterlabInstallPyPIjupyterlab_templatesis available onPyPI:pipinstalljupyterlab_templatesCondajupyterlab_templatesis also available onconda-forge:condainstall-cconda-forgejupyterlab_templatesJupyter Server/JupyterLab Extensionjupyter labextension install jupyterlab_templates
jupyter server extension enable --py jupyterlab_templatesAdding templatesinstall the server extension, and add the following tojupyter_notebook_config.pyc.JupyterLabTemplates.allowed_extensions=["*.ipynb"]c.JupyterLabTemplates.template_dirs=['list','of','template','directories']c.JupyterLabTemplates.include_default=Truec.JupyterLabTemplates.include_core_paths=Truec.JupyterLabTemplates.template_label="Template"Templates for librariesThe extension will searchsubdirectoriesof each parent directory specified intemplate_dirsfor templates.Note!Templates in the parent directories will be ignored. You must put the templates insubdirectories, in order to keep everything organized.Ifinclude_default = Truethenotebook_templatesdirectory under thejupyter data folderis one of the default parent directories. Thus, if you have tutorials or guides you'd like to install for users, simply copy them into your jupyter data folder inside thenotebook_templatesdirectory, e.g./usr/local/share/jupyter/notebook_templates/bqplotforbqplot.If you want to exclude templates from a specific directory, please add a file.jupyterlab_templates_ignoreto to this location.
All notebooks in this directory will be ignored (but has no effect on subdirectories).Flagsallowed_extensions: a list of extensions to allow templates for. (optional, default["*.ipynb"])template_dirs: a list of absolute directory paths. All files matchingallowed_extensionsin anysubdirectoriesof these paths will be listed as templatesinclude_default: include the default Sample template (default True)include_core_paths: include jupyter core paths (see: jupyter --paths) (default True)template_label: set label for template UI icon (default "Template")DevelopmentSeeCONTRIBUTING.mdfor guidelines.LicenseThis software is licensed under the Apache 2.0 license. See theLICENSEandAUTHORSfiles for details.
Package: jupyterlab-theme
jupyterlab-themeA theme extension for JupyterLab with the NayaOne logo and colorsPrerequisitesJupyterLab >= 3.0.0Installationjupyterlabextensioninstall@nayaone/jupyterlab-themeDevelopmentFor a development install (requires npm version 4 or later), do the following in the repository directory:npminstall
jupyterlabextensionlink.
jupyterlabextensioninstall.To rebuild the package and the JupyterLab app:npmrunbuild
jupyterlabbuildBuilding and Uploading a new Packagepython3 -m build
python3 -m twine upload --repository jupyterlab-theme dist/*