Skip to content

About

Compiles ODD Processing Model to Python

Topics

Resources

Contributing

Stars

6 stars

Watchers

0 watching

Forks

Repository files navigation

opm — Open Processing Model

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.

Correspondence edition
Correspondence edition: diplomatic and critical reading views, indexes of people and places
Print-ready PDF
Print-ready PDF: footnotes and margin references, through Typst or LaTeX
Journal website
Journal: an online journal from JATS XML sources

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.

Try it

Python 3.12 or newer:

pip install open-processing-model
opm init my-edition --example escher
cd my-edition
opm chunk data/letters --force --preview

opm init --list-examples shows all example projects. The documentation has step-by-step tutorials for websites, PDF, EPUB and Word.

Contributing

Development setup, tests and the contributor license agreement are described in CONTRIBUTING.md.

Supporters

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.

License

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.

About

Compiles ODD Processing Model to Python

Topics

Resources

Contributing

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages