nbcourse: publish your course based on Jupyter notebooks
Features
nbcourse helps you building a static website to publish your course content in the form of jupyter notebooks (one notebook for one chapter).
Main features:
- all the configuration is described by a single
nbcourse.ymlfile - it is based on doit in order to build efficently the html files
- chapters can be displayed in preview mode only so attendees can see the whole course program without being able to access content of the lessons to come
- notebooks can be:
- rendered as static html files,
- rendered as static reveal slideshows,
- packaged with all their material in a downloadable archive,
- compiled in a single pdf book using bookbook
- the theme can be easily customized (html files are templated using jinja)
See this python course (in French) as an example.
Installation
pip install nbcourse
Usage
Initiate an empty nbcourse project
nbcourse --init
Configure your website
- Put your notebooks file in the
notebook/directory - Edit the
nbcourse.ymlfile created by thenbcourse --initcommand.
Build your website
nbcourse
Resulting files are in the build/ directory.
Get help
nbcourse --help
Publish
Publishing with GitLab Pages is as simple as adding a .gitlab-ci.yml file such as:
pages:
image: boileaum/jupyter
script:
- pip install nbcourse
- nbcourse -n 5
- mv build public
artifacts:
paths:
- public
Metadata
Release files for nbcourse 0.3.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nbcourse-0.3.6.tar.gz | 1.9 MB | Without provenance | Details for nbcourse-0.3.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nbcourse-0.3.6-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for nbcourse-0.3.6-py2.py3-none-any.whl |
Total release size: 3.8 MB
Release files / nbcourse-0.3.6.tar.gz
| Download URL | nbcourse-0.3.6.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24e667c155912ca344dbf01590c40f9c7389a4400704c5b5e27ba6e521ea7e48
|
|
BLAKE2b-256 checksum How to use checksums |
f36642afb4399a4560b8e401bfd6eb352f370429ba8cedb1faff0e7fb3c0fa25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.27.1
|
Release files / nbcourse-0.3.6-py2.py3-none-any.whl
| Download URL | nbcourse-0.3.6-py2.py3-none-any.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ff88027794b3e38887f7130fdc4a2357db06c40227dc0fdb648d0f87fce1cd24
|
|
BLAKE2b-256 checksum How to use checksums |
db25b0108b8132e70f0733407d1ea5d6466614ff25d64b58d78882db58ffe129
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.27.1
|
Security for nbcourse 0.3.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.