Skip to main content
Date:
January 25, 2022

Documentation Status image1

GitHub Actions Coverage Status image2 Codacy Badge Scrutinizer Status CodeClimate Quality Status

Supported versions Supported implementations PyPI Wheel PyPI Package latest release GitHub Releases Development Status Downloads Commits since latest release License

Conda Recipe Conda Downloads Conda Version Conda Platforms

Introduction

Pandoc supports ipynb format. What this does is add support of

  1. jupytext style yaml metadata block

  2. filter out the Python code block

  3. convert raw block to native pandoc AST, e.g.

    • if a cell outputs HTML, then it is an HTML raw block by default, meaning only HTML-like output formats contains these output cells. This filter convert them using pandoc itself to native pandoc AST so that any output formats will contains the same output.

These 3 filters are implemented as 3 individual functions, so that you can cherry-pick your own combinations (See API doc). The command line program pannb have all 3 included.

Example

See `docs/example.ipynb <https://github.com/ickc/pannb/blob/master/docs/example.ipynb>`__ for the input notebook and its output without the filter and output with the filter.

Supported pandoc versions

pandoc versioning semantics is MAJOR.MAJOR.MINOR.PATCH and panflute’s is MAJOR.MINOR.PATCH. Below we shows matching versions of pandoc that pannb supports, in descending order. Only major version is shown as long as the minor versions doesn’t matter.

pannb

panflute version

supported pandoc versions

supported pandoc API versions

0.1.2

2.1.3

2.17.x

1.22.1

0.1.1

2.1.3

2.15–2.16.x

1.22–1.22.1

0.1.0

2.1

2.11.2—2.14.x

1.22

Metadata

Release files for pannb 0.1.3

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

Source distribution (sdist)

Source distribution for pannb 0.1.3
File Size Uploaded
pannb-0.1.3.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pannb 0.1.3
File Interpreter ABI Platform
pannb-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 16.3 kB

Release files / pannb-0.1.3.tar.gz

Download URL pannb-0.1.3.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d3411018981b396f49948aea1bbdf7f2c385f8cf66b4b2a551b08e11c20f6b67
BLAKE2b-256 checksum
How to use checksums
e746d6ac0469c1522aae7b7eb86330d83152f7b4e81c9b5a2258914d716e8895
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release files / pannb-0.1.3-py3-none-any.whl

Download URL pannb-0.1.3-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
76ed7f8bec3d87a333ecb43d815c0fc1fb37d4f9b852cdddfacdcaef17cc9483
BLAKE2b-256 checksum
How to use checksums
ac244141faed62ceb6ea93b57bf1ba94f567c4a64fcee4f5954569a94f71d337
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

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