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.3.tar.gz (22.6 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.3-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

Details for the file eoq3pyecoreutils-2.9.3.tar.gz.

File metadata

  • Download URL: eoq3pyecoreutils-2.9.3.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for eoq3pyecoreutils-2.9.3.tar.gz
Algorithm Hash digest
SHA256 02e0cf7fa5836fef7cfd8f695bbecfe1cc0da4b9db885a569be3d4c6edf6f144
MD5 546ffb4804067f405f63476321d2dae2
BLAKE2b-256 94c27cbe661f9cb4ed2656a9b6df26e095b629ccb85bc318ac47d2f9cc20e1be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eoq3pyecoreutils-2.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e8219c89743b003c849655befb04f3d22c01f57b65eb920f6afcd987bd4f0de2
MD5 0e679f6669c5002ba7c04d25f140a51b
BLAKE2b-256 5e2943a6ed3ed6293d3c43ebc3a4b9bb50331694e5bc172c368acf41f9a4f092

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