Skip to main content

Collate Jupyter classroom assignment and submission notebooks

Project description

Latest PyPI Version Build Status Updates License

The nbcollate package combines a set of Jupyter notebooks into a single notebook.

It also provides a command-line interface, nbcollate.

Example

nbcollate assignment.ipynb student-*.ipynb

Creates the file assignment-collated.ipynb from the files in test/files.

Installation

pip install nbcollate

Usage

nbcollate assignment-1.ipynb students/*/assignment-1.ipynb
nbcollate --help

Contributing

Set up tools:

pip install -r requirements-dev.txt

Test via any of:

PYTHONPATH=. py.test
python setup.py test

docker build -t nbcollate-pytest .
docker run --rm -it -v `pwd`:/src nbcollate-pytest

Acknowledgements

This package is inspired by original work paulruvolo/SoftDesSp16Prep by Paul Ruvolo at Olin College, extended at osteele/assignment-tools.

Supported by

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