Skip to content

example repo for using Jupyter notebooks on MyBinder.org

Notifications You must be signed in to change notification settings

highpost/binder-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sample Jupyter Notebook for MyBinder.org

This repo includes a Jupyter Notebook named binder-example.ipynb which contains two cells:

  • Use NumPy to load some matrices from a data file and use least squares to find a line equation to fit the data. Then plot the data and the line equation.
  • Use SymPy to compose a function and find its derivative. Then plot the function and its derivative.

Deploying this GitHub repo to MyBinder.org:

  1. Go to https://mybinder.org
  2. Add the GitHub repo URL
  3. Press Launch

The binder-example Binder will then be launched on the MyBinder.org site. This process can take a few minutes while it creates a Docker image and spins up a Kubernetes cluster. When it's ready students can create their own instances by visiting a URL with the following form:

https://mybinder.org/v2/gh/github-user/binder-example/master

where github-user is the account holding the GitHub repo.

NB: if you need to view the Jupyter notebook locally, then go to the directory containing the notebook and run jupyter lab. This will launch a local web server and redirect your browser to a web page containing the notebooks in the current directory. You can also create notebooks from this web page.

About

example repo for using Jupyter notebooks on MyBinder.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published