Skip to content

Add a Google Colab badge to example notebooks#136

Open
mberz wants to merge 1 commit intomainfrom
enh/google_collab_badge
Open

Add a Google Colab badge to example notebooks#136
mberz wants to merge 1 commit intomainfrom
enh/google_collab_badge

Conversation

@mberz
Copy link
Member

@mberz mberz commented Mar 4, 2026

Adds a badge which opens the respective notebook in a Google Collab environment.

Implemented analogous to the mybinder.org support.

As a sidenode: Google Collab does not allow to install requirements via a conda environment as far as I can see. Yet, the main benefit is easily storing the notebook in a Google drive folder.

@mberz mberz requested review from a team, ahms5, f-brinkmann, hoyer-a and sikersten March 4, 2026 18:03
@mberz mberz moved this from Backlog to Require review in Weekly Planning Mar 4, 2026
@f-brinkmann
Copy link
Member

f-brinkmann commented Mar 5, 2026

Should we really do this? This means that people who open a notebook on Google Colab get an error when trying to run the first cell containing the imports. If they blame it on pyfar, this might prevent them from using it any forther.

This could be solved ba adding !pip install some_package commands to each notebook. Do we want to do this?

@mberz
Copy link
Member Author

mberz commented Mar 5, 2026

Indeed, adding a statement on this is something we should do.
I would however very much like to emphasize that the progress you make when running a notebook on binder is lost once the session times out. So I especially would see this as a very nice thing to have especially for the OER.

The additional comment including the requirements would also be highly beneficial for everyone who wants to execute the notebooks in their local environment.

@mberz mberz moved this from Agenda to Open Discussion in Weekly Planning Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Open Discussion

Development

Successfully merging this pull request may close these issues.

2 participants