Difference between revisions of "PyMetaModel"

From BITPlan Wiki
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
|title=pyMetaModel
 
|title=pyMetaModel
 
|url=https://github.com/WolfgangFahl/pyMetaModel
 
|url=https://github.com/WolfgangFahl/pyMetaModel
|version=0.4.4
+
|version=0.6.4
 
|description=Migration of https://wiki.bitplan.com/index.php/MetaModel#tab=Model
 
|description=Migration of https://wiki.bitplan.com/index.php/MetaModel#tab=Model
|date=2024-08-08
+
|date=2025-08-27
 
|since=2022-12-04
 
|since=2022-12-04
 
|storemode=property
 
|storemode=property
Line 77: Line 77:
 
title
 
title
 
MetaModel
 
MetaModel
2015-2022 Wolfgang Fahl
+
2015-2025 Wolfgang Fahl
 
end title
 
end title
 
package MetaModel {
 
package MetaModel {
Line 88: Line 88:
 
     updated:Date
 
     updated:Date
 
     copyright:Text
 
     copyright:Text
 +
    demo: URL
 
     master:URL
 
     master:URL
 
   }
 
   }
Line 165: Line 166:
 
     sourceMultiple:Boolean
 
     sourceMultiple:Boolean
 
     sourceDocumentation:Text
 
     sourceDocumentation:Text
 +
    separator: Text
 
     target:Page
 
     target:Page
 
     targetRole:Text
 
     targetRole:Text
Line 173: Line 175:
 
}
 
}
 
Topic "topic 1" -- "properties *" Property
 
Topic "topic 1" -- "properties *" Property
 +
Topic "topic 1" -> "extends 1" Topic
 
Context "context 1" -- "topics *" Topic
 
Context "context 1" -- "topics *" Topic
 
Property "usedByProperties *" -- "smw_type 1" SMW_Type
 
Property "usedByProperties *" -- "smw_type 1" SMW_Type
Line 255: Line 258:
 
' end of skinparams '
 
' end of skinparams '
 
</uml>
 
</uml>
 +
 
=tickets=
 
=tickets=

Latest revision as of 12:46, 27 August 2025

OsProject

OsProject
edit
id  pyMetaModel
state  active
owner  WolfgangFahl
title  pyMetaModel
url  https://github.com/WolfgangFahl/pyMetaModel
version  0.6.4
description  Migration of https://wiki.bitplan.com/index.php/MetaModel#tab=Model
date  2025-08-27
since  2022-12-04
until  


Installation

pip install pyMetaModel
# alternatively if your pip is not a python3 pip
pip3 install pyMetaModel 
# local install from source directory of pyMetaModel 
pip install .

upgrade

pip install pyMetaModel  -U
# alternatively if your pip is not a python3 pip
pip3 install pyMetaModel -U


Usage

mm_cmd -h
usage: mm_cmd [-h] [--about] [--context CONTEXT] [--copyright COPYRIGHT] [-d]
              [-i INPUT] [-l] [-t TITLE] [-u] [--wikiId WIKIID]

pyMetaModel: MetaModel for Knowledge Graphs

  Created by Wolfgang Fahl on 2022-11-30.
  Copyright 2022 Wolfgang Fahl. All rights reserved.

  Licensed under the Apache License 2.0
  http://www.apache.org/licenses/LICENSE-2.0

  Distributed on an "AS IS" basis without warranties
  or conditions of any kind, either express or implied.

USAGE

options:
  -h, --help            show this help message and exit
  --about               show about info [default: False]
  --context CONTEXT     context to read [default: MetaModel]
  --copyright COPYRIGHT
                        copyright message for diagrams
  -d, --debug           show debug info
  -i INPUT, --input INPUT
                        input file
  -l, --linkml          create linkml yaml file
  -t TITLE, --title TITLE
                        the title of a diagram
  -u, --uml             create plantuml diagram
  --wikiId WIKIID       id of the wiki to generate for [default: wiki]

Overview

Mermaid

PlantUML

tickets