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.2.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

eoq3pyecoreutils-2.9.2-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eoq3pyecoreutils-2.9.2.tar.gz
Algorithm Hash digest
SHA256 d0478e1fe7a8ceeba1a0aebddb7656e447541a19f17761e3343683724489207a
MD5 6b2478850eec5ac0432cfd02f12515bb
BLAKE2b-256 732389701f307a0c66be4235b618aa7162b78b06e64e406adbe63352c7c47285

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eoq3pyecoreutils-2.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a8772cacbaa3492703da336f724097db7636532ed3bcd0e6a072bd672146db75
MD5 fd5b4d6eebeb061331d83962c1b7e7fd
BLAKE2b-256 e48bef1585d4ccce11274e0d3326b4df36ccee59b970de96de23516864b13cd2

See more details on using hashes here.

Supported by

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