Skip to main content

Tools to use a collection of notebooks as 'chapters'

Project description

Bookbook converts a set of notebooks in a directory to HTML or PDF, preserving cross references within and between notebooks.

This code is in early development, so use it at your own risk.

It expects a directory of notebooks whose names indicate their order, e.g. 01-introduction.ipynb. To run it:

python3 -m bookbook.html           # HTML output under html/
python3 -m bookbook.latex [--pdf]  # Latex/PDF output as combined.(tex|pdf)

Add --help to either command for more options.

Installation

Bookbook requires Python 3.5.

pip install bookbook

To install locally as an editable install, run:

pip install flit
git clone https://github.com/takluyver/bookbook.git
cd bookbook
flit install --symlink

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

bookbook-0.2.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

bookbook-0.2-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file bookbook-0.2.tar.gz.

File metadata

  • Download URL: bookbook-0.2.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bookbook-0.2.tar.gz
Algorithm Hash digest
SHA256 20e7379ce3b2b550c0d3fb5ad46ed6a93df8c431c074ccb086671197b7f3cefc
MD5 80580d36649819b65a6055f8a6212858
BLAKE2b-256 bebd3c6a5d04e886eae314c7b9530478e508f50f11caa20d15d193cfba1b3cf0

See more details on using hashes here.

Provenance

File details

Details for the file bookbook-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for bookbook-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9d56a3c5b5c951245fbb6bfd5ec0868cb1e58fcf796546788103a38f7f978a6e
MD5 f43e7704256ec34296c6a6d2bf0c5462
BLAKE2b-256 82d74326ff31d47532393e3a020c1914ec822ac13ff8234f2ee18d8ad3d069a5

See more details on using hashes here.

Provenance

Supported by

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