Skip to main content
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"]}

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

Metadata

Release files for dissertate 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dissertate 0.0.9
File Size Uploaded
dissertate-0.0.9.tar.gz 6.0 kB Details

Release files / dissertate-0.0.9.tar.gz

Download URL dissertate-0.0.9.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
937276b573ff603fbefc689a34c1550d6638dea1f0ef064f7ab718d5d4b29b0d
BLAKE2b-256 checksum
How to use checksums
84cacc7d344ca205074f6a348d518065a1f795bf4b9c8e7c6e7373a25729e13f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release history Release notifications | RSS feed

This release

0.0.9 This release

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page