/carpentries-exercises-extractor

Automatically extracts all exercises from a carpentries lesson

Primary LanguagePythonApache License 2.0Apache-2.0

PyPI version

CaEx2 (CArpentries EXercises EXtractor)

What does it do?

No more copy-pasting, automatically extract all exercises from a carpentries lesson.

How to install?

Install with pip:

pip install caex2

How to use?

caex2 {LESSON_URL} --output {OPTIONAL_OUTPUT_FILE}

Example

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.

Current support

This package currently supports carpentries lessons in the 'old' style, it has been tested on:

Acknowledgements

This package is based on this gist by Dafne van Kuppevelt (@dafnevk).