tecio-python 0.2.3__tar.gz → 0.3.0__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 (48) hide show
  1. {tecio_python-0.2.3/tecio_python.egg-info → tecio_python-0.3.0}/PKG-INFO +1 -1
  2. {tecio_python-0.2.3 → tecio_python-0.3.0}/pyproject.toml +1 -1
  3. tecio_python-0.3.0/tecio/__init__.py +80 -0
  4. tecio_python-0.2.3/tecio/dat/_read.py → tecio_python-0.3.0/tecio/_dat_read.py +547 -429
  5. tecio_python-0.2.3/tecio/dat/_write.py → tecio_python-0.3.0/tecio/_dat_write.py +78 -186
  6. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio/_io.py +66 -54
  7. tecio_python-0.2.3/tecio/plt/_read.py → tecio_python-0.3.0/tecio/_plt_read.py +912 -1086
  8. tecio_python-0.2.3/tecio/plt/_write.py → tecio_python-0.3.0/tecio/_plt_write.py +56 -214
  9. tecio_python-0.3.0/tecio/_reader.py +829 -0
  10. tecio_python-0.3.0/tecio/_szl_read.py +524 -0
  11. tecio_python-0.2.3/tecio/szl/_write.py → tecio_python-0.3.0/tecio/_szl_write.py +45 -190
  12. tecio_python-0.3.0/tecio/_writer.py +331 -0
  13. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio/cli/tec2mat.py +13 -7
  14. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio/cli/tecaux.py +21 -9
  15. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio/cli/tecdump.py +9 -5
  16. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio/cli/tecextract.py +8 -2
  17. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio/cli/tecfix.py +8 -2
  18. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio/cli/tecmerge.py +21 -9
  19. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio/cli/teconvert.py +18 -7
  20. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio/cli/tecscale.py +8 -2
  21. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio/cli/tecslice.py +36 -20
  22. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio/plugins/paraview/TecplotTecioReader.py +31 -15
  23. {tecio_python-0.2.3 → tecio_python-0.3.0/tecio_python.egg-info}/PKG-INFO +1 -1
  24. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio_python.egg-info/SOURCES.txt +8 -9
  25. {tecio_python-0.2.3 → tecio_python-0.3.0}/tests/test_write.py +1 -1
  26. tecio_python-0.2.3/tecio/__init__.py +0 -37
  27. tecio_python-0.2.3/tecio/dat/__init__.py +0 -76
  28. tecio_python-0.2.3/tecio/plt/__init__.py +0 -36
  29. tecio_python-0.2.3/tecio/szl/__init__.py +0 -43
  30. tecio_python-0.2.3/tecio/szl/_read.py +0 -789
  31. {tecio_python-0.2.3 → tecio_python-0.3.0}/LICENSE +0 -0
  32. {tecio_python-0.2.3 → tecio_python-0.3.0}/NOTICE +0 -0
  33. {tecio_python-0.2.3 → tecio_python-0.3.0}/README.md +0 -0
  34. {tecio_python-0.2.3 → tecio_python-0.3.0}/setup.cfg +0 -0
  35. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio/_containers.py +0 -0
  36. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio/_meta.py +0 -0
  37. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio/_utils.py +0 -0
  38. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio/cli/__init__.py +0 -0
  39. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio/cli/tecstats.py +0 -0
  40. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio/libtecio.py +0 -0
  41. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio_python.egg-info/dependency_links.txt +0 -0
  42. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio_python.egg-info/entry_points.txt +0 -0
  43. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio_python.egg-info/requires.txt +0 -0
  44. {tecio_python-0.2.3 → tecio_python-0.3.0}/tecio_python.egg-info/top_level.txt +0 -0
  45. {tecio_python-0.2.3 → tecio_python-0.3.0}/tests/test_cli.py +0 -0
  46. {tecio_python-0.2.3 → tecio_python-0.3.0}/tests/test_io.py +0 -0
  47. {tecio_python-0.2.3 → tecio_python-0.3.0}/tests/test_libtecio.py +0 -0
  48. {tecio_python-0.2.3 → tecio_python-0.3.0}/tests/test_read.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tecio-python
3
- Version: 0.2.3
3
+ Version: 0.3.0
4
4
  Summary: Python interface for reading and writing Tecplot data files
5
5
  Project-URL: Homepage, https://github.com/meersman/tecio
6
6
  Project-URL: Documentation, https://meersman.github.io/tecio/
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "tecio-python"
7
- version = "0.2.3"
7
+ version = "0.3.0"
8
8
  description = "Python interface for reading and writing Tecplot data files"
9
9
 
10
10
  readme = "README.md"
@@ -0,0 +1,80 @@
1
+ """Python interface for reading and writing Tecplot data files.
2
+
3
+ Wraps the TecIO C library for ``.szplt``, ``.plt``, and ``.dat`` formats.
4
+ Requires Python 3.10+, NumPy, and a Tecplot 360 installation.
5
+ """
6
+
7
+ from importlib import metadata
8
+
9
+ try:
10
+ __version__ = metadata.version("tecio")
11
+ except metadata.PackageNotFoundError:
12
+ __version__ = "0.3.0"
13
+
14
+ from . import cli, libtecio
15
+ from ._containers import VariableList, ZoneList
16
+ from ._dat_read import TecplotDatReader
17
+ from ._dat_write import TecplotDatWriter
18
+ from ._io import AppendReadWrite, AppendWrite, open
19
+ from ._plt_read import TecplotPltReader
20
+ from ._plt_write import TecplotPltWriter
21
+ from ._reader import (
22
+ TecplotAuxDataReader,
23
+ TecplotFEZoneReader,
24
+ TecplotOrderedZoneReader,
25
+ TecplotReader,
26
+ TecplotVariableReader,
27
+ TecplotZoneReader,
28
+ )
29
+ from ._szl_read import TecplotSzlReader
30
+ from ._szl_write import TecplotSzlWriter
31
+ from ._writer import TecplotWriter
32
+
33
+ # Ensure these display as their canonical public name in docs and help(),
34
+ # rather than the private module they're actually defined in.
35
+ open.__module__ = "tecio"
36
+ AppendWrite.__module__ = "tecio"
37
+ AppendReadWrite.__module__ = "tecio"
38
+ ZoneList.__module__ = "tecio"
39
+ VariableList.__module__ = "tecio"
40
+ for _cls in (
41
+ TecplotReader,
42
+ TecplotZoneReader,
43
+ TecplotOrderedZoneReader,
44
+ TecplotFEZoneReader,
45
+ TecplotVariableReader,
46
+ TecplotAuxDataReader,
47
+ TecplotSzlReader,
48
+ TecplotPltReader,
49
+ TecplotDatReader,
50
+ TecplotWriter,
51
+ TecplotSzlWriter,
52
+ TecplotPltWriter,
53
+ TecplotDatWriter,
54
+ ):
55
+ _cls.__module__ = "tecio"
56
+ del _cls
57
+
58
+ __all__ = [
59
+ "libtecio",
60
+ "open",
61
+ "cli",
62
+ "AppendWrite",
63
+ "AppendReadWrite",
64
+ "ZoneList",
65
+ "VariableList",
66
+ "TecplotReader",
67
+ "TecplotZoneReader",
68
+ "TecplotOrderedZoneReader",
69
+ "TecplotFEZoneReader",
70
+ "TecplotVariableReader",
71
+ "TecplotAuxDataReader",
72
+ "TecplotSzlReader",
73
+ "TecplotPltReader",
74
+ "TecplotDatReader",
75
+ "TecplotWriter",
76
+ "TecplotSzlWriter",
77
+ "TecplotPltWriter",
78
+ "TecplotDatWriter",
79
+ "__version__",
80
+ ]