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

Uploaded Source

Built Distribution

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

eoq3pyecoreutils-3.1.0-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eoq3pyecoreutils-3.1.0.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for eoq3pyecoreutils-3.1.0.tar.gz
Algorithm Hash digest
SHA256 37f6b953654261e12d93986e7529298158223b51c80ff2ed6e17bfbf8869ca76
MD5 0aaaa8f4c180791f6e6a1324f84c07cc
BLAKE2b-256 94e76acfec2aaab57c6e99fd3ff5195bf67630d06bea2a09b5487ee574c6bf25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eoq3pyecoreutils-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00558b16d3103bf4d3e548ccf799758b2fb7f3c8fc5b25492b98fef1fb66735c
MD5 7a73e7e52546cd6ba1f9d57f6e83c583
BLAKE2b-256 4360a679148fe1f9e2a859c8d00847045432d1f863d20721bd82d2172a3e0898

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