{"id":14977426,"url":"https://github.com/ickc/pannb","last_synced_at":"2026-02-17T09:33:22.011Z","repository":{"id":57450585,"uuid":"402265472","full_name":"ickc/pannb","owner":"ickc","description":"pandoc filter for ipynb format","archived":false,"fork":false,"pushed_at":"2022-01-26T04:29:23.000Z","size":1835,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-18T18:29:59.285Z","etag":null,"topics":["pandoc","pandoc-filter","pandoc-filters"],"latest_commit_sha":null,"homepage":"https://ickc.github.io/pannb/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ickc.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.rst","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["ickc"]}},"created_at":"2021-09-02T02:31:15.000Z","updated_at":"2024-10-06T05:18:28.000Z","dependencies_parsed_at":"2022-09-26T17:31:31.995Z","dependency_job_id":null,"html_url":"https://github.com/ickc/pannb","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickc%2Fpannb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickc%2Fpannb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickc%2Fpannb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickc%2Fpannb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ickc","download_url":"https://codeload.github.com/ickc/pannb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224438651,"owners_count":17311277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pandoc","pandoc-filter","pandoc-filters"],"created_at":"2024-09-24T13:55:38.092Z","updated_at":"2025-10-15T20:32:44.164Z","avatar_url":"https://github.com/ickc.png","language":"Python","funding_links":["https://github.com/sponsors/ickc"],"categories":[],"sub_categories":[],"readme":".. This is auto-generated from `docs/README.md`. Do not edit this file directly.\n\n=============================\npannb—pandoc filter for ipynb\n=============================\n\n:Date:   January 25, 2022\n\n.. contents::\n   :depth: 3\n..\n\n|Documentation Status| |image1|\n\n|GitHub Actions| |Coverage Status| |image2| |Codacy Badge| |Scrutinizer Status| |CodeClimate Quality Status|\n\n|Supported versions| |Supported implementations| |PyPI Wheel| |PyPI Package latest release| |GitHub Releases| |Development Status| |Downloads| |Commits since latest release| |License|\n\n|Conda Recipe| |Conda Downloads| |Conda Version| |Conda Platforms|\n\nIntroduction\n============\n\nPandoc supports ipynb format. What this does is add support of\n\n1. jupytext style yaml metadata block\n2. filter out the Python code block\n3. convert raw block to native pandoc AST, e.g.\n\n   -  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.\n\nThese 3 filters are implemented as 3 individual functions, so that you can cherry-pick your own combinations (See `API doc \u003chttps://ickc.github.io/pannb/api/pannb/\u003e`__). The command line program ``pannb`` have all 3 included.\n\nExample\n=======\n\nSee ```docs/example.ipynb`` \u003chttps://github.com/ickc/pannb/blob/master/docs/example.ipynb\u003e`__ for the input notebook and its `output without the filter \u003chttps://ickc.github.io/pannb/example/\u003e`__ and `output with the filter \u003chttps://ickc.github.io/pannb/example-output/\u003e`__.\n\nSupported pandoc versions\n=========================\n\npandoc versioning semantics is `MAJOR.MAJOR.MINOR.PATCH \u003chttps://pvp.haskell.org\u003e`__ 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.\n\n+-------+------------------+---------------------------+-------------------------------+\n| pannb | panflute version | supported pandoc versions | supported pandoc API versions |\n+=======+==================+===========================+===============================+\n| 0.1.2 | 2.1.3            | 2.17.x                    | 1.22.1                        |\n+-------+------------------+---------------------------+-------------------------------+\n| 0.1.1 | 2.1.3            | 2.15–2.16.x               | 1.22–1.22.1                   |\n+-------+------------------+---------------------------+-------------------------------+\n| 0.1.0 | 2.1              | 2.11.2—2.14.x             | 1.22                          |\n+-------+------------------+---------------------------+-------------------------------+\n\n.. |Documentation Status| image:: https://readthedocs.org/projects/pannb/badge/?version=latest\n   :target: https://pannb.readthedocs.io/en/latest/?badge=latest\u0026style=plastic\n.. |image1| image:: https://github.com/ickc/pannb/workflows/GitHub%20Pages/badge.svg\n   :target: https://ickc.github.io/pannb\n.. |GitHub Actions| image:: https://github.com/ickc/pannb/workflows/Python%20package/badge.svg\n.. |Coverage Status| image:: https://codecov.io/gh/ickc/pannb/branch/master/graphs/badge.svg?branch=master\n   :target: https://codecov.io/github/ickc/pannb\n.. |image2| image:: https://coveralls.io/repos/ickc/pannb/badge.svg?branch=master\u0026service=github\n   :target: https://coveralls.io/r/ickc/pannb\n.. |Codacy Badge| image:: https://app.codacy.com/project/badge/Grade/7e7a6e8e440149aaa6358884efa941b0\n   :target: https://www.codacy.com/gh/ickc/pannb/dashboard?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=ickc/pannb\u0026utm_campaign=Badge_Grade\n.. |Scrutinizer Status| image:: https://img.shields.io/scrutinizer/quality/g/ickc/pannb/master.svg\n   :target: https://scrutinizer-ci.com/g/ickc/pannb/\n.. |CodeClimate Quality Status| image:: https://codeclimate.com/github/ickc/pannb/badges/gpa.svg\n   :target: https://codeclimate.com/github/ickc/pannb\n.. |Supported versions| image:: https://img.shields.io/pypi/pyversions/pannb.svg\n   :target: https://pypi.org/project/pannb\n.. |Supported implementations| image:: https://img.shields.io/pypi/implementation/pannb.svg\n   :target: https://pypi.org/project/pannb\n.. |PyPI Wheel| image:: https://img.shields.io/pypi/wheel/pannb.svg\n   :target: https://pypi.org/project/pannb\n.. |PyPI Package latest release| image:: https://img.shields.io/pypi/v/pannb.svg\n   :target: https://pypi.org/project/pannb\n.. |GitHub Releases| image:: https://img.shields.io/github/tag/ickc/pannb.svg?label=github+release\n   :target: https://github.com/ickc/pannb/releases\n.. |Development Status| image:: https://img.shields.io/pypi/status/pannb.svg\n   :target: https://pypi.python.org/pypi/pannb/\n.. |Downloads| image:: https://img.shields.io/pypi/dm/pannb.svg\n   :target: https://pypi.python.org/pypi/pannb/\n.. |Commits since latest release| image:: https://img.shields.io/github/commits-since/ickc/pannb/v0.1.3.svg\n   :target: https://github.com/ickc/pannb/compare/v0.1.3...master\n.. |License| image:: https://img.shields.io/pypi/l/pannb.svg\n.. |Conda Recipe| image:: https://img.shields.io/badge/recipe-pannb-green.svg\n   :target: https://anaconda.org/conda-forge/pannb\n.. |Conda Downloads| image:: https://img.shields.io/conda/dn/conda-forge/pannb.svg\n   :target: https://anaconda.org/conda-forge/pannb\n.. |Conda Version| image:: https://img.shields.io/conda/vn/conda-forge/pannb.svg\n   :target: https://anaconda.org/conda-forge/pannb\n.. |Conda Platforms| image:: https://img.shields.io/conda/pn/conda-forge/pannb.svg\n   :target: https://anaconda.org/conda-forge/pannb\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickc%2Fpannb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fickc%2Fpannb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickc%2Fpannb/lists"}