Skip to main content

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

eoq3pyecoreutils-2.9.5.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eoq3pyecoreutils-2.9.5-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

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

Hashes for eoq3pyecoreutils-2.9.5.tar.gz
Algorithm Hash digest
SHA256 5a526df794c24c62400ca5e982f3acd3f4a9c6b60a4403880c9ada6e0c093b12
MD5 1b0abeaf961d0553aeafd9528e99d2b8
BLAKE2b-256 a208ec331270cf676da39ccaf4c4a61e283f17bef216f4cecba64c3ab9e22be8

See more details on using hashes here.

File details

Details for the file eoq3pyecoreutils-2.9.5-py3-none-any.whl.

File metadata

File hashes

Hashes for eoq3pyecoreutils-2.9.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5d5d2a8f7ab090194da69ffc7ef1f17f4f5d69cdfcb388d740dcf58faaf3f9cd
MD5 fae96f867f4d53040b00ff3e28aedf2a
BLAKE2b-256 42cb222ac5773c0215299b1754b92b3d4180ba0152eac10cde21e90e734eb2c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page