No more copy-pasting, automatically extract all exercises from a carpentries lesson.
Install with pip:
pip install caex2
caex2 {LESSON_URL} --output {OPTIONAL_OUTPUT_FILE}
To extract all exercises from the deep learning lesson:
caex2 https://github.com/carpentries-incubator/deep-learning-intro
This creates a new file called exercises-document.md
with all exercises in the lesson,
grouped and ordered by episode.
This package currently supports carpentries lessons in the 'old' style, it has been tested on:
- https://github.com/carpentries-incubator/deep-learning-intro
- https://github.com/datacarpentry/r-socialsci (episodes are in Rmarkdown)
- https://github.com/datacarpentry/python-socialsci
This package is based on this gist by Dafne van Kuppevelt (@dafnevk).