A collection of pyecore to EOQ3 bridging tools.
Project description
eoq3pyecoreutils - pyecore-eoq3 bridge
An auxilary package for using eoq3 with pyecore, e.g. value type and model conversion as well as operation conversion and Concepts wrappers.
Usage
Imports:
from eoq3pyecoreutils.ecorefiletoeoqfile import EcoreFileToEoqFile
from eoq3pyecoreutils.eoqfiletoecorefile import EoqFileToEcoreFile
Uploading ecore files:
m2EcoreFile = "testdata/Workspace/Meta/oaam.ecore"
m1EcoreFile = "testdata/Workspace/MinimalFlightControl.oaam"
LoadEcoreFile(m2EcoreFile,domain,options=resource.options,config=resource.config)
LoadEcoreFile(m1EcoreFile,domain,metafile=m2EcoreFile,options=resource.options,config=resource.config)
Saving ecore files:
SaveEcoreFile(m2EcoreFileSaved, rootObj, domain, options=resource.options)
SaveEcoreFile(m1EcoreFileSaved, rootObj, domain, metafile=m2EcoreFile, options=resource.options)
SaveEcoreFile(m1EcoreFileSaved, rootObj, domain, metafile=m2EcoreFileSaved, saveMetamodelInAddition=True, options=resource.options)
Documentation
For more information see EOQ3 documentation: https://eoq.gitlab.io/doc/eoq3/
Author
2024 Bjoern Annighoefer
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eoq3pyecoreutils-2.9.2.tar.gz
(22.6 kB
view hashes)
Built Distribution
Close
Hashes for eoq3pyecoreutils-2.9.2-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | a8772cacbaa3492703da336f724097db7636532ed3bcd0e6a072bd672146db75 |
|
| MD5 | fd5b4d6eebeb061331d83962c1b7e7fd |
|
| BLAKE2b-256 | e48bef1585d4ccce11274e0d3326b4df36ccee59b970de96de23516864b13cd2 |