tecio-python 0.4.0__tar.gz → 0.4.2__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.
- {tecio_python-0.4.0/tecio_python.egg-info → tecio_python-0.4.2}/PKG-INFO +33 -17
- {tecio_python-0.4.0 → tecio_python-0.4.2}/README.md +8 -8
- {tecio_python-0.4.0 → tecio_python-0.4.2}/plugins/matlab/tecmat2struct.m +18 -18
- {tecio_python-0.4.0 → tecio_python-0.4.2}/plugins/paraview/TecplotTecioReader.py +463 -38
- {tecio_python-0.4.0 → tecio_python-0.4.2}/plugins/paraview/TecplotTecioWriter.py +459 -84
- {tecio_python-0.4.0 → tecio_python-0.4.2}/pyproject.toml +32 -14
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/__init__.py +46 -2
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/_dat_read.py +268 -17
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/_dat_write.py +347 -10
- tecio_python-0.4.2/tecio/_elements.py +1311 -0
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/_io.py +108 -31
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/_meta.py +47 -20
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/_plt_legacy.py +9 -1
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/_plt_read.py +285 -89
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/_plt_write.py +286 -9
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/_reader.py +460 -19
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/_szl_read.py +155 -17
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/_szl_write.py +322 -11
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/_utils.py +78 -15
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/_writer.py +963 -102
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/cli/tec2mat.py +69 -30
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/cli/tecaux.py +24 -30
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/cli/tecdump.py +67 -5
- tecio_python-0.4.2/tecio/cli/tecelretyp.py +1096 -0
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/cli/tecextract.py +57 -14
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/cli/tecfix.py +32 -14
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/cli/tecmerge.py +289 -45
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/cli/teconvert.py +29 -16
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/cli/tecscale.py +40 -13
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/cli/tecslice.py +158 -69
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/cli/tecstats.py +6 -2
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/libtecio.py +192 -67
- {tecio_python-0.4.0 → tecio_python-0.4.2/tecio_python.egg-info}/PKG-INFO +33 -17
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio_python.egg-info/SOURCES.txt +3 -0
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio_python.egg-info/entry_points.txt +1 -0
- tecio_python-0.4.2/tecio_python.egg-info/requires.txt +35 -0
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tests/test_cli.py +1004 -9
- tecio_python-0.4.2/tests/test_elements.py +1971 -0
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tests/test_io.py +12 -65
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tests/test_libtecio.py +55 -29
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tests/test_read.py +338 -6
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tests/test_read_legacy.py +56 -10
- tecio_python-0.4.2/tests/test_write.py +3445 -0
- tecio_python-0.4.0/tecio_python.egg-info/requires.txt +0 -18
- tecio_python-0.4.0/tests/test_write.py +0 -1645
- {tecio_python-0.4.0 → tecio_python-0.4.2}/LICENSE +0 -0
- {tecio_python-0.4.0 → tecio_python-0.4.2}/NOTICE +0 -0
- {tecio_python-0.4.0 → tecio_python-0.4.2}/plugins/matlab/contourfe.m +0 -0
- {tecio_python-0.4.0 → tecio_python-0.4.2}/setup.cfg +0 -0
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/_constants.py +2 -2
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/_containers.py +0 -0
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio/cli/__init__.py +0 -0
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio_python.egg-info/dependency_links.txt +0 -0
- {tecio_python-0.4.0 → tecio_python-0.4.2}/tecio_python.egg-info/top_level.txt +0 -0
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tecio-python
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.2
|
|
4
4
|
Summary: Python interface for reading and writing Tecplot data files
|
|
5
|
-
|
|
6
|
-
Project-URL:
|
|
7
|
-
Project-URL:
|
|
8
|
-
Project-URL:
|
|
9
|
-
Project-URL:
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
Project-URL: Homepage, https://github.com/meersman/tecio-python
|
|
7
|
+
Project-URL: Documentation, https://meersman.github.io/tecio-python/
|
|
8
|
+
Project-URL: Repository, https://github.com/meersman/tecio-python
|
|
9
|
+
Project-URL: Issues, https://github.com/meersman/tecio-python/issues
|
|
10
|
+
Project-URL: Changelog, https://github.com/meersman/tecio-python/blob/main/docs/changelog.md
|
|
10
11
|
Keywords: tecplot,tecio,cfd,data,visualization,szplt,plt
|
|
11
12
|
Classifier: Development Status :: 3 - Alpha
|
|
12
13
|
Classifier: Intended Audience :: Science/Research
|
|
@@ -19,7 +20,6 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
19
20
|
Classifier: Programming Language :: Python :: 3.12
|
|
20
21
|
Classifier: Programming Language :: Python :: 3.13
|
|
21
22
|
Classifier: Typing :: Typed
|
|
22
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
23
23
|
Classifier: Operating System :: OS Independent
|
|
24
24
|
Requires-Python: >=3.11
|
|
25
25
|
Description-Content-Type: text/markdown
|
|
@@ -29,25 +29,41 @@ Requires-Dist: numpy
|
|
|
29
29
|
Provides-Extra: dev
|
|
30
30
|
Requires-Dist: build; extra == "dev"
|
|
31
31
|
Requires-Dist: twine; extra == "dev"
|
|
32
|
-
Requires-Dist: ruff; extra == "dev"
|
|
33
|
-
Requires-Dist: ty; extra == "dev"
|
|
32
|
+
Requires-Dist: ruff>=0.17.3; extra == "dev"
|
|
33
|
+
Requires-Dist: ty>=0.0.95; extra == "dev"
|
|
34
34
|
Requires-Dist: pytest; extra == "dev"
|
|
35
35
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
36
36
|
Provides-Extra: docs
|
|
37
37
|
Requires-Dist: sphinx>=7.0; extra == "docs"
|
|
38
38
|
Requires-Dist: sphinx-book-theme>=1.1; extra == "docs"
|
|
39
39
|
Requires-Dist: sphinx-autodoc-typehints>=2.0; extra == "docs"
|
|
40
|
+
Requires-Dist: sphinx-copybutton>=0.5.2; extra == "docs"
|
|
41
|
+
Requires-Dist: sphinxcontrib-matlabdomain>=0.22; extra == "docs"
|
|
40
42
|
Requires-Dist: myst-parser>=3.0; extra == "docs"
|
|
41
43
|
Provides-Extra: mat
|
|
42
44
|
Requires-Dist: scipy; extra == "mat"
|
|
45
|
+
Provides-Extra: all
|
|
46
|
+
Requires-Dist: build; extra == "all"
|
|
47
|
+
Requires-Dist: twine; extra == "all"
|
|
48
|
+
Requires-Dist: ruff; extra == "all"
|
|
49
|
+
Requires-Dist: ty; extra == "all"
|
|
50
|
+
Requires-Dist: pytest; extra == "all"
|
|
51
|
+
Requires-Dist: pytest-cov; extra == "all"
|
|
52
|
+
Requires-Dist: sphinx>=7.0; extra == "all"
|
|
53
|
+
Requires-Dist: sphinx-book-theme>=1.1; extra == "all"
|
|
54
|
+
Requires-Dist: sphinx-autodoc-typehints>=2.0; extra == "all"
|
|
55
|
+
Requires-Dist: sphinx-copybutton>=0.5.2; extra == "all"
|
|
56
|
+
Requires-Dist: sphinxcontrib-matlabdomain>=0.22; extra == "all"
|
|
57
|
+
Requires-Dist: myst-parser>=3.0; extra == "all"
|
|
58
|
+
Requires-Dist: scipy; extra == "all"
|
|
43
59
|
Dynamic: license-file
|
|
44
60
|
|
|
45
61
|
# tecio
|
|
46
62
|
|
|
47
63
|
[](LICENSE)
|
|
48
|
-
[](https://github.com/meersman/tecio/actions/workflows/ci.yml)
|
|
49
|
-
[](https://codecov.io/gh/meersman/tecio)
|
|
50
|
-
[](https://meersman.github.io/tecio)
|
|
64
|
+
[](https://github.com/meersman/tecio/actions/workflows/ci.yml)
|
|
65
|
+
[](https://codecov.io/gh/meersman/tecio-python)
|
|
66
|
+
[](https://meersman.github.io/tecio-python)
|
|
51
67
|
[](https://pypi.org/project/tecio-python)
|
|
52
68
|
[](https://pypi.org/project/tecio-python)
|
|
53
69
|
|
|
@@ -139,13 +155,13 @@ Contributions are welcome (see [CONTRIBUTING.md](CONTRIBUTING.md) for details).
|
|
|
139
155
|
|
|
140
156
|
- [Tecplot data format specification](https://tecplot.azureedge.net/products/360/current/360-data-format.html)
|
|
141
157
|
- [TecIO library](https://tecplot.com/products/tecio-library/)
|
|
142
|
-
- [Full documentation](https://meersman.github.io/tecio)
|
|
158
|
+
- [Full documentation](https://meersman.github.io/tecio-python)
|
|
143
159
|
|
|
144
160
|
---
|
|
145
161
|
|
|
146
162
|
## Disclaimer
|
|
147
163
|
|
|
148
|
-
This project is an independent open source library and is not affiliated
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
164
|
+
This project is an independent open source library and is not affiliated with,
|
|
165
|
+
endorsed by, or supported by Tecplot, Inc. in any way. Tecplot and TecIO are
|
|
166
|
+
trademarks of Tecplot, Inc. Use of the TecIO library requires separatly
|
|
167
|
+
aquiring the source code or compiled binaries from Tecplot, Inc.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# tecio
|
|
2
2
|
|
|
3
3
|
[](LICENSE)
|
|
4
|
-
[](https://github.com/meersman/tecio/actions/workflows/ci.yml)
|
|
5
|
-
[](https://codecov.io/gh/meersman/tecio)
|
|
6
|
-
[](https://meersman.github.io/tecio)
|
|
4
|
+
[](https://github.com/meersman/tecio/actions/workflows/ci.yml)
|
|
5
|
+
[](https://codecov.io/gh/meersman/tecio-python)
|
|
6
|
+
[](https://meersman.github.io/tecio-python)
|
|
7
7
|
[](https://pypi.org/project/tecio-python)
|
|
8
8
|
[](https://pypi.org/project/tecio-python)
|
|
9
9
|
|
|
@@ -95,13 +95,13 @@ Contributions are welcome (see [CONTRIBUTING.md](CONTRIBUTING.md) for details).
|
|
|
95
95
|
|
|
96
96
|
- [Tecplot data format specification](https://tecplot.azureedge.net/products/360/current/360-data-format.html)
|
|
97
97
|
- [TecIO library](https://tecplot.com/products/tecio-library/)
|
|
98
|
-
- [Full documentation](https://meersman.github.io/tecio)
|
|
98
|
+
- [Full documentation](https://meersman.github.io/tecio-python)
|
|
99
99
|
|
|
100
100
|
---
|
|
101
101
|
|
|
102
102
|
## Disclaimer
|
|
103
103
|
|
|
104
|
-
This project is an independent open source library and is not affiliated
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
104
|
+
This project is an independent open source library and is not affiliated with,
|
|
105
|
+
endorsed by, or supported by Tecplot, Inc. in any way. Tecplot and TecIO are
|
|
106
|
+
trademarks of Tecplot, Inc. Use of the TecIO library requires separatly
|
|
107
|
+
aquiring the source code or compiled binaries from Tecplot, Inc.
|
|
@@ -18,24 +18,24 @@ function zones = tecmat2struct(d)
|
|
|
18
18
|
% has fields info, zone_1, zone_2, ...
|
|
19
19
|
%
|
|
20
20
|
% Returns:
|
|
21
|
-
% zones: 1 x info.num_zones struct array
|
|
22
|
-
%
|
|
23
|
-
%
|
|
24
|
-
%
|
|
25
|
-
%
|
|
26
|
-
%
|
|
27
|
-
%
|
|
28
|
-
%
|
|
29
|
-
%
|
|
30
|
-
%
|
|
31
|
-
%
|
|
32
|
-
%
|
|
33
|
-
%
|
|
34
|
-
%
|
|
35
|
-
%
|
|
36
|
-
%
|
|
37
|
-
%
|
|
38
|
-
%
|
|
21
|
+
% zones: A 1 x info.num_zones struct array with identical fields in every
|
|
22
|
+
% element, so zones(i) and [zones.<varname>] both work. Fields::
|
|
23
|
+
%
|
|
24
|
+
% .title, .zone_type, .solution_time, .strand_id
|
|
25
|
+
% .I, .J, .K ordered zones; [] for FE zones
|
|
26
|
+
% .num_nodes, .num_elements FE zones; [] for ordered zones
|
|
27
|
+
% .node_map FE zones (resolved through
|
|
28
|
+
% node_map_shared_from if the zone
|
|
29
|
+
% shares connectivity); [] otherwise
|
|
30
|
+
% .face_neighbor_mode, .num_face_connections, .face_connections
|
|
31
|
+
% FE zones with face-neighbor data;
|
|
32
|
+
% '' / [] / [] otherwise
|
|
33
|
+
% .<variable name> one field per dataset variable
|
|
34
|
+
% whose real name is a valid MATLAB
|
|
35
|
+
% identifier (see isvarname). Passive
|
|
36
|
+
% in a zone -> []. Shared -> resolved
|
|
37
|
+
% to the source zone's data, so every
|
|
38
|
+
% zones(i) is self-contained.
|
|
39
39
|
%
|
|
40
40
|
% Notes:
|
|
41
41
|
% - A variable name that is not a valid MATLAB identifier is skipped with a
|