JupyterHub - Shared Projects

234 views
Skip to first unread message

testb...@gmail.com

unread,
Aug 4, 2017, 11:40:23 AM8/4/17
to Project Jupyter
Hi,
Could anyone please clarify on the below? I have installed Ananconda3.7 that comes with JupyterHub.

1. When I login to JupyterHub, I see the notebooks that are in my home directory. Is this the standard recommended location to store the private notebooks?

2. I'm working with two other users on the same project and using the same notebook. How can we share the notebook and what is the location to store the shared notebooks?

3. If I update a notebook, will other users be able to modify it if it is in a shared location? If so, how can we merge the content?

Thanks in advance!

MinRK

unread,
Aug 6, 2017, 7:04:22 AM8/6/17
to Project Jupyter
On Fri, Aug 4, 2017 at 5:40 PM, <testb...@gmail.com> wrote:
Hi,
Could anyone please clarify on the below? I have installed Ananconda3.7 that comes with JupyterHub.

1. When I login to JupyterHub, I see the notebooks that are in my home directory. Is this the standard recommended location to store the private notebooks?

Yes, your home directory is a standard place to store your own files.
 

2. I'm working with two other users on the same project and using the same notebook. How can we share the notebook and what is the location to store the shared notebooks?

You can use shared folders with shared permissions. One version of this is to create a shared directory that is group- or world-writable. This is often a directory next to your home, such as `/home/shared`. You can include a symlink to this from your home directory.
 

3. If I update a notebook, will other users be able to modify it if it is in a shared location? If so, how can we merge the content?

If you make a shared notebook, anyone with permission to edit that file will be able to change it. If you are using the current Jupyter notebook, you will not see any changes from another user until you re-open the edited notebook. With this model, you **must not** both be editing the file at the same time. It is the same model as any existing text editor for a file on the filesystem - if you and another both open the same file, you won't see each others' edits until you close and re-open the file.

-Min
 

Thanks in advance!

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/a7c69eb7-8b54-438e-b653-83019e4cae66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

testb...@gmail.com

unread,
Aug 7, 2017, 6:10:57 AM8/7/17
to Project Jupyter
Thanks Much for the answers!
This really helps.


On Sunday, August 6, 2017 at 6:04:22 AM UTC-5, Min RK wrote:
On Fri, Aug 4, 2017 at 5:40 PM, <testb...@gmail.com> wrote:
Hi,
Could anyone please clarify on the below? I have installed Ananconda3.7 that comes with JupyterHub.

1. When I login to JupyterHub, I see the notebooks that are in my home directory. Is this the standard recommended location to store the private notebooks?

Yes, your home directory is a standard place to store your own files.
 

2. I'm working with two other users on the same project and using the same notebook. How can we share the notebook and what is the location to store the shared notebooks?

You can use shared folders with shared permissions. One version of this is to create a shared directory that is group- or world-writable. This is often a directory next to your home, such as `/home/shared`. You can include a symlink to this from your home directory.
 

3. If I update a notebook, will other users be able to modify it if it is in a shared location? If so, how can we merge the content?

If you make a shared notebook, anyone with permission to edit that file will be able to change it. If you are using the current Jupyter notebook, you will not see any changes from another user until you re-open the edited notebook. With this model, you **must not** both be editing the file at the same time. It is the same model as any existing text editor for a file on the filesystem - if you and another both open the same file, you won't see each others' edits until you close and re-open the file.

-Min
 

Thanks in advance!

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages