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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eoq3pyecoreutils-2.9.5.tar.gz.
File metadata
- Download URL: eoq3pyecoreutils-2.9.5.tar.gz
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a526df794c24c62400ca5e982f3acd3f4a9c6b60a4403880c9ada6e0c093b12
|
|
| MD5 |
1b0abeaf961d0553aeafd9528e99d2b8
|
|
| BLAKE2b-256 |
a208ec331270cf676da39ccaf4c4a61e283f17bef216f4cecba64c3ab9e22be8
|
File details
Details for the file eoq3pyecoreutils-2.9.5-py3-none-any.whl.
File metadata
- Download URL: eoq3pyecoreutils-2.9.5-py3-none-any.whl
- Upload date:
- Size: 28.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d5d2a8f7ab090194da69ffc7ef1f17f4f5d69cdfcb388d740dcf58faaf3f9cd
|
|
| MD5 |
fae96f867f4d53040b00ff3e28aedf2a
|
|
| BLAKE2b-256 |
42cb222ac5773c0215299b1754b92b3d4180ba0152eac10cde21e90e734eb2c0
|