fmu-manipulation-toolbox 1.8__py3-none-any.whl → 1.8.2.dev2__py3-none-any.whl

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.
Files changed (25) hide show
  1. fmu_manipulation_toolbox/__version__.py +1 -1
  2. fmu_manipulation_toolbox/assembly.py +233 -126
  3. fmu_manipulation_toolbox/cli.py +7 -4
  4. fmu_manipulation_toolbox/fmu_container.py +60 -27
  5. fmu_manipulation_toolbox/fmu_operations.py +2 -3
  6. fmu_manipulation_toolbox/gui.py +356 -103
  7. fmu_manipulation_toolbox/gui_style.py +129 -0
  8. fmu_manipulation_toolbox/resources/container.png +0 -0
  9. fmu_manipulation_toolbox/resources/drop_fmu.png +0 -0
  10. fmu_manipulation_toolbox/resources/fmu.png +0 -0
  11. fmu_manipulation_toolbox/resources/fmu_manipulation_toolbox.png +0 -0
  12. fmu_manipulation_toolbox/resources/icon_fmu.png +0 -0
  13. fmu_manipulation_toolbox/resources/linux64/container.so +0 -0
  14. fmu_manipulation_toolbox/resources/mask.png +0 -0
  15. fmu_manipulation_toolbox/resources/win32/client_sm.dll +0 -0
  16. fmu_manipulation_toolbox/resources/win32/server_sm.exe +0 -0
  17. fmu_manipulation_toolbox/resources/win64/client_sm.dll +0 -0
  18. fmu_manipulation_toolbox/resources/win64/container.dll +0 -0
  19. fmu_manipulation_toolbox/resources/win64/server_sm.exe +0 -0
  20. {fmu_manipulation_toolbox-1.8.dist-info → fmu_manipulation_toolbox-1.8.2.dev2.dist-info}/METADATA +8 -3
  21. {fmu_manipulation_toolbox-1.8.dist-info → fmu_manipulation_toolbox-1.8.2.dev2.dist-info}/RECORD +25 -21
  22. {fmu_manipulation_toolbox-1.8.dist-info → fmu_manipulation_toolbox-1.8.2.dev2.dist-info}/WHEEL +1 -1
  23. {fmu_manipulation_toolbox-1.8.dist-info → fmu_manipulation_toolbox-1.8.2.dev2.dist-info}/LICENSE.txt +0 -0
  24. {fmu_manipulation_toolbox-1.8.dist-info → fmu_manipulation_toolbox-1.8.2.dev2.dist-info}/entry_points.txt +0 -0
  25. {fmu_manipulation_toolbox-1.8.dist-info → fmu_manipulation_toolbox-1.8.2.dev2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,129 @@
1
+ # if os.name == 'nt':
2
+ # font = QFont('Consolas')
3
+ # font.setPointSize(11)
4
+ # else:
5
+ # font = QFont('Courier New')
6
+ # font.setPointSize(12)
7
+ # self.setFont(font)
8
+
9
+
10
+ gui_style_dark = """
11
+ QWidget {
12
+ font: 10pt "Verdana";
13
+ background: #4b4e51;
14
+ color: #b5bab9;
15
+ }
16
+ QPushButton, QComboBox {
17
+ min-height: 30px;
18
+ padding: 1px 1px 0.2em 0.2em;
19
+ border: 1px solid #282830;
20
+ border-radius: 5px;
21
+ color: #dddddd;
22
+ }
23
+ QPushButton:pressed {
24
+ border: 2px solid #282830;
25
+ }
26
+ QPushButton.info {
27
+ background-color: #4e6749;
28
+ }
29
+ QPushButton.info:hover {
30
+ background-color: #5f7850;
31
+ }
32
+ QPushButton.modify {
33
+ background-color: #98763f;
34
+ }
35
+ QPushButton.modify:hover {
36
+ background-color: #a9874f;
37
+ }
38
+ QPushButton.removal {
39
+ background-color: #692e2e;
40
+ }
41
+ QPushButton.removal:hover {
42
+ background-color: #7a3f3f;
43
+ }
44
+ QPushButton.save {
45
+ background-color: #564967;
46
+ }
47
+ QPushButton.save:hover {
48
+ background-color: #675a78;
49
+ }
50
+ QPushButton.quit {
51
+ background-color: #4571a4;
52
+ }
53
+ QPushButton.quit:hover {
54
+ background-color: #5682b5;
55
+ }
56
+ QPushButton::disabled {
57
+ background-color: gray;
58
+ }
59
+ QToolTip {
60
+ color: black
61
+ }
62
+ QLabel.dropped_fmu {
63
+ background-color: #b5bab9
64
+ }
65
+ QLabel.title {
66
+ font: 14pt bold "Verdana";
67
+ }
68
+ QLabel.dropped_fmu:hover {
69
+ background-color: #c6cbca
70
+ }
71
+ QTextBrowser, QTreeView {
72
+ font: 11pt "Consolas";
73
+ background-color: #282830;
74
+ color: #b5bab9;
75
+ }
76
+ QMenu::item {
77
+ padding: 2px 250px 2px 20px;
78
+ border: 1px solid transparent;
79
+ }
80
+ QMenu::item::indicator, QCheckBox::item::indicator {
81
+ width: 32px;
82
+ height: 32px;
83
+ }
84
+ QMenu::indicator:checked, QCheckBox::indicator:checked {
85
+ image: url(images:checkbox-checked.png);
86
+ }
87
+ QMenu::indicator:checked:hover, QCheckBox::indicator:checked:hover {
88
+ image: url(images:checkbox-checked-hover.png);
89
+ }
90
+ QMenu::indicator:checked:disabled, QCheckBox::indicator:checked:disabled {
91
+ image: url(images:checkbox-checked-disabled.png);
92
+ }
93
+ QMenu::indicator:unchecked, QCheckBox::indicator:unchecked {
94
+ image: url(images:checkbox-unchecked.png);
95
+ }
96
+ QMenu::indicator:unchecked:hover, QCheckBox::indicator:unchecked:hover {
97
+ image: url(images:checkbox-unchecked-hover.png);
98
+ }
99
+ QMenu::indicator:unchecked:disabled, QCheckBox::indicator:unchecked:disabled {
100
+ image: url(images:checkbox-unchecked-disabled.png);
101
+ }
102
+ QCheckBox::item {
103
+ padding: 2px 250px 2px 20px;
104
+ border: 1px solid transparent;
105
+ }
106
+ QTabBar::tab {
107
+ min-height: 30px;
108
+ padding: 1px 1px 0.2em 0.2em;
109
+ color: #dddddd;
110
+ margin: 2px;
111
+ margin-bottom: 0px;
112
+ border: 1px solid #282830;
113
+ border-top-left-radius: 5px;
114
+ border-top-right-radius: 5px;
115
+ }
116
+ QTabBar::tab:selected, QTabBar::tab:hover {
117
+ background-color: #5f7850;
118
+ margin-bottom:-1px;
119
+ }
120
+ QTabBar {
121
+ border-bottom: 1px solid #282830;
122
+ }
123
+ QTabBar::tab:top:last, QTabBar::tab:bottom:last {
124
+ margin-right: 0;
125
+ }
126
+ QTabBar::tab:top:first, QTabBar::tab:bottom:first {
127
+ margin-left: 0;
128
+ }
129
+ """
Binary file
@@ -1,14 +1,19 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: fmu_manipulation_toolbox
3
- Version: 1.8
3
+ Version: 1.8.2.dev2
4
4
  Summary: FMU Manipulation Toobox is a python application which help to modify a Functional Mock-up Units (FMUs) without recompilation or to group them into FMU Containers
5
5
  Home-page: https://github.com/grouperenault/fmu_manipulation_toolbox/
6
6
  Author: Nicolas.LAURENT@Renault.com
7
7
  License-File: LICENSE.txt
8
- Requires-Dist: PyQt5>=5.15.10
8
+ Requires-Dist: PySide6>=6.8.0
9
9
  Requires-Dist: xmlschema>=3.3.1
10
10
  Requires-Dist: elementpath>=4.4.0
11
11
  Requires-Dist: colorama>=0.4.6
12
+ Dynamic: author
13
+ Dynamic: description
14
+ Dynamic: home-page
15
+ Dynamic: requires-dist
16
+ Dynamic: summary
12
17
 
13
18
  FMU Manipulation Toolbox is a python application which help to modify a Functional Mock-up Units (FMUs)
14
19
  without recompilation. It mainly modifies the `modelDescription.xml` file. It is highly customizable.
@@ -1,12 +1,13 @@
1
1
  fmu_manipulation_toolbox/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
2
2
  fmu_manipulation_toolbox/__main__.py,sha256=mAzrtkil506DS0F3g3CEbHdtZsZotzntcNhIn_lNJkw,344
3
- fmu_manipulation_toolbox/__version__.py,sha256=wgnOv0C5Ic8_OmpPXk8qES2otG4lRxHybApfWS9AX58,7
4
- fmu_manipulation_toolbox/assembly.py,sha256=3YGVBUMjTNwzU-GxUCT-uER3DkX_r4V44ekfzwTmT8I,19364
3
+ fmu_manipulation_toolbox/__version__.py,sha256=XRMZw6r5zNWqAwUNVSOks2uHYTZKCrn1E3G40AmC86I,14
4
+ fmu_manipulation_toolbox/assembly.py,sha256=pgGuePOsUbPqTP3IYbeHtMIaqm8dCqI1k55dIezcAEg,25080
5
5
  fmu_manipulation_toolbox/checker.py,sha256=lE2MpH4BAKCDjUvbr06N56u7ao8hWXaJgMKaLvmhFTQ,2272
6
- fmu_manipulation_toolbox/cli.py,sha256=bIfQAGMyTmsx8HQSvu0Ic_UqDRvvm_Op3RCwHpjfqVI,10070
7
- fmu_manipulation_toolbox/fmu_container.py,sha256=cPJ_f0-KrBpF8Ri9D9RhgGIuT9BiqWpus4nPet4a3PU,26488
8
- fmu_manipulation_toolbox/fmu_operations.py,sha256=Z3LVOnDvwzoBrqfibZPAn_Osw6MIuGrXtaboGFqp0DA,15836
9
- fmu_manipulation_toolbox/gui.py,sha256=4gD6D4f1jQm1UlVC0iV4nuFNOT-y-AuJ13_7LBVm944,20269
6
+ fmu_manipulation_toolbox/cli.py,sha256=g_03DdH5lNZ7DsD5CoAeA_nGeDlsw19nhli9dousdew,10347
7
+ fmu_manipulation_toolbox/fmu_container.py,sha256=SGA-zSLyHojkg1upXA6wdM-KaZTsl6FO5UtSRZt2YkY,28390
8
+ fmu_manipulation_toolbox/fmu_operations.py,sha256=WE-lCNNOYr3pakMkwzpsp_lBhb2P4s7Ez5HnxQLbVdk,15814
9
+ fmu_manipulation_toolbox/gui.py,sha256=bGG4iPddGsT4tLBv1zjSpbIkyctHVfbRt0kGxdTTrTc,29219
10
+ fmu_manipulation_toolbox/gui_style.py,sha256=jjDhzSw5hu_6-bOOhsvI_MxQZOqt9SjpKK6T83Gubr4,2926
10
11
  fmu_manipulation_toolbox/help.py,sha256=aklKiLrsE0adSzQ5uoEB1sBDmI6s4l231gavu4XxxzA,5856
11
12
  fmu_manipulation_toolbox/version.py,sha256=OhBLkZ1-nhC77kyvffPNAf6m8OZe1bYTnNf_PWs1NvM,392
12
13
  fmu_manipulation_toolbox/resources/checkbox-checked-disabled.png,sha256=FWIuyrXlaNLLePHfXj7j9ca5rT8Hgr14KCe1EqTCZyk,2288
@@ -15,13 +16,16 @@ fmu_manipulation_toolbox/resources/checkbox-checked.png,sha256=gzyFqvRFsZixVh6Zl
15
16
  fmu_manipulation_toolbox/resources/checkbox-unchecked-disabled.png,sha256=KNdiE8zJ8H-mH81spHL8Ck-V87dj-fPPPrPNZFRv3wA,1783
16
17
  fmu_manipulation_toolbox/resources/checkbox-unchecked-hover.png,sha256=7XT54vwzDfSK-i6oJ5BBKGXKz8duRRVtoUzaOlWX0WE,1797
17
18
  fmu_manipulation_toolbox/resources/checkbox-unchecked.png,sha256=w3MG3RwFeTwkVOAFi8ZBs6yNlmtVnXxXY5atNyvLw54,1793
18
- fmu_manipulation_toolbox/resources/drop_fmu.png,sha256=aynTWUw5220BXPZIhNco5AkR-ydCAwibWb5gdhR3cCQ,20077
19
- fmu_manipulation_toolbox/resources/fmu.png,sha256=7bI_cb3pcqEnwBCCL30v3MXPwOK8OtbhFFouRq9lTj8,12048
20
- fmu_manipulation_toolbox/resources/fmu_manipulation_toolbox.png,sha256=hUhuGg88BU5j7KkqhnU981wSpzn9ftQuOSu8pMYuP-Y,37997
19
+ fmu_manipulation_toolbox/resources/container.png,sha256=DnMSCl4hlZqYuLDJpE4EnKIhYYXRbUZ7C_Q2HmAOaHU,16682
20
+ fmu_manipulation_toolbox/resources/drop_fmu.png,sha256=Q7yWe3hzBYuou2xlPN9Yg9lgQYFSVuYxGnp_SRwkVe0,10344
21
+ fmu_manipulation_toolbox/resources/fmu.png,sha256=QrNZ5PRaana0r-7pbluYf20m8ngzOZEZWi-MPSQG1eU,47050
22
+ fmu_manipulation_toolbox/resources/fmu_manipulation_toolbox.png,sha256=iuztmrW9f3Ayi4fe_WdkYZbI1VXrCa1HVasfIhW5J18,38023
21
23
  fmu_manipulation_toolbox/resources/help.png,sha256=WrIbjmlgIqdo6UWYj6L6gG-BCGWlu4qma8HRgRk8k7o,1822
22
24
  fmu_manipulation_toolbox/resources/icon-round.png,sha256=j7jk-9NVQQZJMNazjpj8WeC1q6ptXwTaiO38kPoDEnE,83754
23
25
  fmu_manipulation_toolbox/resources/icon.png,sha256=Ovui-UDBARqdTlVQwTn5Ud8seSsVh9pdElwLq5s6xKg,69976
26
+ fmu_manipulation_toolbox/resources/icon_fmu.png,sha256=EuygB2xcoM2WAfKKdyKG_UvTL8coM4CkpHSIsSCe_Ks,5189
24
27
  fmu_manipulation_toolbox/resources/license.txt,sha256=5ODuU8g8pIkK-NMWXu_rjZ6k7gM7b-N2rmg87-2Kmqw,1583
28
+ fmu_manipulation_toolbox/resources/mask.png,sha256=px1U4hQGL0AmZ4BQPknOVREpMpTSejbah3ntkpqAzFA,3008
25
29
  fmu_manipulation_toolbox/resources/model.png,sha256=EAf_HnZJe8zYGZygerG1MMt2U-tMMZlifzXPj4_iORA,208788
26
30
  fmu_manipulation_toolbox/resources/fmi-2.0/fmi2Annotation.xsd,sha256=OGfyJtaJntKypX5KDpuZ-nV1oYLZ6HV16pkpKOmYox4,2731
27
31
  fmu_manipulation_toolbox/resources/fmi-2.0/fmi2AttributeGroups.xsd,sha256=HwyV7LBse-PQSv4z1xjmtzPU3Hjnv4mluq9YdSBNHMQ,3704
@@ -33,16 +37,16 @@ fmu_manipulation_toolbox/resources/fmi-2.0/fmi2VariableDependency.xsd,sha256=Tc9
33
37
  fmu_manipulation_toolbox/resources/linux32/client_sm.so,sha256=xVdY2zy13pa2DcvFiweSNpp7E6DiONqeoBdlcJHrW_k,35940
34
38
  fmu_manipulation_toolbox/resources/linux32/server_sm,sha256=1TLGqNPyM5UVOrCfzNqWyF6ClLksY3EiY3CSsrnp6c0,22836
35
39
  fmu_manipulation_toolbox/resources/linux64/client_sm.so,sha256=EhY1XHo1YcQn6yqZ7wk5okqtZyp0MrcCsGcudqE-aIM,37000
36
- fmu_manipulation_toolbox/resources/linux64/container.so,sha256=_uhkJYZa_z1tV0NBATWC8iAGt7lPY11_VA29a_5hXsM,45384
40
+ fmu_manipulation_toolbox/resources/linux64/container.so,sha256=mlzbV-mzP9umrY_7WM4mpxohEG97uTjEpc6nxlv1f-c,45984
37
41
  fmu_manipulation_toolbox/resources/linux64/server_sm,sha256=ulfoPvmaYe9nInYcVEyj7mD9zDzGk56OUoWx1mPKLiE,22768
38
- fmu_manipulation_toolbox/resources/win32/client_sm.dll,sha256=Xuo3euqlAL1GTEseSN4I3oZgtyazVAtcPIURN1g5MGs,17920
39
- fmu_manipulation_toolbox/resources/win32/server_sm.exe,sha256=BQVRmQlsRCNaPfvutK2HACHsOhM7eC-X7xYs2pdX2hc,15872
40
- fmu_manipulation_toolbox/resources/win64/client_sm.dll,sha256=AEijF7jWf5bvI1V73eU4qOH4HF1ji0OZtnicm3dW5P4,22016
41
- fmu_manipulation_toolbox/resources/win64/container.dll,sha256=6yK5n_2ImVvk3cJJ2Xvmps3OrOUJD_Yf0D_F7oRlK_Y,32768
42
- fmu_manipulation_toolbox/resources/win64/server_sm.exe,sha256=Idy3JQhIkS3gauQVz5iDBgp9hw8nBSMgNExeoDnhJBA,19456
43
- fmu_manipulation_toolbox-1.8.dist-info/LICENSE.txt,sha256=c_862mzyk6ownO3Gt6cVs0-53IXLi_-ZEQFNDVabESw,1285
44
- fmu_manipulation_toolbox-1.8.dist-info/METADATA,sha256=dfoN8Q5lNqwgCThHbYBSuD9UoKl8rhBsts_L8z76vSM,965
45
- fmu_manipulation_toolbox-1.8.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
46
- fmu_manipulation_toolbox-1.8.dist-info/entry_points.txt,sha256=jCPLMBdS-eOvmRfDv7n0wHZSbJHccHviW03mz5vwO-Q,124
47
- fmu_manipulation_toolbox-1.8.dist-info/top_level.txt,sha256=9D_h-5BMjSqf9z-XFkbJL_bMppR2XNYW3WNuPkXou0k,25
48
- fmu_manipulation_toolbox-1.8.dist-info/RECORD,,
42
+ fmu_manipulation_toolbox/resources/win32/client_sm.dll,sha256=wct4eXJaoHjb-IZkVJJUbnCsdRE-61C_IQF9LUNIEwQ,17920
43
+ fmu_manipulation_toolbox/resources/win32/server_sm.exe,sha256=YVqy_jmyCMe1AXV0Gg3uUZyUHjDn0sGOw1L6OptauUQ,15872
44
+ fmu_manipulation_toolbox/resources/win64/client_sm.dll,sha256=eI6HGuuX9zVAWTAc0veQo4VqD8m0WswxO_zcaYbJxvQ,22016
45
+ fmu_manipulation_toolbox/resources/win64/container.dll,sha256=YwnHFnuuv_fZG1KdkBqf4iWagLlGXeuEfjVOr4Lm4BE,36864
46
+ fmu_manipulation_toolbox/resources/win64/server_sm.exe,sha256=1AJoXNlr-dKzrcdNKsqU_iQYtK1WgWBU039jL61aofY,19456
47
+ fmu_manipulation_toolbox-1.8.2.dev2.dist-info/LICENSE.txt,sha256=c_862mzyk6ownO3Gt6cVs0-53IXLi_-ZEQFNDVabESw,1285
48
+ fmu_manipulation_toolbox-1.8.2.dev2.dist-info/METADATA,sha256=QJH35Er0kNos3fOG2ZyW0V39EPevhax9Zbv8Xw2QWaA,1068
49
+ fmu_manipulation_toolbox-1.8.2.dev2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
50
+ fmu_manipulation_toolbox-1.8.2.dev2.dist-info/entry_points.txt,sha256=jCPLMBdS-eOvmRfDv7n0wHZSbJHccHviW03mz5vwO-Q,124
51
+ fmu_manipulation_toolbox-1.8.2.dev2.dist-info/top_level.txt,sha256=9D_h-5BMjSqf9z-XFkbJL_bMppR2XNYW3WNuPkXou0k,25
52
+ fmu_manipulation_toolbox-1.8.2.dev2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: setuptools (75.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5