question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Google collab interactions

See original GitHub issue

Is is possible to activate the validate form button in google collab ? Can I ask the students to complpete the assignments in google collab, export and import it for grading on nbgrader.

Operating system

nbgrader --version

jupyterhub --version (if used with JupyterHub)

jupyter notebook --version

Expected behavior

Actual behavior

Steps to reproduce the behavior

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
gramlogiccommented, Jan 7, 2020

Is there any chance of nbgrader and Google colab working together at some point in the future? I’ve been running JupyterHub on my own kubernetes cluster so I can use nbgrader, but this can be expensive and Google colab offers some nice features.

0reactions
rkdarstcommented, Feb 13, 2021

The notebook is just a file on some storage system, accessible to the user. nbgrader sets a ‘read-only’ metedata on cells, but it’s up to the editor (jupyter notebook server, colab) to use it or not. For some fun, you can edit cell metadata in normal jupyter notebook/lab and make any read-write if you want. Or open the notebook in a raw text editor…

nbgrader might re-insert the original content back when it is being re-processed, and it definitely will for hidden solutions. If you want some sort of assurance, it has to be at this level. This is the theory at least, I know it does something but upon looking a bit I can’t immediately convince myself it does for all of the cases I have in my mind. Has someone looked into this?

nbgrader isn’t a captive editing system.

But for the original question… I have a teacher that tells students they can download notebooks from our jupyterhub, upload to colab to work, and transfer them back to jupyterhub to submit (they they have a few other options). There are ways that colab can break things, but when you realize what goes on under the hood it works. I also use nbgrader on a multi-node system with a shared filesystem, it works if you manage user IDs well (and some people manage without, but I wouldn’t recommend that). As far as students work, the notebooks are just notebooks. Submitting/receiving is another matter, depending on your needs you may be happy with the current situation or you may not be. Remember that original nbgrader relied on some other way of distributing notebooks to students, if you build something that way colab works like normal.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Interact.ipynb - Colaboratory - Google Colab
At the most basic level, interact autogenerates UI controls for function arguments, and then calls the function with those arguments when you manipulate...
Read more >
Ipywidgets with Google Colaboratory - Stack Overflow
(Tweaked original answer): ipywidgets don't Just Work with Colab: we have a different security model, wherein each output is in its own iframe...
Read more >
Making Your Google Colab Notebook More Interactive
Long time no post. I have been learning deep learning for so long time and using google colab for my projects. You know,...
Read more >
Create Interactive Tools in Google Colab using Widgets
The output widget is the foundation for interact, as it forms the basis of how interact and related methods are implemented. For the...
Read more >
Google Colab - Interactive Graphs, Tables and Widgets!
Tutorial on how to create interactive widgets in Google Colab. Learn how to create sliding widgets to display math functions, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found