Project Update

September 12, 2022

CanvasAPI for PS2

Building custom Canvas course creation and management scripts to parse and create assignments from Github repositories.

Project Dates: September 2022 - December 2022

Built with: CanvasAPI, Python, Markdown

Harvard's Physical Sciences 2: Mechanics, Elasticity, Fluids, and Diffusion has an extensive catalogue of assignments, lecture materials and quizzes that are constantly updated throughout the semester. As a Teaching Assistant for the course, I developed Python scripts utilizing the CanvasAPI to parse Markdown documents and create pages, assignments and quizzes based on the course's Github repository.

The scripts broke down Markdown documents into questions, answers and quiz parameters, converted Latex code to MathJax code, and uploaded pictures to the Canvas course file system before embedding them in assignments. The code also placed quizzes and reading material pages in correctly ranked modules. Later on, I created scripts that iterated through all Markdown documents to track changes and update the respective pages/assignments on the Canvas course page. You can walk through many parts of my code in the Colab Notebook in the Resources section.

Resources

Google Colab Notebook

Google Colab Notebook

View

View

©2024 Evangelos Kassos

©2024 Evangelos Kassos