Hipjea / h5p-pyth5p

H5P Python activity. Adds a runnable Python code snippet. The snippet can also be an exercise with feedbacks provided as a solution.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

H5P Python activity

Actions Status

Add runnable Python code snippet.

PytH5P also allows the snippet to be an exercise with feedbacks provided as a solution.


Screenshot :

PytH5P activity screenshot


Dependencies :

This package relies on Skupt for the Python interpretor, CodeMirror for the code editor part and React.


Run Storybook :

yarn storybook

Build the project :

npm run build:prod

or

yarn build:prod

Create the h5p export :

h5p pack H5P.PytH5P pyth5p.h5p

TODO :rage4: :

  • use React context within Storybook

About

H5P Python activity. Adds a runnable Python code snippet. The snippet can also be an exercise with feedbacks provided as a solution.

License:MIT License


Languages

Language:JavaScript 65.4%Language:TypeScript 30.9%Language:CSS 2.1%Language:HTML 1.7%