pytecplot 1.6.2__py3-none-any.whl → 1.6.3__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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pytecplot
3
- Version: 1.6.2
3
+ Version: 1.6.3
4
4
  Summary: A Python interface to Tecplot 360
5
5
  Author-email: "Tecplot, Inc." <support@tecplot.com>
6
6
  Project-URL: homepage, https://www.tecplot.com/docs/pytecplot
@@ -33,31 +33,31 @@ Classifier: Programming Language :: Python :: 3.11
33
33
  Requires-Python: >=3.8
34
34
  Description-Content-Type: text/x-rst
35
35
  License-File: LICENSE.html
36
- Requires-Dist: protobuf >=3.20.0
36
+ Requires-Dist: protobuf>=3.20.0
37
37
  Requires-Dist: pyzmq
38
- Provides-Extra: all
39
- Requires-Dist: ipython ; extra == 'all'
40
- Requires-Dist: numpy ; extra == 'all'
41
- Requires-Dist: pillow ; extra == 'all'
42
- Requires-Dist: sphinx ; extra == 'all'
43
- Requires-Dist: pyyaml ; extra == 'all'
44
- Requires-Dist: coverage ; extra == 'all'
45
- Requires-Dist: scipy ; extra == 'all'
46
- Requires-Dist: tox ; extra == 'all'
47
- Provides-Extra: doc
48
- Requires-Dist: sphinx ; extra == 'doc'
49
- Requires-Dist: pyyaml ; extra == 'doc'
50
38
  Provides-Extra: extras
51
- Requires-Dist: ipython ; extra == 'extras'
52
- Requires-Dist: numpy ; extra == 'extras'
53
- Requires-Dist: pillow ; extra == 'extras'
39
+ Requires-Dist: ipython; extra == "extras"
40
+ Requires-Dist: numpy; extra == "extras"
41
+ Requires-Dist: pillow; extra == "extras"
42
+ Provides-Extra: doc
43
+ Requires-Dist: sphinx; extra == "doc"
44
+ Requires-Dist: pyyaml; extra == "doc"
54
45
  Provides-Extra: test
55
- Requires-Dist: ipython ; extra == 'test'
56
- Requires-Dist: numpy ; extra == 'test'
57
- Requires-Dist: pillow ; extra == 'test'
58
- Requires-Dist: coverage ; extra == 'test'
59
- Requires-Dist: scipy ; extra == 'test'
60
- Requires-Dist: tox ; extra == 'test'
46
+ Requires-Dist: ipython; extra == "test"
47
+ Requires-Dist: numpy; extra == "test"
48
+ Requires-Dist: pillow; extra == "test"
49
+ Requires-Dist: coverage; extra == "test"
50
+ Requires-Dist: scipy; extra == "test"
51
+ Requires-Dist: tox; extra == "test"
52
+ Provides-Extra: all
53
+ Requires-Dist: ipython; extra == "all"
54
+ Requires-Dist: numpy; extra == "all"
55
+ Requires-Dist: pillow; extra == "all"
56
+ Requires-Dist: sphinx; extra == "all"
57
+ Requires-Dist: pyyaml; extra == "all"
58
+ Requires-Dist: coverage; extra == "all"
59
+ Requires-Dist: scipy; extra == "all"
60
+ Requires-Dist: tox; extra == "all"
61
61
 
62
62
  PyTecplot
63
63
  =========
@@ -106,6 +106,14 @@ For more information, see |Tecplot 360s release notes|.
106
106
 
107
107
  .. |Tecplot 360s release notes| replace:: `Tecplot 360's release notes <https://tecplot.com/products/tecplot-360/new-in-tecplot-360>`__
108
108
 
109
+ PyTecplot 1.6.3
110
+ ^^^^^^^^^^^^^^^
111
+
112
+ Released with Tecplot 360 2024 R1 M1
113
+
114
+ * Current FEA loader version updated to v131842.
115
+ * Clarified error messages for a few rare issues during initialization.
116
+
109
117
  PyTecplot 1.6.2
110
118
  ^^^^^^^^^^^^^^^
111
119
 
@@ -1,8 +1,8 @@
1
1
  tecplot/__init__.py,sha256=iHAPbGDgIh7HtLWaWcDYfVS4TOsNrRSHyQa-H_6Li3g,3550
2
- tecplot/constant.py,sha256=a-hty3FoPqCfQn2UJQDANQwGg0G1ThNWuETWLETsA2M,8503
2
+ tecplot/constant.py,sha256=_Ws6ldiZAkkOJjGWM9PEAMR0mHZ49qcYjJVpK51E99o,8531
3
3
  tecplot/exception.py,sha256=YB4zeL0-07yCy4pyUqeFdNQ98nK11h2n3ZHHe58Od6s,6493
4
4
  tecplot/macro.py,sha256=uE29ftjdr2HdlFVa9SS-1uBU8Di4W3PwquhI75LnvhM,13307
5
- tecplot/version.py,sha256=R8w3ZSfvCelfBX4UG3F37sJ-k2kDcKJm9DCome_0f1s,1544
5
+ tecplot/version.py,sha256=BmBl2yynwg4M3ZHmogSlWcZA1-EBIRi2vB_eRajat68,1544
6
6
  tecplot/annotation/__init__.py,sha256=FfL8JhlO6T9NTajVRtgXHp6A6PhjpO51gnVKlHMkzWA,333
7
7
  tecplot/annotation/annotation.py,sha256=B7G-BkrQ4lYBpak9RR3u7Pvdci5MGLUvNo_MnJidyY4,8481
8
8
  tecplot/annotation/geometry.py,sha256=3jnp_Ut1AQdhSUCMAJ1yFuL_epoGUoTny03cv0kl09k,12516
@@ -85,15 +85,15 @@ tecplot/tecutil/stringlist.py,sha256=GMuwiP0scuyLxEUbcJFIz4DU9TLAhNdjGHDWawGGT-o
85
85
  tecplot/tecutil/sv.py,sha256=8EUln_hn7c2FZ3QMiK9zWMSxAQdhbKmKlTLvU-9lZ-4,54100
86
86
  tecplot/tecutil/tecutil.py,sha256=Zmz8LvQ3l25QAbIZgMjZQQHgnA-r6lgYu5n-lYwNMeo,691565
87
87
  tecplot/tecutil/tecutil_client.py,sha256=pQKqImoPQRM5K_TdyHCGHwZQr0OycIeIAjRfp5l3L7o,23671
88
- tecplot/tecutil/tecutil_connector.py,sha256=Eh94ePUw5Reza6nwzILqVlQVWvhBfPoYK24ZsjBpHuQ,36978
88
+ tecplot/tecutil/tecutil_connector.py,sha256=jYUye5JoB9643FzO7UWJD72SgLOZLCimrbzT7Jm2h4k,37242
89
89
  tecplot/tecutil/tecutil_rpc.py,sha256=sHX6JjNXQcVjSNasH9auydbfyZoJMF56lJF0j6TxQMM,285726
90
90
  tecplot/tecutil/util.py,sha256=C8nNB3gFK6XY6l9Ue18zcPZXFrX5JJ9vO-kcA9R53U8,12038
91
91
  tecplot/text/__init__.py,sha256=hXk-XwewRyS-yxif3Wx5FS1wO5Uh6WQpRgtUiUfjNo0,112
92
92
  tecplot/text/font.py,sha256=tHMT2NGJC8rLCVCUdmxK0YN_f4hZpTevWIofwjAp7cs,6722
93
93
  tecplot/text/label_format.py,sha256=24MOvWtVZ_SKdcU16i5yEfxC-hBipmNOLQwJ_kzDr3k,12328
94
94
  tecplot/text/textbox.py,sha256=nwr0ReRC56MY5gB7Ie6UdDxrd_Os_ZI1_3n4bmOzalU,2882
95
- pytecplot-1.6.2.dist-info/LICENSE.html,sha256=SB6NHYAw2pnpGIjyaVCyuarotJKB1OQlgIiYq-09FiM,27908
96
- pytecplot-1.6.2.dist-info/METADATA,sha256=boJulMdjDDVCCbDB_LvQTEwK7SQWXG42Wq9GFA7yKLc,21576
97
- pytecplot-1.6.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
98
- pytecplot-1.6.2.dist-info/top_level.txt,sha256=gU7HYnAb3AVBIKRUOASdYO0QRI6hg1raLt8aN5E4o7s,8
99
- pytecplot-1.6.2.dist-info/RECORD,,
95
+ pytecplot-1.6.3.dist-info/LICENSE.html,sha256=SB6NHYAw2pnpGIjyaVCyuarotJKB1OQlgIiYq-09FiM,27908
96
+ pytecplot-1.6.3.dist-info/METADATA,sha256=W4It_B4OttOq3ha-QuF4RM6dME37rMWhxmPQBnDsqUw,21749
97
+ pytecplot-1.6.3.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
98
+ pytecplot-1.6.3.dist-info/top_level.txt,sha256=gU7HYnAb3AVBIKRUOASdYO0QRI6hg1raLt8aN5E4o7s,8
99
+ pytecplot-1.6.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
tecplot/constant.py CHANGED
@@ -351,7 +351,8 @@ class FEALoader:
351
351
  v452 = '452'
352
352
  v461 = '461'
353
353
  v66051 = '66051'
354
- Current = v66051
354
+ v131842 = '131842'
355
+ Current = v131842
355
356
 
356
357
 
357
358
  class FluentCFFLoader:
@@ -623,11 +623,6 @@ class TecUtilConnector(object):
623
623
  'installation may be out of date.'
624
624
  raise TecplotInitializationError(msg)
625
625
 
626
- if self.update_last_message():
627
- self.log_last_message()
628
- if self.last_message.level >= log.getEffectiveLevel():
629
- raise TecplotInitializationError(self.last_message.message)
630
-
631
626
  # Many error codes are license related, but not all of the them.
632
627
  # We don't want to imply that there was a license error if the problem
633
628
  # is not license related. For example, if batch.log is not writable,
@@ -637,15 +632,23 @@ class TecUtilConnector(object):
637
632
  # Therefore, we are careful to throw a license error only
638
633
  # if the error code is license related, and
639
634
  # otherwise throw a TecplotSystemError.
640
- if result != ManagerStartReturnCode.Ok:
641
- errmsg = result.to_string(self)
642
- if result in [ManagerStartReturnCode.LicenseExpired,
643
- ManagerStartReturnCode.LicenseIsInvalid,
644
- ManagerStartReturnCode.LicenseFileNotFound,
645
- ManagerStartReturnCode.LicenseFileContainsPermanent]:
646
- raise TecplotLicenseError(errmsg)
647
- elif result != ManagerStartReturnCode.Ok:
648
- raise TecplotSystemError(errmsg)
635
+ if result == ManagerStartReturnCode.Ok:
636
+ if self.update_last_message():
637
+ self.log_last_message()
638
+ if self.last_message.level >= logging.ERROR:
639
+ raise TecplotInitializationError(self.last_message.message)
640
+ elif result in [ManagerStartReturnCode.LicenseExpired,
641
+ ManagerStartReturnCode.LicenseIsInvalid,
642
+ ManagerStartReturnCode.LicenseFileNotFound,
643
+ ManagerStartReturnCode.LicenseFileContainsPermanent]:
644
+ raise TecplotLicenseError(result.to_string(self))
645
+ elif result in [ManagerStartReturnCode.InternalInitializationError,
646
+ ManagerStartReturnCode.EngineUninitialized]:
647
+ msg = 'Error initializing Tecplot engine. Your Tecplot 360 ' + \
648
+ 'installation may be out of date.'
649
+ raise TecplotInitializationError(msg)
650
+ else:
651
+ raise TecplotSystemError(result.to_string(self))
649
652
 
650
653
  log.info('Tecplot engine started - license acquired')
651
654
  info = self.handle.LicenseInfo().decode()
tecplot/version.py CHANGED
@@ -33,8 +33,8 @@ from .tecutil import _tecutil_connector
33
33
 
34
34
  Version = collections.namedtuple('V', ['major', 'minor', 'patch', 'build'])
35
35
 
36
- version = '1.6.2'
37
- build = 'd8ad3e0'
36
+ version = '1.6.3'
37
+ build = 'f1ee370'
38
38
  version_info = Version(*[int(x) for x in version.split('.')], build=build or 0)
39
39
 
40
40
  sdk_version_info = _tecutil_connector.sdk_version_info