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.4.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.4-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eoq3pyecoreutils-2.9.4.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.4.tar.gz
Algorithm Hash digest
SHA256 89a296acf60ae52fc7b7d0f57d236e59e3ef958b485d8b33225748aa581e050e
MD5 89b8caddf3e4785b8c5b6c2d15c2c5f7
BLAKE2b-256 3daec53019d49465f6a6a509c895753f9fa44c333f3923380bb23539542494b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eoq3pyecoreutils-2.9.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a15480714754f7d7fcede96e24c416a6f811a8012e1a2ac956c65be79f139f39
MD5 b205682d8a955d2c9dcfeef225c4063b
BLAKE2b-256 647b926a30370bd5ca8f4b05034344e2843db66fbb3cf2362f1dc16852f2114b

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