This is an example for an external platform in MPF 0.51+. Platforms can hook into MPF similar to plugins via python entry_points. See setup.py for details.
You can install this platform using:
pip3 install -e .
After that you can use it as "demo_platform" in your hardware section.
Visit the user support forum at https://groups.google.com/forum/#!forum/mpf-users.
MPF and related projects are released under the MIT License. Refer to the LICENSE file for details. Docs are released under Creative Commons CC BY 4.0.