This repository contains interactive Jupyter notebooks for different lessons, organized with support for multiple languages and learning paths.
binder-notebooks/
├── lesson_2_1/
│ ├── notebooks/ # Interactive Jupyter notebooks
│ │ ├── notebook_1/ # Lesson 2.1 - Notebook 1
│ │ └── notebook_2/ # Lesson 2.1 - Notebook 2
│ ├── theory/ # Theoretical content (EN, RO)
│ └── quiz/ # Quiz questions (EN, RO)
└── README.md
Binder allows you to run Jupyter notebooks in the cloud without installing anything locally. Click a link and get an interactive notebook environment instantly!
The Binder link has the following structure:
https://mybinder.org/v2/gh/{GITHUB_ORGANIZATION}/{BINDER_ENV_REPO}/{BRANCH}?urlpath=git-pull%3Frepo%3D{NOTEBOOKS_REPO}%26branch%3D{BRANCH}%26urlpath%3D{PATH_TO_OPEN}
Components breakdown:
| Component | Value | Description |
|---|---|---|
{GITHUB_ORGANIZATION} |
Sigmoid-Learning-Platform-Org |
GitHub organization hosting the Binder environment |
{BINDER_ENV_REPO} |
binder-env |
Repository containing the Binder configuration and dependencies |
{BRANCH} |
main |
Branch to use from the binder-env repository |
{NOTEBOOKS_REPO} |
https://github.com/SigmoidAI/binder-notebooks.git |
This repository URL |
{BRANCH} |
{branch_name} |
Branch of the notebooks repository to pull (main, develop, etc.) |
{PATH_TO_OPEN} |
lab/tree/binder-notebooks |
JupyterLab path to open automatically |
Use this Python template to generate links for different branches:
def create_binder_link(branch_name="main"):
"""
Generate a Binder link for a specific branch.
Args:
branch_name (str): Branch name to access (default: "main")
Returns:
str: Full Binder URL
"""
return f"https://mybinder.org/v2/gh/Sigmoid-Learning-Platform-Org/binder-env/main?urlpath=git-pull%3Frepo%3Dhttps://github.com/SigmoidAI/binder-notebooks%26branch%3D{branch_name}%26urlpath%3Dlab/tree/binder-notebooks"
# Examples:
main_link = create_binder_link("main")
develop_link = create_binder_link("develop")https://mybinder.org/v2/gh/Sigmoid-Learning-Platform-Org/binder-env/main?urlpath=git-pull%3Frepo%3Dhttps://github.com/SigmoidAI/binder-notebooks%26branch%3Dmain%26urlpath%3Dlab/tree/binder-notebooks
https://mybinder.org/v2/gh/Sigmoid-Learning-Platform-Org/binder-env/main?urlpath=git-pull%3Frepo%3Dhttps://github.com/SigmoidAI/binder-notebooks%26branch%3Ddevelop%26urlpath%3Dlab/tree/binder-notebooks
-
Notebook 1 (
lesson_2_1/notebooks/notebook_1/)L2_1_N1_Assignment_EN.ipynb- Assignment in Englishhelper_utils.py- Utility functionsunittests.py- Unit tests for validation
-
Notebook 2 (
lesson_2_1/notebooks/notebook_2/)L2_1_N2_Assignment_EN.ipynb- Assignment in EnglishL2_1_N2_Assignment_RO.ipynb- Assignment in RomanianL2_1_N2_Assignment_solved_EN.ipynb- Solved version (English)L2_1_N2_Assignment_solved_RO.ipynb- Solved version (Romanian)helper_utils.py- Utility functionsunittests.py- Unit tests for validation
L2_1_Theory_EN.md- Theoretical content in EnglishL2_1_Theory_RO.md- Theoretical content in Romanian
L2_1_Quiz_EN.md- Quiz questions in EnglishL2_1_Quiz_RO.md- Quiz questions in Romanian
Content is available in multiple languages:
- EN - English
- RO - Romanian
To run notebooks locally without Binder:
-
Clone the repository:
git clone https://github.com/SigmoidAI/binder-notebooks.git cd binder-notebooks -
Install dependencies (from
binder-envrepository):pip install -r requirements.txt
-
Launch Jupyter:
jupyter lab
-
Navigate to your desired notebook and open it.
- Binder links pull the latest version from the specified branch automatically
- Changes to the repository are reflected in new Binder sessions
- Each Binder session is temporary and data is lost when the session ends
- For persistent work, clone the repository and run locally