Difference between revisions of "PyMetaModel"
Jump to navigation
Jump to search
(13 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. | + | |version=0.5.0 |
|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= | + | |date=2024-11-18 |
|since=2022-12-04 | |since=2022-12-04 | ||
|storemode=property | |storemode=property | ||
}} | }} | ||
+ | {{pip|pyMetaModel}} | ||
+ | = Usage = | ||
+ | <source lang='bash'> | ||
+ | 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] | ||
+ | </source> | ||
+ | |||
+ | = Overview = | ||
+ | == Mermaid == | ||
+ | {{#mermaid: | ||
+ | erDiagram | ||
+ | Context { | ||
+ | |||
+ | } | ||
+ | Property { | ||
+ | |||
+ | } | ||
+ | SMWType { | ||
+ | |||
+ | } | ||
+ | Topic { | ||
+ | |||
+ | } | ||
+ | Action { | ||
+ | |||
+ | } | ||
+ | TopicLink { | ||
+ | |||
+ | } | ||
+ | }} | ||
+ | |||
+ | == PlantUML == | ||
<uml> | <uml> | ||
title | title |
Latest revision as of 10:47, 18 November 2024
OsProject
OsProject | |
---|---|
edit | |
id | pyMetaModel |
state | active |
owner | WolfgangFahl |
title | pyMetaModel |
url | https://github.com/WolfgangFahl/pyMetaModel |
version | 0.5.0 |
description | Migration of https://wiki.bitplan.com/index.php/MetaModel#tab=Model |
date | 2024-11-18 |
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]