Skip to content

mnoomnoo/MtconnectTranspiler.Sinks.Python

 
 

Repository files navigation

MtconnectTranspiler.Sinks.Python

This is an implementation of the MtconnectTranspiler with the purpose of providing tools to generate Python files from the object-oriented model.

Program arguments

In MtconnectTranspiler.Sinks.Python.Example/Properties/launchSettings.json you can edit program arguments.

First argument is the directory to place the generated output. The second directory is an optional argument

Example: "commandLineArgs": "\"$(SolutionDir)my_output\" \"/path/to/my/model/MTConnectSysMLModel.xml\""

Build and upload Python package

Prerequisites

  • build: pip install build
  • twine: pip install twine

Build the wheel

python -m build

Output is written to dist/.

Upload to PyPI or TestPyPI

https://test.pypi.org/help/#apitoken shows how to setup PyPI API tokens for uploading

Upload to TestPyPI:

python -m twine upload --repository testpypi dist/*

Upload to PyPI:

python -m twine upload dist/*

About

An implementation of the MtconnectTranspiler to convert the SysML of the MTConnect Standard into Python files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 99.8%
  • Python 0.2%