Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1002 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 1002 Bytes

planpro-exporter

This library can generate PlanPro files from a yaramo topology.

Currently, it's generating PlanPro 1.9 files, but 1.10 is upcoming.

Usage as library

To use the generator as a library, install it via:

pip3 install git+https://github.com/simulate-digital-rail/planpro-exporter

Afterwards you can import it to your application with:

from planproexporter.generator import Generator
# topology is a yaramo.models.Topology object
Generator().generate(topology, author_name="Name", organisation="Organisation", filename="out.ppxml")

Further examples can be found in the demo repository.

Contributors

Feel free to create pull requests to this repository :)