fmu-manipulation-toolbox 1.9.1__py3-none-any.whl → 1.9.1.1rc1__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.
@@ -1 +1 @@
1
- 'V1.9.1'
1
+ 'V1.9.1.1rc1'
@@ -2,7 +2,6 @@ import argparse
2
2
  import logging
3
3
  import sys
4
4
 
5
- from typing import *
6
5
  from pathlib import Path
7
6
 
8
7
  from .utils import setup_logger, make_wide
@@ -11,7 +10,7 @@ from ..container import FMUContainerError
11
10
  from ..version import __version__ as version
12
11
 
13
12
 
14
- def fmucontainer(command_options: Sequence[str]):
13
+ def fmucontainer():
15
14
  logger = setup_logger()
16
15
 
17
16
  logger.info(f"FMUContainer version {version}")
@@ -68,7 +67,7 @@ def fmucontainer(command_options: Sequence[str]):
68
67
  parser.add_argument("-vr", action="store_true", dest="ts_multiplier", default=False,
69
68
  help="Add TS_MULTIPLIER input port to control step_size")
70
69
 
71
- config = parser.parse_args(command_options)
70
+ config = parser.parse_args(sys.argv[1:])
72
71
 
73
72
  if config.debug:
74
73
  logger.setLevel(logging.DEBUG)
@@ -105,4 +104,4 @@ def fmucontainer(command_options: Sequence[str]):
105
104
  sys.exit(-3)
106
105
 
107
106
  if __name__ == "__main__":
108
- fmucontainer(sys.argv[1:])
107
+ fmucontainer()
@@ -2,14 +2,13 @@ import argparse
2
2
  import logging
3
3
  import sys
4
4
 
5
- from typing import *
6
5
 
7
6
  from .utils import setup_logger, make_wide
8
7
  from ..split import FMUSplitter, FMUSplitterError
9
8
  from ..version import __version__ as version
10
9
 
11
10
 
12
- def fmusplit(command_options: Sequence[str]):
11
+ def fmusplit():
13
12
  logger = setup_logger()
14
13
 
15
14
  logger.info(f"FMUSplit version {version}")
@@ -27,7 +26,7 @@ def fmusplit(command_options: Sequence[str]):
27
26
  metavar="filename.fmu", required=True,
28
27
  help="Description of the FMU container to split.")
29
28
 
30
- config = parser.parse_args(command_options)
29
+ config = parser.parse_args(sys.argv[1:])
31
30
 
32
31
  if config.debug:
33
32
  logger.setLevel(logging.DEBUG)
@@ -45,4 +44,4 @@ def fmusplit(command_options: Sequence[str]):
45
44
 
46
45
 
47
46
  if __name__ == "__main__":
48
- fmusplit(sys.argv[1:])
47
+ fmusplit()
@@ -14,7 +14,7 @@ from ..version import __version__ as version
14
14
  from ..help import Help
15
15
 
16
16
 
17
- def fmutool(command_options: Sequence[str]):
17
+ def fmutool():
18
18
  logger = setup_logger()
19
19
 
20
20
  logger.info(f"FMU Manipulation Toolbox version {version}")
@@ -71,7 +71,7 @@ def fmutool(command_options: Sequence[str]):
71
71
  add_option('-summary', action='append_const', dest='operations_list', const=OperationSummary())
72
72
  add_option('-check', action='append_const', dest='operations_list', const=[checker() for checker in get_checkers()])
73
73
 
74
- cli_options = parser.parse_args(command_options)
74
+ cli_options = parser.parse_args(sys.argv[1:])
75
75
  # handle the "no operation" use case
76
76
  if not cli_options.operations_list:
77
77
  cli_options.operations_list = []
@@ -124,4 +124,4 @@ def fmutool(command_options: Sequence[str]):
124
124
  logger.info(f"INFO Modified FMU is not saved. If necessary use '-output' option.")
125
125
 
126
126
  if __name__ == "__main__":
127
- fmutool(sys.argv[1:])
127
+ fmutool()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fmu_manipulation_toolbox
3
- Version: 1.9.1
3
+ Version: 1.9.1.1rc1
4
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
5
  Home-page: https://github.com/grouperenault/fmu_manipulation_toolbox/
6
6
  Author: Nicolas.LAURENT@Renault.com
@@ -1,6 +1,6 @@
1
1
  fmu_manipulation_toolbox/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  fmu_manipulation_toolbox/__main__.py,sha256=Ixgo_5YS_khXseMujNPsVzaerkHPugLPYPV7FIi5umo,364
3
- fmu_manipulation_toolbox/__version__.py,sha256=F1YnOtakt3tZZDQQNxPG2WjLDNM0C_-tnWfumOBOxOI,9
3
+ fmu_manipulation_toolbox/__version__.py,sha256=djWMUd1nhb8QK93NaIAMTyojxqMDeIJPiSAHUooR7Lg,14
4
4
  fmu_manipulation_toolbox/assembly.py,sha256=-i9iQLKiPyjdFZyxHmB1FgL3NYmRPfTWVs9lf3fC5sE,27022
5
5
  fmu_manipulation_toolbox/checker.py,sha256=RmIYd6s4p2S9wdv-uSILfVm__QTZSUJCiq6hr_G5rxA,3119
6
6
  fmu_manipulation_toolbox/container.py,sha256=dUjgOlTjzIOYDrc9vuxdL5g8WYxmDzhIzP0W8X_QcIE,46894
@@ -12,9 +12,9 @@ fmu_manipulation_toolbox/remoting.py,sha256=N25MDFkIcEWe9CIT1M4L9kea3j-8E7i2I1VO
12
12
  fmu_manipulation_toolbox/split.py,sha256=yFaW6yhvFjOXpRynWzitR7o7uSrxb-RxeFzmQNxUFHI,14147
13
13
  fmu_manipulation_toolbox/version.py,sha256=OhBLkZ1-nhC77kyvffPNAf6m8OZe1bYTnNf_PWs1NvM,392
14
14
  fmu_manipulation_toolbox/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- fmu_manipulation_toolbox/cli/fmucontainer.py,sha256=C-gJvPcz_0YNqbLatgDHC1PC5WjcW8SslfpZCS5k9qs,5047
16
- fmu_manipulation_toolbox/cli/fmusplit.py,sha256=VMDYjmvIsjPHJINZaOt1Zy8D0so6d99285LbS8v-Tro,1734
17
- fmu_manipulation_toolbox/cli/fmutool.py,sha256=TEDZxRVfFT_HHfXsslE6U4E5mhEMmxvbHJjCQX4WI2c,6088
15
+ fmu_manipulation_toolbox/cli/fmucontainer.py,sha256=oYidLBvXyDApsY7JVGlCL5g35yc1F9Gr8tFjYY7077s,4981
16
+ fmu_manipulation_toolbox/cli/fmusplit.py,sha256=EDRrj6aHVnyaj3W_4_DUxo84AyZxnRyNGXIad35eWFo,1668
17
+ fmu_manipulation_toolbox/cli/fmutool.py,sha256=KUqhUO3NvRdzgY55aoPg7yF3_3sE1GANR6dx-XQAU1M,6043
18
18
  fmu_manipulation_toolbox/cli/utils.py,sha256=gNhdlFYSSNSb0fovzS0crnxgmqqKXe0KtoZZFhRKhfg,1375
19
19
  fmu_manipulation_toolbox/resources/checkbox-checked-disabled.png,sha256=FWIuyrXlaNLLePHfXj7j9ca5rT8Hgr14KCe1EqTCZyk,2288
20
20
  fmu_manipulation_toolbox/resources/checkbox-checked-hover.png,sha256=KNlV-d_aJNTTvUVXKGT9DBY30sIs2LwocLJrFKNKv8k,2419
@@ -33,7 +33,7 @@ fmu_manipulation_toolbox/resources/icon_fmu.png,sha256=EuygB2xcoM2WAfKKdyKG_UvTL
33
33
  fmu_manipulation_toolbox/resources/license.txt,sha256=5ODuU8g8pIkK-NMWXu_rjZ6k7gM7b-N2rmg87-2Kmqw,1583
34
34
  fmu_manipulation_toolbox/resources/mask.png,sha256=px1U4hQGL0AmZ4BQPknOVREpMpTSejbah3ntkpqAzFA,3008
35
35
  fmu_manipulation_toolbox/resources/model.png,sha256=EAf_HnZJe8zYGZygerG1MMt2U-tMMZlifzXPj4_iORA,208788
36
- fmu_manipulation_toolbox/resources/darwin64/container.dylib,sha256=zpruIma2DMFAwn14kIbG3IxiLkfC8PDG89OjFaXMY_Y,161560
36
+ fmu_manipulation_toolbox/resources/darwin64/container.dylib,sha256=3qTKX1_dNs6Fu2mKgNkXD-AJABdGL3HdE2bsAxMT-L4,161560
37
37
  fmu_manipulation_toolbox/resources/fmi-2.0/fmi2Annotation.xsd,sha256=OGfyJtaJntKypX5KDpuZ-nV1oYLZ6HV16pkpKOmYox4,2731
38
38
  fmu_manipulation_toolbox/resources/fmi-2.0/fmi2AttributeGroups.xsd,sha256=HwyV7LBse-PQSv4z1xjmtzPU3Hjnv4mluq9YdSBNHMQ,3704
39
39
  fmu_manipulation_toolbox/resources/fmi-2.0/fmi2ModelDescription.xsd,sha256=JM4j_9q-pc40XYHb28jfT3iV3aYM5JLqD5aRjO72K1E,18939
@@ -53,19 +53,19 @@ fmu_manipulation_toolbox/resources/fmi-3.0/fmi3Type.xsd,sha256=TaHRoUBIFtmdEwBKB
53
53
  fmu_manipulation_toolbox/resources/fmi-3.0/fmi3Unit.xsd,sha256=CK_F2t5LfyQ6eSNJ8soTFMVK9DU8vD2WiMi2MQvjB0g,3746
54
54
  fmu_manipulation_toolbox/resources/fmi-3.0/fmi3Variable.xsd,sha256=3YU-3q1-c-namz7sMe5cxnmOVOJsRSmfWR02PKv3xaU,19171
55
55
  fmu_manipulation_toolbox/resources/fmi-3.0/fmi3VariableDependency.xsd,sha256=YQSBwXt4IsDlyegY8bX-qQHGSfE5TipTPfo2g2yqq1c,3082
56
- fmu_manipulation_toolbox/resources/linux32/client_sm.so,sha256=TQa6UMAVKfdVLO6adH17cw_PeYX68AjWhREMygvsrMY,34756
56
+ fmu_manipulation_toolbox/resources/linux32/client_sm.so,sha256=0RIH95yylRTFHRwhKTgMEP64TIDJSkGxdxbTERmmyzI,34756
57
57
  fmu_manipulation_toolbox/resources/linux32/server_sm,sha256=gzKU0BTeaRkvhTMQtHHj3K8uYFyEdyGGn_mZy_jG9xo,21304
58
- fmu_manipulation_toolbox/resources/linux64/client_sm.so,sha256=zKqTUEgbroHc-NQj5WmS8-B1sZEBu3jJPvZRQJ9S9iA,32592
59
- fmu_manipulation_toolbox/resources/linux64/container.so,sha256=EeJdbmr-oQVTUPNtUQfnYtfracVtdoRueOuIII5WcBI,135520
58
+ fmu_manipulation_toolbox/resources/linux64/client_sm.so,sha256=mg7FSrV5sLsNp9lsKY-hQYYrjCGlYaoi5Q3LUrGRQp0,32592
59
+ fmu_manipulation_toolbox/resources/linux64/container.so,sha256=iWziinvVdNCZFCi1-BuA2qEt3xD15eLyuqetclGc0ys,135520
60
60
  fmu_manipulation_toolbox/resources/linux64/server_sm,sha256=MZn6vITN2qpBHYt_RaK2VnFFp00hk8fTALBHmXPtLwc,22608
61
- fmu_manipulation_toolbox/resources/win32/client_sm.dll,sha256=OZH0q8D8gr0JgMUTeb48z5y-CjmecqcA8EWukwmQjbM,17920
62
- fmu_manipulation_toolbox/resources/win32/server_sm.exe,sha256=cOk25w7HmJrQptetQvWTSFSODfCz0aVVniD_hNZwtYg,15360
63
- fmu_manipulation_toolbox/resources/win64/client_sm.dll,sha256=XUhJMOUGiF1Gzedf7sQu5UtucfQ7Hoy9N0lrsVbBNgQ,21504
64
- fmu_manipulation_toolbox/resources/win64/container.dll,sha256=FXoB8zGRc3qm7ydGaGq1ow-2-usbzDJQeGTJfCunLyI,98816
65
- fmu_manipulation_toolbox/resources/win64/server_sm.exe,sha256=xuTcp83QJ-0pctU8Q3D9YGhQCAkPCBgc_nHA3w42onw,18432
66
- fmu_manipulation_toolbox-1.9.1.dist-info/licenses/LICENSE.txt,sha256=c_862mzyk6ownO3Gt6cVs0-53IXLi_-ZEQFNDVabESw,1285
67
- fmu_manipulation_toolbox-1.9.1.dist-info/METADATA,sha256=t2dJhOk02gbTS2bcZp8mX0DdwpYiHOvdkb8V3Bt5fbA,1155
68
- fmu_manipulation_toolbox-1.9.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
69
- fmu_manipulation_toolbox-1.9.1.dist-info/entry_points.txt,sha256=HjOZkflbI1IuSY8BpOZre20m24M4GDQGCJfPIa7NrlY,264
70
- fmu_manipulation_toolbox-1.9.1.dist-info/top_level.txt,sha256=9D_h-5BMjSqf9z-XFkbJL_bMppR2XNYW3WNuPkXou0k,25
71
- fmu_manipulation_toolbox-1.9.1.dist-info/RECORD,,
61
+ fmu_manipulation_toolbox/resources/win32/client_sm.dll,sha256=Dl7Sm9eIr3mjME_MqP4_KfakkJoHu1Ntl1w-72Ey6F8,17920
62
+ fmu_manipulation_toolbox/resources/win32/server_sm.exe,sha256=AFvqpfePZxVGqK7ikLrWwkTd-3Rr1-zTZJuJj8eIA8w,15360
63
+ fmu_manipulation_toolbox/resources/win64/client_sm.dll,sha256=OMRPZkr-1_zzErvcT5vfqU9ER3Qqt_z9c5EQvivV9SA,21504
64
+ fmu_manipulation_toolbox/resources/win64/container.dll,sha256=CLFYCQ1ZF658zd41T-rMobBbVhjnHXGXXpJ1w6x4-0U,98816
65
+ fmu_manipulation_toolbox/resources/win64/server_sm.exe,sha256=kXykQDbjYfT0gnT94TgNWD3CObIopbSSj7DfwOmZpvI,18432
66
+ fmu_manipulation_toolbox-1.9.1.1rc1.dist-info/licenses/LICENSE.txt,sha256=c_862mzyk6ownO3Gt6cVs0-53IXLi_-ZEQFNDVabESw,1285
67
+ fmu_manipulation_toolbox-1.9.1.1rc1.dist-info/METADATA,sha256=cfdBIqB5X4o47YDJNRaG4-29qNxf_CJN6cfQUBBjB8o,1160
68
+ fmu_manipulation_toolbox-1.9.1.1rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
69
+ fmu_manipulation_toolbox-1.9.1.1rc1.dist-info/entry_points.txt,sha256=HjOZkflbI1IuSY8BpOZre20m24M4GDQGCJfPIa7NrlY,264
70
+ fmu_manipulation_toolbox-1.9.1.1rc1.dist-info/top_level.txt,sha256=9D_h-5BMjSqf9z-XFkbJL_bMppR2XNYW3WNuPkXou0k,25
71
+ fmu_manipulation_toolbox-1.9.1.1rc1.dist-info/RECORD,,