Skip to main content

Automatically extract all exercises from a carpentries lesson.

Project description

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).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

caex2-1.0.2.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

caex2-1.0.2-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file caex2-1.0.2.tar.gz.

File metadata

  • Download URL: caex2-1.0.2.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for caex2-1.0.2.tar.gz
Algorithm Hash digest
SHA256 8304f7dc202e0b2fadf7b771c9784e72d9b67afd9d94fcc509bf2e99704556ac
MD5 dccb4261ce1c3096d1d9ea1a63eeb004
BLAKE2b-256 11074be6b8d53c6d92008591446cbf6b1f156e8421e7fd01a7eaebe3fb4f49f3

See more details on using hashes here.

File details

Details for the file caex2-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: caex2-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for caex2-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 38fcd34461bb809d914da87ecc48f385fe0135ef14a58f09464adb3ba9f1e63c
MD5 76a40f571af390a62b091a98b72395aa
BLAKE2b-256 91dc6589f7d4f2f66e5ef75cfe2235ab430dd0d6bf933fe71e604030e2b5f7d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page