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.


nbcollate assignment.ipynb student-*.ipynb

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


pip install nbcollate


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


Set up tools:

pip install -r requirements-dev.txt

Test via any of:

PYTHONPATH=. py.test
python test

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


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

Project details

Download files

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

Files for nbcollate, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size nbcollate-0.3.1-py3-none-any.whl (11.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size nbcollate-0.3.1.tar.gz (11.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page