pyMetaModel 0.3.4__tar.gz → 0.4.0__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.3.4 → pymetamodel-0.4.0}/PKG-INFO +1 -1
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/infrastructure/infrastructure.sidif +22 -5
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/scientific-events/scientific-events.sidif +158 -366
- pymetamodel-0.4.0/meta/__init__.py +1 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/meta/metamodel.py +32 -4
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/meta/sidif2linkml.py +0 -2
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/meta/uml.py +14 -5
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/meta/version.py +1 -1
- pymetamodel-0.4.0/scripts/test +132 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/tests/test_generators.py +12 -35
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/tests/test_plantuml.py +8 -3
- pymetamodel-0.4.0/tests/test_sidif.py +110 -0
- pymetamodel-0.3.4/meta/__init__.py +0 -1
- pymetamodel-0.3.4/scripts/test +0 -49
- pymetamodel-0.3.4/tests/test_sidif.py +0 -31
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/.github/workflows/build.yml +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/.github/workflows/upload-to-pypi.yml +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/.gitignore +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/.project +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/.pydevproject +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/LICENSE +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/README.md +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/docs/index.md +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/ceur-ws/ceur-ws.mermaid +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/ceur-ws/ceur-ws.puml +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/ceur-ws/ceur-ws.py +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/ceur-ws/ceur-ws.sidif +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/ceur-ws/ceur-ws.xlsx +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/ceur-ws/ceur-ws.yaml +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/ceur-ws/ceur-ws_puml.txt +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/city/city.mermaid +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/city/city.puml +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/city/city.py +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/city/city.sidif +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/city/city.xlsx +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/city/city.yaml +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/city/city_puml.txt +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/family/FamilyContext.mermaid +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/family/FamilyContext.puml +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/family/FamilyContext.py +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/family/FamilyContext.sidif +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/family/FamilyContext.xlsx +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/family/FamilyContext.yaml +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/family/FamilyContext_puml.txt +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/infrastructure/infrastructure.mermaid +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/infrastructure/infrastructure.puml +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/infrastructure/infrastructure.py +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/infrastructure/infrastructure.xlsx +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/infrastructure/infrastructure.yaml +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/infrastructure/infrastructure_puml.txt +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/metamodel/metamodel.mermaid +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/metamodel/metamodel.puml +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/metamodel/metamodel.py +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/metamodel/metamodel.sidif +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/metamodel/metamodel.xlsx +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/metamodel/metamodel.yaml +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/metamodel/metamodel_puml.txt +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/scientific-events/scientific-events.mermaid +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/scientific-events/scientific-events.puml +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/scientific-events/scientific-events.py +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/scientific-events/scientific-events.xlsx +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/scientific-events/scientific-events.yaml +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/scientific-events/scientific-events_puml.txt +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/teaching/TeachingSchema.mermaid +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/teaching/TeachingSchema.puml +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/teaching/TeachingSchema.py +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/teaching/TeachingSchema.sidif +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/teaching/TeachingSchema.xlsx +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/teaching/TeachingSchema.yaml +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/examples/teaching/TeachingSchema_puml.txt +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/meta/metamodel_cmd.py +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/meta/mw.py +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/meta/profiler.py +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/meta/smw_type.py +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/metamodel.puml +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/mkdocs.yml +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/pyproject.toml +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/scripts/blackisort +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/scripts/doc +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/scripts/genexamples +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/scripts/install +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/scripts/release +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/tests/__init__.py +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/tests/basemwtest.py +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/tests/basetest.py +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/tests/test_linkml.py +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/tests/test_metamodel.py +0 -0
- {pymetamodel-0.3.4 → pymetamodel-0.4.0}/tests/test_mw.py +0 -0
|
@@ -1,6 +1,17 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This is the Inheritance example for the SiDIF based pyMetaModel
|
|
3
|
+
# see https://github.com/WolfgangFahl/pyMetaModel/issues/25
|
|
4
|
+
#
|
|
1
5
|
Infrastructure isA Context
|
|
2
6
|
"Infrastructure" is name of it
|
|
7
|
+
"2024-07-27" is since of it
|
|
8
|
+
"2024-08-02" is updated of it
|
|
9
|
+
"© 2024 Wolfgang Fahl" is copyright of it
|
|
10
|
+
"http://master.bitplan.com" is master of it
|
|
3
11
|
|
|
12
|
+
#
|
|
13
|
+
# a generic computer device
|
|
14
|
+
#
|
|
4
15
|
Device isA Topic
|
|
5
16
|
"Device" is name of it
|
|
6
17
|
"Devices" is pluralName of it
|
|
@@ -9,6 +20,7 @@ Device isA Topic
|
|
|
9
20
|
"/images/4/40/Component.png" is iconUrl of it
|
|
10
21
|
"property" is defaultstoremode of it
|
|
11
22
|
"Infrastructure" is context of it
|
|
23
|
+
# Properties of Device
|
|
12
24
|
Device_name addsTo it
|
|
13
25
|
Device_type addsTo it
|
|
14
26
|
Device_since addsTo it
|
|
@@ -25,7 +37,6 @@ Device_website addsTo it
|
|
|
25
37
|
Device_driver addsTo it
|
|
26
38
|
Device_support addsTo it
|
|
27
39
|
Device_comment addsTo it
|
|
28
|
-
|
|
29
40
|
# properties of Device
|
|
30
41
|
# property name
|
|
31
42
|
Device_name isA Property
|
|
@@ -186,7 +197,7 @@ Device_comment isA Property
|
|
|
186
197
|
#
|
|
187
198
|
#Computer
|
|
188
199
|
#
|
|
189
|
-
Computer
|
|
200
|
+
Computer extends Device
|
|
190
201
|
"Computer" is name of it
|
|
191
202
|
"Computers" is pluralName of it
|
|
192
203
|
"A computer runs software to automate tasks" is documentation of it
|
|
@@ -242,7 +253,7 @@ false is isLink of it
|
|
|
242
253
|
#
|
|
243
254
|
#Harddisk
|
|
244
255
|
#
|
|
245
|
-
Harddisk
|
|
256
|
+
Harddisk extends Device
|
|
246
257
|
"Harddisk" is name of it
|
|
247
258
|
"Harddisks" is pluralName of it
|
|
248
259
|
"A harddisk stores data on magnetic media or using SSD technology" is documentation of it
|
|
@@ -300,7 +311,10 @@ false is showInGrid of it
|
|
|
300
311
|
false is isLink of it
|
|
301
312
|
"Harddisk" is topic of it
|
|
302
313
|
|
|
303
|
-
|
|
314
|
+
#
|
|
315
|
+
# Monitor
|
|
316
|
+
#
|
|
317
|
+
Monitor extends Device
|
|
304
318
|
"Monitor" is name of it
|
|
305
319
|
"Monitors" is pluralName of it
|
|
306
320
|
"A display device for computers" is documentation of it
|
|
@@ -322,7 +336,10 @@ true is showInGrid of it
|
|
|
322
336
|
false is isLink of it
|
|
323
337
|
"Monitor" is topic of it
|
|
324
338
|
|
|
325
|
-
|
|
339
|
+
#
|
|
340
|
+
# Printer
|
|
341
|
+
#
|
|
342
|
+
Printer extends Device
|
|
326
343
|
"Printer" is name of it
|
|
327
344
|
"Printers" is pluralName of it
|
|
328
345
|
"Paper printer" is documentation of it
|