tecio-python 0.4.0__tar.gz → 0.4.1__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.
Files changed (50) hide show
  1. {tecio_python-0.4.0/tecio_python.egg-info → tecio_python-0.4.1}/PKG-INFO +25 -9
  2. {tecio_python-0.4.0 → tecio_python-0.4.1}/plugins/matlab/tecmat2struct.m +18 -18
  3. {tecio_python-0.4.0 → tecio_python-0.4.1}/plugins/paraview/TecplotTecioReader.py +463 -38
  4. {tecio_python-0.4.0 → tecio_python-0.4.1}/plugins/paraview/TecplotTecioWriter.py +459 -84
  5. {tecio_python-0.4.0 → tecio_python-0.4.1}/pyproject.toml +30 -13
  6. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/__init__.py +5 -2
  7. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/_dat_read.py +268 -17
  8. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/_dat_write.py +315 -10
  9. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/_io.py +62 -30
  10. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/_meta.py +39 -20
  11. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/_plt_legacy.py +9 -1
  12. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/_plt_read.py +285 -89
  13. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/_plt_write.py +254 -9
  14. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/_reader.py +307 -20
  15. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/_szl_read.py +56 -14
  16. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/_szl_write.py +61 -11
  17. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/_utils.py +69 -6
  18. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/_writer.py +730 -100
  19. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/cli/tec2mat.py +49 -30
  20. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/cli/tecaux.py +14 -30
  21. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/cli/tecdump.py +44 -5
  22. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/cli/tecextract.py +38 -14
  23. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/cli/tecfix.py +17 -14
  24. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/cli/tecmerge.py +79 -27
  25. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/cli/teconvert.py +18 -15
  26. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/cli/tecscale.py +25 -13
  27. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/cli/tecslice.py +137 -69
  28. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/cli/tecstats.py +6 -2
  29. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/libtecio.py +117 -61
  30. {tecio_python-0.4.0 → tecio_python-0.4.1/tecio_python.egg-info}/PKG-INFO +25 -9
  31. tecio_python-0.4.1/tecio_python.egg-info/requires.txt +35 -0
  32. {tecio_python-0.4.0 → tecio_python-0.4.1}/tests/test_cli.py +462 -8
  33. {tecio_python-0.4.0 → tecio_python-0.4.1}/tests/test_io.py +12 -65
  34. {tecio_python-0.4.0 → tecio_python-0.4.1}/tests/test_libtecio.py +55 -29
  35. {tecio_python-0.4.0 → tecio_python-0.4.1}/tests/test_read.py +207 -6
  36. {tecio_python-0.4.0 → tecio_python-0.4.1}/tests/test_read_legacy.py +56 -10
  37. {tecio_python-0.4.0 → tecio_python-0.4.1}/tests/test_write.py +1340 -32
  38. tecio_python-0.4.0/tecio_python.egg-info/requires.txt +0 -18
  39. {tecio_python-0.4.0 → tecio_python-0.4.1}/LICENSE +0 -0
  40. {tecio_python-0.4.0 → tecio_python-0.4.1}/NOTICE +0 -0
  41. {tecio_python-0.4.0 → tecio_python-0.4.1}/README.md +0 -0
  42. {tecio_python-0.4.0 → tecio_python-0.4.1}/plugins/matlab/contourfe.m +0 -0
  43. {tecio_python-0.4.0 → tecio_python-0.4.1}/setup.cfg +0 -0
  44. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/_constants.py +0 -0
  45. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/_containers.py +0 -0
  46. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio/cli/__init__.py +0 -0
  47. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio_python.egg-info/SOURCES.txt +0 -0
  48. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio_python.egg-info/dependency_links.txt +0 -0
  49. {tecio_python-0.4.0 → tecio_python-0.4.1}/tecio_python.egg-info/entry_points.txt +0 -0
  50. {tecio_python-0.4.0 → tecio_python-0.4.1}/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.0
3
+ Version: 0.4.1
4
4
  Summary: Python interface for reading and writing Tecplot data files
5
- Project-URL: Homepage, https://github.com/meersman/tecio
6
- Project-URL: Documentation, https://meersman.github.io/tecio/
7
- Project-URL: Repository, https://github.com/meersman/tecio
8
- Project-URL: Issues, https://github.com/meersman/tecio/issues
9
- Project-URL: Changelog, https://github.com/meersman/tecio/blob/main/docs/changelog.md
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,17 +29,33 @@ 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
@@ -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. Every element has the same
22
- % fields, so this is a normal MATLAB struct array (zones(i),
23
- % [zones.pressure], etc. all work):
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.
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