1

I would like to perform a small, one-day-long coding workshop with some kids and teenagers.

For this, I am looking for a publicly hosted JupyterLab system that we can use for free to write some small Python scripts. One requirement is that we can upload a .csv file to this system.

I stumbled across https://try.jupyter.org/ which provides free JupyterLab instances to use.

My question: Does anybody have experience how long scripts stay "uploaded" there? Is the lab regularly reset, or does it store the scripts somewhere locally (in the browser cache, etc.)? We would shut down the PCs to go for lunch and the files should be accessible in the lab again once we restart the PCs.

I know we can download and store the notebooks offline (which we will do, just to make sure) and reupload them if we need, but it would still be nice to know about the persistency of the "Try" service.

Markus Weninger
  • 11,931
  • 7
  • 64
  • 137
  • 1
    I have tried it before, and have had no problems coming back in an hour or two with it still being there. – Thornily May 03 '22 at 15:16
  • Stack Overflow is not tech support, nor a discussion forum. If you want to know the details of how someone else's website is intended to work, you should check documentation on the site, or ask their support. If you want to know others' experiences with the site in practice, please try Reddit or Quora. – Karl Knechtel May 03 '22 at 15:18
  • 1
    Try jupyter is hosted by mybinder.org. Currently a notebook server will be terminated (and the storage deleted) after 10 minutes of inactivity. See https://mybinder.readthedocs.io/en/latest/about/user-guidelines.html. Check out the mybinder docs - they do have support specifically for teachers. – Michael Delgado May 03 '22 at 15:27
  • @MichaelDelgado: I came back to my session on https://jupyter.org/try-jupyter/lab/ from 20 minutes ago and all files were still there. But thanks for the hint, I will also have a look at [Teaching and Learning with Jupyter](https://jupyter4edu.github.io/jupyter-edu-book/index.html) – Markus Weninger May 03 '22 at 15:40
  • 1
    See [this post](https://stackoverflow.com/a/72063769/8508004). This discussion would probably be best posted at the [Jupyter Discourse Forum](https://discourse.jupyter.org/), per Karl's concerns. @MichaelDelgado The current main offerings aren't hosted on MyBinder now. To save money JupyterLite is being used, as the 'Experimental' warning says. These don't time out because they are actually running on the user's machine in the browser using web assembly. MyBinder.org is still available and serving full-Python backer kernels from remote virtual machines. – Wayne May 03 '22 at 16:31
  • Long story, short when using JupyterLite currently, **keep copies of your notebooks and files that are in the JupyterLite session to an actual location on your local drive**. You cannot just navigate in your system's UI to the file that you are currently working on in JupyterLite. – Wayne May 03 '22 at 16:33
  • @MarkusWeninger See [Sample Binder Repositories](https://mybinder.readthedocs.io/en/latest/examples/sample_repos.html) for links to those clearly **temporary, not persistent** launches along the lines of what Michael Delgado is suggesting. You have to advise learners to think of that as a remote system and download anything useful generated to local drive. [There is a safety net](https://discourse.jupyter.org/t/jupyterlab-browser-crashed-where-are-my-files/12692/4?u=fomightez) for notebooks. – Wayne May 03 '22 at 16:36

0 Answers0