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:
- https://github.com/carpentries-incubator/deep-learning-intro
- https://github.com/datacarpentry/r-socialsci (episodes are in Rmarkdown)
- https://github.com/datacarpentry/python-socialsci
Acknowledgements
This package is based on this gist by Dafne van Kuppevelt (@dafnevk).
Metadata
Release files for caex2 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| caex2-1.0.2.tar.gz | 7.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| caex2-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.3 kB
Release files / caex2-1.0.2.tar.gz
| Download URL | caex2-1.0.2.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8304f7dc202e0b2fadf7b771c9784e72d9b67afd9d94fcc509bf2e99704556ac
|
|
BLAKE2b-256 checksum How to use checksums |
11074be6b8d53c6d92008591446cbf6b1f156e8421e7fd01a7eaebe3fb4f49f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / caex2-1.0.2-py3-none-any.whl
| Download URL | caex2-1.0.2-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38fcd34461bb809d914da87ecc48f385fe0135ef14a58f09464adb3ba9f1e63c
|
|
BLAKE2b-256 checksum How to use checksums |
91dc6589f7d4f2f66e5ef75cfe2235ab430dd0d6bf933fe71e604030e2b5f7d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|