feynml
An XML dialect and Python toolkit for representing Feynman diagrams in a renderer-independent way, separating physical/topological content from its graphical representation — similar in spirit to HTML/CSS.
Source Documentation PyPI DOI: 10.5281/zenodo.8430844
pip install feynml
Citable via Zenodo; no accompanying paper. Diagrams written in feynml can be rendered via pyfeyn2.