在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
jupyterlab-gitA JupyterLab extension for version control using Git To see the extension in action, open the example notebook included in the Binder demo. Prerequisites
Usage
InstallTo install perform the following steps: pip install --upgrade jupyterlab-gitjupyter lab build SettingsOnce installed, extension behavior can be modified via the following settings which can be set in JupyterLab's advanced settings editor:
TroubleshootingBefore consulting the following list, be sure the server extension and the frontend extension have the same version by executing the following commands: jupyter serverextension listjupyter labextension list
DevelopmentContributingIf you would like to contribute to the project, please read our contributor documentation. JupyterLab follows the official Jupyter Code of Conduct. InstallRequires NodeJS # Install new-ish JupyterLabpip install -U jupyterlab# Clone the repo to your local environmentgit clone https://github.com/jupyterlab/jupyterlab-git.gitcd jupyterlab-git# Install the server extension in development mode and enable itpip install -e .[test]jupyter serverextension enable --py jupyterlab_git --sys-prefix# Build the labextension and dev-mode link it to jlabjlpmjupyter labextension link . To rebuild the package after a change and the JupyterLab app: jlpm run buildjupyter lab build To continuously monitor the project for changes and automatically trigger a rebuild, start Jupyter in watch mode: jupyter lab --watch And in a separate session, begin watching the source directory for changes: jlpm run watch Now every change will be built locally and bundled into JupyterLab. Be sure to refresh your browser page after saving file changes to reload the extension (note: you'll need to wait for webpack to finish, which can take 10s+ at times). To execute the tests pytest jupyterlab_gitjlpm run test Contributors ✨The Jupyter Git extension is part of Project Jupyter and is developed by an open community of contributors. To see who has been active recently, please look at the "Contributors" tab. Below we list the people and entities who contributed in different ways to the project (emoji key):
全部评论
专题导读
上一篇:GitIconOverlayor: 关键字:TortoiseShell,TortoiseGit,TortoiseIcon TortoiseGit ...发布时间:2022-02-13下一篇:git-repo-go: git-repo is repo reimplemented in Golang and with many other featur ...发布时间:2022-02-13热门推荐
热门话题
阅读排行榜
|
请发表评论