Skip to main content

A package and CLI for writing dissertations.

Project description

https://travis-ci.org/jbn/dissertate.svg?branch=master https://ci.appveyor.com/api/projects/status/69kj3prrrieyp8q2/branch/master?svg=true https://coveralls.io/repos/github/jbn/dissertate/badge.svg?branch=master https://img.shields.io/pypi/v/dissertate.svg https://img.shields.io/badge/license-MIT-blue.svg https://img.shields.io/pypi/pyversions/dissertate.svg

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"]}

If you want the output of the cell but not the code,

{"tags": ["output-generator"]}

Download files

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

Files for dissertate, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size dissertate-0.0.5.tar.gz (5.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page