pyMetaModel 0.6.2__tar.gz → 0.6.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/PKG-INFO +1 -1
- pymetamodel-0.6.4/meta/__init__.py +1 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/meta/metamodel.py +29 -12
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/meta/version.py +1 -1
- pymetamodel-0.6.2/meta/__init__.py +0 -1
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/.github/workflows/build.yml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/.github/workflows/upload-to-pypi.yml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/.gitignore +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/.project +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/.pydevproject +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/LICENSE +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/README.md +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/docs/index.md +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/ceur-ws/ceur-ws.mermaid +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/ceur-ws/ceur-ws.puml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/ceur-ws/ceur-ws.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/ceur-ws/ceur-ws.sidif +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/ceur-ws/ceur-ws.xlsx +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/ceur-ws/ceur-ws.yaml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/ceur-ws/ceur-ws_puml.txt +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/city/city.mermaid +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/city/city.puml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/city/city.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/city/city.sidif +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/city/city.xlsx +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/city/city.yaml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/city/city_puml.txt +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/family/FamilyContext.mermaid +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/family/FamilyContext.puml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/family/FamilyContext.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/family/FamilyContext.sidif +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/family/FamilyContext.xlsx +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/family/FamilyContext.yaml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/family/FamilyContext_puml.txt +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/infrastructure/infrastructure.mermaid +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/infrastructure/infrastructure.puml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/infrastructure/infrastructure.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/infrastructure/infrastructure.sidif +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/infrastructure/infrastructure.xlsx +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/infrastructure/infrastructure.yaml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/infrastructure/infrastructure_puml.txt +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/metamodel/metamodel.mermaid +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/metamodel/metamodel.puml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/metamodel/metamodel.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/metamodel/metamodel.sidif +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/metamodel/metamodel.xlsx +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/metamodel/metamodel.yaml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/metamodel/metamodel_puml.txt +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/scientific-events/scientific-events.mermaid +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/scientific-events/scientific-events.puml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/scientific-events/scientific-events.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/scientific-events/scientific-events.sidif +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/scientific-events/scientific-events.xlsx +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/scientific-events/scientific-events.yaml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/scientific-events/scientific-events_puml.txt +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/smartRQM/smartRQM.mermaid +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/smartRQM/smartRQM.puml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/smartRQM/smartRQM.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/smartRQM/smartRQM.sidif +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/smartRQM/smartRQM.yaml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/smartRQM/smartRQM_puml.txt +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/smwcon/smwcon.mermaid +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/smwcon/smwcon.puml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/smwcon/smwcon.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/smwcon/smwcon.sidif +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/smwcon/smwcon.xlsx +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/smwcon/smwcon.yaml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/smwcon/smwcon_puml.txt +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/teaching/TeachingSchema.mermaid +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/teaching/TeachingSchema.puml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/teaching/TeachingSchema.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/teaching/TeachingSchema.sidif +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/teaching/TeachingSchema.xlsx +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/teaching/TeachingSchema.yaml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/teaching/TeachingSchema_puml.txt +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/wiki/wiki.mermaid +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/wiki/wiki.puml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/wiki/wiki.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/wiki/wiki.sidif +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/wiki/wiki.xlsx +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/wiki/wiki.yaml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/wiki/wiki_puml.txt +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/meta/metamodel_cmd.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/meta/mw.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/meta/profiler.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/meta/sidif2linkml.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/meta/smw_type.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/meta/uml.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/metamodel.puml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/mkdocs.yml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/pyproject.toml +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/scripts/blackisort +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/scripts/doc +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/scripts/genexamples +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/scripts/install +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/scripts/release +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/scripts/test +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/tests/__init__.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/tests/basemwtest.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/tests/basesmwtest.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/tests/basetest.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/tests/test_generators.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/tests/test_linkml.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/tests/test_metamodel.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/tests/test_mw.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/tests/test_plantuml.py +0 -0
- {pymetamodel-0.6.2 → pymetamodel-0.6.4}/tests/test_sidif.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.6.4"
|
|
@@ -17,6 +17,7 @@ from meta.smw_type import SMW_Type
|
|
|
17
17
|
from sidif.sidif import SiDIFParser
|
|
18
18
|
import urllib3
|
|
19
19
|
|
|
20
|
+
# see also https://wiki.bitplan.com/index.php/PyMetaModel
|
|
20
21
|
|
|
21
22
|
|
|
22
23
|
@lod_storable
|
|
@@ -355,14 +356,17 @@ class Topic:
|
|
|
355
356
|
A Topic is a Concept/Class/Thing/Entity
|
|
356
357
|
"""
|
|
357
358
|
name: Optional[str] = None
|
|
358
|
-
icon: Optional[str] = None
|
|
359
|
-
context: Optional[str] = None
|
|
360
359
|
_pluralName: Optional[str] = None
|
|
360
|
+
icon: Optional[str] = None
|
|
361
|
+
iconUrl: Optional[str] = None
|
|
361
362
|
documentation: Optional[str] = None
|
|
362
363
|
wikiDocumentation: Optional[str] = None
|
|
363
364
|
defaultstoremode: str = "property"
|
|
364
365
|
extends: Optional[str] = None
|
|
365
366
|
listLimit: int = 200
|
|
367
|
+
cargo:bool=False
|
|
368
|
+
headerTabs:bool=False
|
|
369
|
+
context: Optional[str] = None
|
|
366
370
|
properties: Dict[str, 'Property'] = field(default_factory=dict)
|
|
367
371
|
sourceTopicLinks: Dict[str, 'TopicLink'] = field(default_factory=dict)
|
|
368
372
|
targetTopicLinks: Dict[str, 'TopicLink'] = field(default_factory=dict)
|
|
@@ -632,17 +636,26 @@ class Property:
|
|
|
632
636
|
name: Optional[str] = None
|
|
633
637
|
label: Optional[str] = None
|
|
634
638
|
type: Optional[str] = None
|
|
635
|
-
topic: Optional[str] = None
|
|
636
|
-
documentation: Optional[str] = None
|
|
637
|
-
namespace: str = "Property"
|
|
638
|
-
showInGrid: bool = True
|
|
639
|
-
isLink: bool = False
|
|
640
|
-
topicLink: Optional['TopicLink'] = None
|
|
641
639
|
index: Optional[int] = None
|
|
642
640
|
sortPos: Optional[int] = None
|
|
643
641
|
primaryKey: bool = False
|
|
644
642
|
mandatory: bool = False
|
|
643
|
+
namespace: str = "Property"
|
|
644
|
+
size: Optional[int] = None
|
|
645
|
+
uploadable: bool = False
|
|
646
|
+
defaultValue: Optional[str] = None
|
|
647
|
+
inputType: Optional[str] = None
|
|
648
|
+
allowedValues: Optional[str]=None
|
|
649
|
+
documentation: Optional[str] = None
|
|
650
|
+
values_from: Optional[str]=None
|
|
651
|
+
formatterURI: Optional[str] = None # externalFormatterURI
|
|
652
|
+
showInGrid: bool = True
|
|
653
|
+
isLink: bool = False
|
|
654
|
+
nullable: bool = False
|
|
645
655
|
sortAscending: bool = True
|
|
656
|
+
# Links
|
|
657
|
+
topic: Optional[str] = None
|
|
658
|
+
topicLink: Optional['TopicLink'] = None
|
|
646
659
|
|
|
647
660
|
|
|
648
661
|
@classmethod
|
|
@@ -696,6 +709,8 @@ class Property:
|
|
|
696
709
|
pass
|
|
697
710
|
if not hasattr(self, "showInGrid"):
|
|
698
711
|
self.showInGrid=True
|
|
712
|
+
if not hasattr(self, "label"):
|
|
713
|
+
self.label=getattr(self,"name")
|
|
699
714
|
pass
|
|
700
715
|
|
|
701
716
|
@lod_storable
|
|
@@ -706,14 +721,16 @@ class TopicLink:
|
|
|
706
721
|
|
|
707
722
|
name: Optional[str] = None
|
|
708
723
|
source: Optional[str] = None
|
|
709
|
-
target: Optional[str] = None
|
|
710
|
-
separator: Optional[str] = None
|
|
711
724
|
sourceRole: Optional[str] = None
|
|
712
|
-
targetRole: Optional[str] = None
|
|
713
725
|
sourceMultiple: bool = False
|
|
714
|
-
targetMultiple: bool = False
|
|
715
726
|
sourceDocumentation: Optional[str] = None
|
|
727
|
+
target: Optional[str] = None
|
|
728
|
+
targetRole: Optional[str] = None
|
|
729
|
+
targetMultiple: bool = False
|
|
716
730
|
targetDocumentation: Optional[str] = None
|
|
731
|
+
separator: Optional[str] = None
|
|
732
|
+
|
|
733
|
+
# calculate objects
|
|
717
734
|
sourceTopic: Optional[Topic] = None
|
|
718
735
|
targetTopic: Optional[Topic] = None
|
|
719
736
|
|
|
@@ -16,7 +16,7 @@ class Version(object):
|
|
|
16
16
|
description = "pyMetaModel: MetaModel for Knowledge Graphs"
|
|
17
17
|
version = meta.__version__
|
|
18
18
|
date = "2022-11-30"
|
|
19
|
-
updated = "2025-08-
|
|
19
|
+
updated = "2025-08-27"
|
|
20
20
|
authors = "Wolfgang Fahl"
|
|
21
21
|
doc_url = "https://wiki.bitplan.com/index.php/pyMetaModel"
|
|
22
22
|
chat_url = "https://github.com/WolfgangFahl/pyMetaModel/discussions"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.6.2"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/scientific-events/scientific-events.mermaid
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pymetamodel-0.6.2 → pymetamodel-0.6.4}/examples/scientific-events/scientific-events_puml.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|