by sergiocorreia

sergiocorreia / panflute

An Pythonic alternative to John MacFarlane's pandocfilters, with extra helper functions

245 Stars 42 Forks Last release: 8 months ago (1.12.5) BSD 3-Clause "New" or "Revised" License 381 Commits 6 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Panflute: Pythonic Pandoc Filters

Python version PyPI version Development Status Build Status

panflute is a Python package that makes creating Pandoc filters fun.

For a detailed user guide, documentation, and installation instructions, see For examples that you can use as starting points, check the examples repo, the sample template, or this github search. If you want to contribute, head here.

You might also find useful this presentation on how I use markdown+pandoc+panflute to write research papers (at the Banco de Portugal 2019 Workshop on Reproductible Research).


To install panflute, open the command line and type:

pip install panflute

Python 3.6+ and PyPy3 are supported (Python 2.7 and Python 3.3-3.5 were supported up to version 1.11.4).


pip uninstall panflute

Dev Install

After cloning the repo and opening the panflute folder:

python install
: installs the package locally

python develop
: installs locally with a symlink so changes are automatically updated


Feel free to submit push requests. For consistency, code should comply with pep8 (as long as its reasonable), and with the style guides by @kennethreitz and google. Read more here.


BSD3 license (following

by @jgm).

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.