当前位置:网站首页>What kind of experience is it to realize real-time collaboration in jupyter

What kind of experience is it to realize real-time collaboration in jupyter

2022-07-07 00:53:00 Zhu Weijun

1 brief introduction

When you are using jupyter when , Have you ever imagined if we could write code jupyter Share the interface with others , So that others can see what's synchronized with you in real time elsewhere jupyter Interface , In this way, whether it's communicating code logic with others , Or help others solve code problems remotely , The improvement of efficiency is amazing .

Today's content , Teacher Fei, I will teach you how to learn in jupyter lab The online real-time collaboration function can be easily enabled with one line command in .

2 stay jupyter lab Realize real-time collaboration in

To use this function , Please make sure yours jupyter lab Version greater than or equal to 3.1, And additional installation is required jupyterlab-link-share This auxiliary Library , direct pip install jupyterlab-link-share that will do .

After completing the above preparatory work , We just need to start jupyter lab Add parameters to the command of --collaborative that will do , We can be here jupyter lab Feel it first :

jupyter lab --collaborative

Start in real-time collaboration mode jupyter lab after , By clicking... In the top menu bar Share-Share Jupyter Server Link

We can choose any link in the list, copy it and share it with others for access , So as to realize real-time collaboration , Because the local used for the above demonstration jupyter service , So let's use different browsers to make a simple demonstration of the synergy effect :

You can see , Different real-time jupyter lab The content of synchronization operation is very fast , It is very suitable for remote collaborative analysis code , With this set of methods , We can set up a network in the LAN of our unit or school jupyter lab service , So as to achieve a silky collaborative office experience ~

in addition , According to some information leaked in advance ,jupyter lab Will be in the middle of alpha In the test phase 4.0 The version introduces more rich collaborative office functions , At that time, I will continue to share the latest jupyter lab Function is introduced , Coming soon ~


The above is the whole content of this paper , Welcome to discuss with me in the comments section ~

原网站

版权声明
本文为[Zhu Weijun]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207061703164920.html