A complete publishing toolkit for XML sources.
Publish your edition as a website, book or ebook from a single source.
Documentation · Quickstart · Live examples
Open Processing Model (opm) turns TEI, DocBook or JATS into HTML, PDF, EPUB, Word, Markdown or a complete static website, all from one set of rules. You describe in an ODD file how each element should look; no XSLT or XQuery required.
opm implements the TEI Processing Model and shares it with its sibling TEI Publisher, so most ODDs work in both. It is pure Python, needs no database and runs from the command line.
Python 3.12 or newer:
pip install open-processing-model
opm init my-edition --example escher
cd my-edition
opm chunk data/letters --force --previewopm init --list-examples shows all example projects. The documentation has step-by-step tutorials for websites, PDF, EPUB and Word.
Development setup, tests and the contributor license agreement are described in CONTRIBUTING.md.
Development of opm is supported by the Ernst Göhner Stiftung, the Swiss Academy of Humanities and Social Sciences, the Zentralbibliothek Zürich, the Zentrum Digitale Editionen & Editionsanalytik of the Universität Zürich and the Karl Barth-Stiftung. It is an initiative of e-editiones.
Copyright © 2026 e-editiones. Licensed under the GNU Affero General Public License, version 3 or later, with additional permissions: the output of your transformations, the modules compiled from your ODDs and the files opm init creates are yours. Members of e-editiones may use opm under the LGPL instead. See the licensing guide for details.


