runnable-python

A collection of beginner Python excercises runnable in your browser

https://github.com/epogrebnyak/runnable-python

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.8%) to scientific vocabulary

Keywords

pyodide python
Last synced: 6 months ago · JSON representation ·

Repository

A collection of beginner Python excercises runnable in your browser

Basic Info
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 3
  • Releases: 0
Topics
pyodide python
Created about 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme License Citation

README.md

Greet-To-Grade: Start Python Excercises and Build Your Own Exam

A beginner course that offers you code examples that you can write and run small Python programs right in your browser. The programs allow you to create a test bank and run your own exam program to get your final grade.

Levels

This course material is designed for non-technical students and organized by three levels of difficulty.

  1. Entry level: Run provided examples and make small changes to the code to find out how it works and be able to explain it. Document existing code with comments or docstrings.

  2. Intermediate level: Redesign programs and modify their behaviors to achieve new results according to a provided description or own specification.

  3. Advanced level: Forecast the outcomes of programs over repeated runs using some theory or a simulation. Generalize code for reuse, make tests and refactor code for maintainability. Think of extensions for real-life cases.

Depending on students' prior programming background a specific course objective may be limited to the entry level or aim higher. Advanced level tasks would be appropriate for technical students.

Programming environment

The course website uses Pyodide to enable Python to run in the browser without any installation needed.

There are several limitations:

  • only the standard Python library is used,
  • no files are created and there are no network requests,
  • code not saved after closing the browser.

To save and extend your work you can install Python locally or use an online programming environment similar to Google Colab, GitHub Codespaces, Repl.it, Gitpod or Yandex DataSphere.

Pedagogy and motivation

This course is a set of excercises in pure Python that aims to

  • be brief and achieve more with less code;
  • cover all parts of basic Python syntax;
  • enable students edit and run code quickly and encourage experimentation;
  • stimulate to talk about code and to communicate;
  • make connections to real life;
  • project further learning path.

Terms of use

This course material is provided under CC BY-NC 4.0 license. You are free to share and adapt this material given you provide a reference to it (BY). You may not use the material for commercial purposes (NC).

Reference:

Evgeny Pogrebnyak (2025). greet2grade: Beginner Python Course With Interactive In-Browser Excercises. URL: https://github.com/epogrebnyak/runnable-python

Owner

  • Name: Evgeny Pogrebnyak
  • Login: epogrebnyak
  • Kind: user
  • Location: Moscow
  • Company: Finance and Economics Department, MGIMO-Odintsovo

Dean at Finec MGIMO, strong interest in reproducible research and clean code.

Citation (citation.cff)

cff-version: 1.2.0
message: "If you use this code and course material, cite it as below. You may not use this material for commercial purposes."
authors:
- family-names: "Pogrebnyak"
  given-names: "Evgeny"
  orcid: "https://orcid.org/0000-0003-3914-9665"
title: "Seven Pure Python Programs for Non-Tech Beginners. Course Material."
date-released: 2025-02-09
url: "https://github.com/epogrebnyak/runnable-python"

GitHub Events

Total
  • Issues event: 3
  • Delete event: 1
  • Issue comment event: 1
  • Push event: 23
  • Create event: 4
Last Year
  • Issues event: 3
  • Delete event: 1
  • Issue comment event: 1
  • Push event: 23
  • Create event: 4

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 3
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • epogrebnyak (3)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

package-lock.json npm
  • 182 dependencies
package.json npm
  • vitepress ^1.6.3 development
  • vitepress-python-editor ^1.3.4