fmu-manipulation-toolbox 1.9.1.3__py3-none-any.whl → 1.9.2b2__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 (32) hide show
  1. fmu_manipulation_toolbox/__main__.py +2 -2
  2. fmu_manipulation_toolbox/__version__.py +1 -1
  3. fmu_manipulation_toolbox/assembly.py +12 -8
  4. fmu_manipulation_toolbox/checker.py +4 -2
  5. fmu_manipulation_toolbox/cli/fmucontainer.py +27 -19
  6. fmu_manipulation_toolbox/cli/fmusplit.py +5 -2
  7. fmu_manipulation_toolbox/cli/fmutool.py +8 -3
  8. fmu_manipulation_toolbox/cli/utils.py +11 -1
  9. fmu_manipulation_toolbox/container.py +292 -82
  10. fmu_manipulation_toolbox/ls.py +35 -0
  11. fmu_manipulation_toolbox/operations.py +3 -2
  12. fmu_manipulation_toolbox/resources/darwin64/container.dylib +0 -0
  13. fmu_manipulation_toolbox/resources/linux32/client_sm.so +0 -0
  14. fmu_manipulation_toolbox/resources/linux64/client_sm.so +0 -0
  15. fmu_manipulation_toolbox/resources/linux64/container.so +0 -0
  16. fmu_manipulation_toolbox/resources/win32/client_sm.dll +0 -0
  17. fmu_manipulation_toolbox/resources/win32/server_sm.exe +0 -0
  18. fmu_manipulation_toolbox/resources/win64/client_sm.dll +0 -0
  19. fmu_manipulation_toolbox/resources/win64/container.dll +0 -0
  20. fmu_manipulation_toolbox/resources/win64/server_sm.exe +0 -0
  21. fmu_manipulation_toolbox/split.py +59 -3
  22. fmu_manipulation_toolbox/terminals.py +137 -0
  23. fmu_manipulation_toolbox/version.py +1 -1
  24. fmu_manipulation_toolbox-1.9.2b2.dist-info/METADATA +42 -0
  25. {fmu_manipulation_toolbox-1.9.1.3.dist-info → fmu_manipulation_toolbox-1.9.2b2.dist-info}/RECORD +29 -29
  26. {fmu_manipulation_toolbox-1.9.1.3.dist-info → fmu_manipulation_toolbox-1.9.2b2.dist-info}/entry_points.txt +1 -1
  27. {fmu_manipulation_toolbox-1.9.1.3.dist-info → fmu_manipulation_toolbox-1.9.2b2.dist-info}/licenses/LICENSE.txt +1 -1
  28. fmu_manipulation_toolbox/gui.py +0 -749
  29. fmu_manipulation_toolbox/gui_style.py +0 -252
  30. fmu_manipulation_toolbox-1.9.1.3.dist-info/METADATA +0 -30
  31. {fmu_manipulation_toolbox-1.9.1.3.dist-info → fmu_manipulation_toolbox-1.9.2b2.dist-info}/WHEEL +0 -0
  32. {fmu_manipulation_toolbox-1.9.1.3.dist-info → fmu_manipulation_toolbox-1.9.2b2.dist-info}/top_level.txt +0 -0
@@ -1,252 +0,0 @@
1
- import os
2
-
3
- if os.name == 'nt':
4
- gui_style = """
5
- QWidget {
6
- font: 10pt "Verdana";
7
- background: #4b4e51;
8
- color: #b5bab9;
9
- }
10
- QPushButton, QComboBox {
11
- min-height: 30px;
12
- padding: 1px 1px 0.2em 0.2em;
13
- border: 1px solid #282830;
14
- border-radius: 5px;
15
- color: #dddddd;
16
- }
17
- QPushButton:pressed {
18
- border: 2px solid #282830;
19
- }
20
- QPushButton.info {
21
- background-color: #4e6749;
22
- }
23
- QPushButton.info:hover {
24
- background-color: #5f7850;
25
- }
26
- QPushButton.modify {
27
- background-color: #98763f;
28
- }
29
- QPushButton.modify:hover {
30
- background-color: #a9874f;
31
- }
32
- QPushButton.removal {
33
- background-color: #692e2e;
34
- }
35
- QPushButton.removal:hover {
36
- background-color: #7a3f3f;
37
- }
38
- QPushButton.save {
39
- background-color: #564967;
40
- }
41
- QPushButton.save:hover {
42
- background-color: #675a78;
43
- }
44
- QPushButton.quit {
45
- background-color: #4571a4;
46
- }
47
- QPushButton.quit:hover {
48
- background-color: #5682b5;
49
- }
50
- QPushButton::disabled {
51
- background-color: gray;
52
- }
53
- QToolTip {
54
- color: black
55
- }
56
- QLabel.dropped_fmu {
57
- background-color: #b5bab9
58
- }
59
- QLabel.title {
60
- font: 14pt bold "Verdana";
61
- }
62
- QLabel.dropped_fmu:hover {
63
- background-color: #c6cbca
64
- }
65
- QTextBrowser, QTreeView {
66
- font: 11pt "Consolas";
67
- background-color: #282830;
68
- color: #b5bab9;
69
- }
70
- QMenu::item {
71
- padding: 2px 250px 2px 20px;
72
- border: 1px solid transparent;
73
- }
74
- QMenu::item::indicator, QCheckBox::item::indicator {
75
- width: 32px;
76
- height: 32px;
77
- }
78
- QMenu::indicator:checked, QCheckBox::indicator:checked {
79
- image: url(images:checkbox-checked.png);
80
- }
81
- QMenu::indicator:checked:hover, QCheckBox::indicator:checked:hover {
82
- image: url(images:checkbox-checked-hover.png);
83
- }
84
- QMenu::indicator:checked:disabled, QCheckBox::indicator:checked:disabled {
85
- image: url(images:checkbox-checked-disabled.png);
86
- }
87
- QMenu::indicator:unchecked, QCheckBox::indicator:unchecked {
88
- image: url(images:checkbox-unchecked.png);
89
- }
90
- QMenu::indicator:unchecked:hover, QCheckBox::indicator:unchecked:hover {
91
- image: url(images:checkbox-unchecked-hover.png);
92
- }
93
- QMenu::indicator:unchecked:disabled, QCheckBox::indicator:unchecked:disabled {
94
- image: url(images:checkbox-unchecked-disabled.png);
95
- }
96
- QCheckBox::item {
97
- padding: 2px 250px 2px 20px;
98
- border: 1px solid transparent;
99
- }
100
- QTabBar::tab {
101
- min-height: 30px;
102
- padding: 1px 1px 0.2em 0.2em;
103
- color: #dddddd;
104
- margin: 2px;
105
- margin-bottom: 0px;
106
- border: 1px solid #282830;
107
- border-top-left-radius: 5px;
108
- border-top-right-radius: 5px;
109
- }
110
- QTabBar::tab:selected, QTabBar::tab:hover {
111
- background-color: #5f7850;
112
- margin-bottom:-1px;
113
- }
114
- QTabBar {
115
- border-bottom: 1px solid #282830;
116
- }
117
- QTabBar::tab:top:last, QTabBar::tab:bottom:last {
118
- margin-right: 0;
119
- }
120
- QTabBar::tab:top:first, QTabBar::tab:bottom:first {
121
- margin-left: 0;
122
- }
123
- """
124
- else:
125
- gui_style = """
126
- QWidget {
127
- font: 12pt;
128
- background: #4b4e51;
129
- color: #b5bab9;
130
- }
131
- QPushButton, QComboBox {
132
- min-height: 30px;
133
- padding: 1px 1px 0.2em 0.2em;
134
- border: 1px solid #282830;
135
- border-radius: 5px;
136
- color: #dddddd;
137
- }
138
- QPushButton:pressed {
139
- border: 2px solid #282830;
140
- }
141
- QPushButton.info {
142
- background-color: #4e6749;
143
- }
144
- QPushButton.info:hover {
145
- background-color: #5f7850;
146
- }
147
- QPushButton.modify {
148
- background-color: #98763f;
149
- }
150
- QPushButton.modify:hover {
151
- background-color: #a9874f;
152
- }
153
- QPushButton.removal {
154
- background-color: #692e2e;
155
- }
156
- QPushButton.removal:hover {
157
- background-color: #7a3f3f;
158
- }
159
- QPushButton.save {
160
- background-color: #564967;
161
- }
162
- QPushButton.save:hover {
163
- background-color: #675a78;
164
- }
165
- QPushButton.quit {
166
- background-color: #4571a4;
167
- }
168
- QPushButton.quit:hover {
169
- background-color: #5682b5;
170
- }
171
- QPushButton::disabled {
172
- background-color: gray;
173
- }
174
- QToolTip {
175
- color: black
176
- }
177
- QLabel.dropped_fmu {
178
- background-color: #b5bab9
179
- }
180
- QLabel.title {
181
- font: 14pt bold "Verdana";
182
- }
183
- QLabel.dropped_fmu:hover {
184
- background-color: #c6cbca
185
- }
186
- QTextBrowser, QTreeView {
187
- font: 14pt "Courier New";
188
- background-color: #282830;
189
- color: #b5bab9;
190
- }
191
- QMenu::item {
192
- padding: 2px 250px 2px 20px;
193
- border: 1px solid transparent;
194
- }
195
- QMenu::item::indicator, QCheckBox::item::indicator {
196
- width: 32px;
197
- height: 32px;
198
- }
199
- QMenu::indicator:checked, QCheckBox::indicator:checked {
200
- image: url(images:checkbox-checked.png);
201
- }
202
- QMenu::indicator:checked:hover, QCheckBox::indicator:checked:hover {
203
- image: url(images:checkbox-checked-hover.png);
204
- }
205
- QMenu::indicator:checked:disabled, QCheckBox::indicator:checked:disabled {
206
- image: url(images:checkbox-checked-disabled.png);
207
- }
208
- QMenu::indicator:unchecked, QCheckBox::indicator:unchecked {
209
- image: url(images:checkbox-unchecked.png);
210
- }
211
- QMenu::indicator:unchecked:hover, QCheckBox::indicator:unchecked:hover {
212
- image: url(images:checkbox-unchecked-hover.png);
213
- }
214
- QMenu::indicator:unchecked:disabled, QCheckBox::indicator:unchecked:disabled {
215
- image: url(images:checkbox-unchecked-disabled.png);
216
- }
217
- QCheckBox::item {
218
- padding: 2px 250px 2px 20px;
219
- border: 1px solid transparent;
220
- }
221
- QTabBar::tab {
222
- min-height: 30px;
223
- padding: 1px 1px 0.2em 0.2em;
224
- color: #dddddd;
225
- margin: 2px;
226
- margin-bottom: 0px;
227
- border: 1px solid #282830;
228
- border-top-left-radius: 5px;
229
- border-top-right-radius: 5px;
230
- }
231
- QTabBar::tab:selected, QTabBar::tab:hover {
232
- background-color: #5f7850;
233
- margin-bottom:-1px;
234
- }
235
- QTabBar {
236
- border-bottom: 1px solid #282830;
237
- }
238
- QTabBar::tab:top:last, QTabBar::tab:bottom:last {
239
- margin-right: 0;
240
- }
241
- QTabBar::tab:top:first, QTabBar::tab:bottom:first {
242
- margin-left: 0;
243
- }
244
- """
245
-
246
- log_color = {
247
- "DEBUG": "#6E6B6B",
248
- "INFO": "#b5bab9",
249
- "WARNING": "#F7C61B",
250
- "ERROR": "#F54927",
251
- "CRITICAL": "#FF00FF",
252
- }
@@ -1,30 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: fmu_manipulation_toolbox
3
- Version: 1.9.1.3
4
- Summary: FMU Manipulation Toolbox is a python application for modifying Functional Mock-up Units (FMUs) without recompilation or bundling them into FMU Containers
5
- Home-page: https://github.com/grouperenault/fmu_manipulation_toolbox/
6
- Author: Nicolas.LAURENT@Renault.com
7
- License: BSD-2-Clause
8
- Requires-Python: >=3.8
9
- License-File: LICENSE.txt
10
- Requires-Dist: PySide6>=6.8.0
11
- Requires-Dist: xmlschema>=3.3.1
12
- Requires-Dist: elementpath>=4.4.0
13
- Requires-Dist: colorama>=0.4.6
14
- Dynamic: author
15
- Dynamic: description
16
- Dynamic: home-page
17
- Dynamic: license
18
- Dynamic: license-file
19
- Dynamic: requires-dist
20
- Dynamic: requires-python
21
- Dynamic: summary
22
-
23
- FMU Manipulation Toolbox is a python application for modifying Functional Mock-up Units (FMUs)
24
- without recompilation. It mainly modifies the `modelDescription.xml` file. It is highly customizable.
25
-
26
- Manipulating the `modelDescription.xml` can be a dangerous thing! Communicating with the FMU-developer and adapting
27
- the way the FMU is generated, is the preferable when possible.
28
-
29
- FMU Manipulation Toolbox also allows to group FMU's inside FMU Containers.
30
-