Skip to main content

Automatically extract all exercises from a carpentries lesson.

Project description

Sven van der Burg Dafne van Kuppevelt Author-email: s.vanderburg@esciencecenter.nl Keywords: Extract,Exercises Classifier: Development Status :: 2 - Pre-Alpha Classifier: Intended Audience :: Carpentries Instructors Classifier: Natural Language :: English Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Description-Content-Type: text/markdown License-File: LICENSE Requires-Dist: click Requires-Dist: gitpython Provides-Extra: publishing Requires-Dist: twine; extra == “publishing” Requires-Dist: wheel; extra == “publishing”

[![PyPI version](https://badge.fury.io/py/caex2.svg)](https://badge.fury.io/py/caex2)

# 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? `commandline caex2 {LESSON_URL} --output {OPTIONAL_OUTPUT_FILE} `

### Example To extract all exercises from the [deep learning lesson](https://github.com/carpentries-incubator/deep-learning-intro): `commandline 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](https://gist.github.com/dafnevk/6b235e09d5d72f3a71eb662a72fd3ef2) 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.0.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.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for caex2-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c7ac97813a5e9529a0a829568b682607a527fd9e2616dc9684581f95c989bbc9
MD5 a697b029083613569d1238e02b4d8815
BLAKE2b-256 ff3eb6a344c02fd4f4ef5eb7fa82f0e07ead6deea5d148cbb99e70e086bd930c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: caex2-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for caex2-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b358cb7540ed4449ff037511f9502585f2135a5187ba1668887b661fc171913
MD5 2dbe443fef2789b70d06e3e2ae9ebf98
BLAKE2b-256 b713d47267469a9ad2dc220b93210108dd288ce81368dc269fbcdcbf19ae5cd0

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