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.6.tar.gz (23.1 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.6-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eoq3pyecoreutils-2.9.6.tar.gz
  • Upload date:
  • Size: 23.1 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.6.tar.gz
Algorithm Hash digest
SHA256 3e87e97dee69d2e5776971f1989962990bd87e453ac52a05c33d71143fed0916
MD5 d4465e8500fd2fbf18b0e7fd95d6dfc5
BLAKE2b-256 8eb7607b26fefd16de83d165a9270b0752d944a7af54b4e637797bb0d65b42d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eoq3pyecoreutils-2.9.6-py3-none-any.whl
Algorithm Hash digest
SHA256 226cc75110124977148d9acb9e15a08d33e0a4c855adaafc0da6ce6705a67aef
MD5 da4a23fb39e69a2b4f24a7e7dd3161af
BLAKE2b-256 6e3c68a17d9633267c27bedce7ba9ac7ca36a4b801bcbf95bbd025e841061244

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