A package and CLI for writing dissertations.
Project description
Installation
pip install dissertate
Basic Usage
In nb_config.py,
import dissertate
c = get_config()
c.Exporter.preprocessors = ['dissertate.preprocessors.EmptyCellElider',
'dissertate.preprocessors.CellElider']
c.Exporter.template_file = dissertate.markdown_template_path()
then,
jupyter nbconvert --config nb_config.py --to markdown your_nb.ipynb
If you don’t want a cell in the output, edit the cell metadata to include,
{"tags": ["private"]}
Alternatively, you can use
{"tags": ["todo"]}
or,
{"tags": ["setup"]}
for semantic differences that have no effect on dissertate processing.
If you want to retain the output of the cell but not the code (e.g., for an emitted matplotlib graph),
{"tags": ["output-generator"]}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dissertate-0.0.9.tar.gz
(6.0 kB
view details)
File details
Details for the file dissertate-0.0.9.tar.gz
.
File metadata
- Download URL: dissertate-0.0.9.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 937276b573ff603fbefc689a34c1550d6638dea1f0ef064f7ab718d5d4b29b0d |
|
MD5 | da55bf0aa310e30af8991217f74205c0 |
|
BLAKE2b-256 | 84cacc7d344ca205074f6a348d518065a1f795bf4b9c8e7c6e7373a25729e13f |