blob: 24e43954e7e1aed67228fa206db465461a83405f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [PEP
440](https://www.python.org/dev/peps/pep-0440/).
## v0.6.0 -- 2023-12-04
### Added
- `DataArray` now lazy-copies the underlying data at write-time. Changes to the
data after instantiation will now be reflected in the written file.
## v0.5.2 -- 2023-06-14
### Added
- Can now pass a communicator object to parallel writers (#4)
## v0.5.1 -- 2023-04-13
### Added
- CI now with Github Actions
### Fixed
- Wrong number of nodes for hexahedron cell (8 instead of 9)
## v0.5.0 -- 2022-11-25
### Added
- Drop-in replacement for `pyevtk.hl` that is less restrictive and more
feature-rich than the original (e.g. arbitrary number of components in data
and data compression).
### Fixed
- Bug that prevented using variable size cells in `UnstructuredGrid`
### Deprecated
- Support for Python 3.6 removed, this is the last compatible version
## v0.4.0 -- 2021-05-04
### Added
- Support for `os.PathLike` for filenames
- Support for `PImageData`
### Changed
- Using relative path for Source in `PRRectilinearGrid`
- Tests use temporary directories and files
- Array data is converted to `ndarray` if necessary with `numpy.asarray`
- Version numbers are managed with `vX.Y.Z` tags using
[Versioneer](https://github.com/python-versioneer/python-versioneer) and
follow PEP440
## v0.3.2 -- 2020-11-17
### Added
- Support for Big Endian byte order
## v0.3.1 -- 2020-11-17
### Added
- Can write to buffered streams
- Support for ParaViewData group files
### Fixed
- Bug where array dimensions would be rearranged with compression
## v0.3.0 -- 2020-05-29
### Added
- Support for `UnstructuredGrid` files
## v0.2.2 -- 2020-05-27
### Added
- Support for appended data section
### Fixed
- Formatting of array values in ascii mode for integer types
## v0.2.1 -- 2020-05-14
### Fixed
- Unnecessary copy of data before b64encode
## v0.2.0 -- 2020-05-14
### Added
- Support for compression with zlib
## v0.1.0 -- 2020-05-12
### Added
- MPI Implementation for `PRectilinearGrid`
### Fixed
- Typo in `addCellData()` function name
## v0.0.7 -- 2019-04-05
### Added
- Support to write to file handles
## v0.0.6 -- 2019-03-02
### Added
- Context manager capacity to `VTKFile`
## v0.0.4 -- 2018-09-13
Initial proper release.
|