gef-file-to-map 1.0.0__tar.gz → 1.0.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.
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": ["config:recommended", "group:allNonMajor", ":automergeAll"]
3
+ }
@@ -12,7 +12,7 @@ jobs:
12
12
  linux:
13
13
  runs-on: ubuntu-latest
14
14
  steps:
15
- - uses: actions/checkout@v5
15
+ - uses: actions/checkout@v6
16
16
  - uses: actions-rs/toolchain@v1
17
17
  with:
18
18
  toolchain: stable
@@ -24,7 +24,7 @@ jobs:
24
24
  command: build
25
25
  args: --release --sdist -o dist
26
26
  - name: Upload wheels
27
- uses: actions/upload-artifact@v5
27
+ uses: actions/upload-artifact@v6
28
28
  with:
29
29
  name: wheels-linux
30
30
  path: dist
@@ -32,7 +32,7 @@ jobs:
32
32
  windows:
33
33
  runs-on: windows-latest
34
34
  steps:
35
- - uses: actions/checkout@v5
35
+ - uses: actions/checkout@v6
36
36
  - uses: actions-rs/toolchain@v1
37
37
  with:
38
38
  toolchain: stable
@@ -43,7 +43,7 @@ jobs:
43
43
  command: build
44
44
  args: --release -o dist
45
45
  - name: Upload wheels
46
- uses: actions/upload-artifact@v5
46
+ uses: actions/upload-artifact@v6
47
47
  with:
48
48
  name: wheels-windows
49
49
  path: dist
@@ -51,7 +51,7 @@ jobs:
51
51
  macos:
52
52
  runs-on: macos-latest
53
53
  steps:
54
- - uses: actions/checkout@v5
54
+ - uses: actions/checkout@v6
55
55
  - uses: actions-rs/toolchain@v1
56
56
  with:
57
57
  toolchain: stable
@@ -62,7 +62,7 @@ jobs:
62
62
  command: build
63
63
  args: --release -o dist
64
64
  - name: Upload wheels
65
- uses: actions/upload-artifact@v5
65
+ uses: actions/upload-artifact@v6
66
66
  with:
67
67
  name: wheels-macos
68
68
  path: dist
@@ -83,7 +83,7 @@ jobs:
83
83
  # Used to generate artifact attestation
84
84
  attestations: write
85
85
  steps:
86
- - uses: actions/download-artifact@v6
86
+ - uses: actions/download-artifact@v7
87
87
 
88
88
  - name: Generate artifact attestation
89
89
  uses: actions/attest-build-provenance@v3
@@ -2,6 +2,18 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [1.0.1] - 2026-02-05
6
+
7
+ ### Bug Fixes
8
+ - *Deps*: Update rust crate pyo3 to 0.28.0 (#15)
9
+ - *Python*: Match ABI version with minimum supported Python
10
+
11
+ ### Miscellaneous Tasks
12
+ - *Renovate*: Automerge all changes that pass the tests
13
+
14
+ ### Testing
15
+ - *Whitespace*: GEF file with tabs around the keys
16
+
5
17
  ## [1.0.0] - 2025-10-31
6
18
 
7
19
  ### Bug Fixes
@@ -8,12 +8,6 @@ version = "1.0.13"
8
8
  source = "registry+https://github.com/rust-lang/crates.io-index"
9
9
  checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78"
10
10
 
11
- [[package]]
12
- name = "autocfg"
13
- version = "1.5.0"
14
- source = "registry+https://github.com/rust-lang/crates.io-index"
15
- checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
16
-
17
11
  [[package]]
18
12
  name = "bitflags"
19
13
  version = "2.10.0"
@@ -28,18 +22,18 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
28
22
 
29
23
  [[package]]
30
24
  name = "clap"
31
- version = "4.5.51"
25
+ version = "4.5.57"
32
26
  source = "registry+https://github.com/rust-lang/crates.io-index"
33
- checksum = "4c26d721170e0295f191a69bd9a1f93efcdb0aff38684b61ab5750468972e5f5"
27
+ checksum = "6899ea499e3fb9305a65d5ebf6e3d2248c5fab291f300ad0a704fbe142eae31a"
34
28
  dependencies = [
35
29
  "clap_builder",
36
30
  ]
37
31
 
38
32
  [[package]]
39
33
  name = "clap_builder"
40
- version = "4.5.51"
34
+ version = "4.5.57"
41
35
  source = "registry+https://github.com/rust-lang/crates.io-index"
42
- checksum = "75835f0c7bf681bfd05abe44e965760fea999a5286c6eb2d59883634fd02011a"
36
+ checksum = "7b12c8b680195a62a8364d16b8447b01b6c2c8f9aaf68bee653be34d4245e238"
43
37
  dependencies = [
44
38
  "anstyle",
45
39
  "clap_lex",
@@ -48,9 +42,9 @@ dependencies = [
48
42
 
49
43
  [[package]]
50
44
  name = "clap_lex"
51
- version = "0.7.6"
45
+ version = "0.7.7"
52
46
  source = "registry+https://github.com/rust-lang/crates.io-index"
53
- checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d"
47
+ checksum = "c3e64b0cc0439b12df2fa678eae89a1c56a529fd067a9115f7827f1fffd22b32"
54
48
 
55
49
  [[package]]
56
50
  name = "condtype"
@@ -101,7 +95,7 @@ dependencies = [
101
95
 
102
96
  [[package]]
103
97
  name = "gef-file-to-map"
104
- version = "1.0.0"
98
+ version = "1.0.1"
105
99
  dependencies = [
106
100
  "divan",
107
101
  "itertools",
@@ -116,15 +110,6 @@ version = "0.5.0"
116
110
  source = "registry+https://github.com/rust-lang/crates.io-index"
117
111
  checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
118
112
 
119
- [[package]]
120
- name = "indoc"
121
- version = "2.0.7"
122
- source = "registry+https://github.com/rust-lang/crates.io-index"
123
- checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
124
- dependencies = [
125
- "rustversion",
126
- ]
127
-
128
113
  [[package]]
129
114
  name = "itertools"
130
115
  version = "0.14.0"
@@ -136,9 +121,9 @@ dependencies = [
136
121
 
137
122
  [[package]]
138
123
  name = "libc"
139
- version = "0.2.177"
124
+ version = "0.2.180"
140
125
  source = "registry+https://github.com/rust-lang/crates.io-index"
141
- checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976"
126
+ checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc"
142
127
 
143
128
  [[package]]
144
129
  name = "linux-raw-sys"
@@ -152,15 +137,6 @@ version = "2.7.6"
152
137
  source = "registry+https://github.com/rust-lang/crates.io-index"
153
138
  checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
154
139
 
155
- [[package]]
156
- name = "memoffset"
157
- version = "0.9.1"
158
- source = "registry+https://github.com/rust-lang/crates.io-index"
159
- checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
160
- dependencies = [
161
- "autocfg",
162
- ]
163
-
164
140
  [[package]]
165
141
  name = "once_cell"
166
142
  version = "1.21.3"
@@ -169,50 +145,47 @@ checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
169
145
 
170
146
  [[package]]
171
147
  name = "portable-atomic"
172
- version = "1.11.1"
148
+ version = "1.13.1"
173
149
  source = "registry+https://github.com/rust-lang/crates.io-index"
174
- checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
150
+ checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
175
151
 
176
152
  [[package]]
177
153
  name = "proc-macro2"
178
- version = "1.0.103"
154
+ version = "1.0.106"
179
155
  source = "registry+https://github.com/rust-lang/crates.io-index"
180
- checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8"
156
+ checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
181
157
  dependencies = [
182
158
  "unicode-ident",
183
159
  ]
184
160
 
185
161
  [[package]]
186
162
  name = "pyo3"
187
- version = "0.27.1"
163
+ version = "0.28.0"
188
164
  source = "registry+https://github.com/rust-lang/crates.io-index"
189
- checksum = "37a6df7eab65fc7bee654a421404947e10a0f7085b6951bf2ea395f4659fb0cf"
165
+ checksum = "fcf3ccafdf54c050be48a3a086d372f77ba6615f5057211607cd30e5ac5cec6d"
190
166
  dependencies = [
191
- "indoc",
192
167
  "libc",
193
- "memoffset",
194
168
  "once_cell",
195
169
  "portable-atomic",
196
170
  "pyo3-build-config",
197
171
  "pyo3-ffi",
198
172
  "pyo3-macros",
199
- "unindent",
200
173
  ]
201
174
 
202
175
  [[package]]
203
176
  name = "pyo3-build-config"
204
- version = "0.27.1"
177
+ version = "0.28.0"
205
178
  source = "registry+https://github.com/rust-lang/crates.io-index"
206
- checksum = "f77d387774f6f6eec64a004eac0ed525aab7fa1966d94b42f743797b3e395afb"
179
+ checksum = "972720a441c91fd9c49f212a1d2d74c6e3803b231ebc8d66c51efbd7ccab11c8"
207
180
  dependencies = [
208
181
  "target-lexicon",
209
182
  ]
210
183
 
211
184
  [[package]]
212
185
  name = "pyo3-ffi"
213
- version = "0.27.1"
186
+ version = "0.28.0"
214
187
  source = "registry+https://github.com/rust-lang/crates.io-index"
215
- checksum = "2dd13844a4242793e02df3e2ec093f540d948299a6a77ea9ce7afd8623f542be"
188
+ checksum = "5994456d9dab8934d600d3867571b6410f24fbd6002570ad56356733eb54859b"
216
189
  dependencies = [
217
190
  "libc",
218
191
  "pyo3-build-config",
@@ -220,9 +193,9 @@ dependencies = [
220
193
 
221
194
  [[package]]
222
195
  name = "pyo3-macros"
223
- version = "0.27.1"
196
+ version = "0.28.0"
224
197
  source = "registry+https://github.com/rust-lang/crates.io-index"
225
- checksum = "eaf8f9f1108270b90d3676b8679586385430e5c0bb78bb5f043f95499c821a71"
198
+ checksum = "11ce9cc8d81b3c4969748807604d92b4eef363c5bb82b1a1bdb34ec6f1093a18"
226
199
  dependencies = [
227
200
  "proc-macro2",
228
201
  "pyo3-macros-backend",
@@ -232,9 +205,9 @@ dependencies = [
232
205
 
233
206
  [[package]]
234
207
  name = "pyo3-macros-backend"
235
- version = "0.27.1"
208
+ version = "0.28.0"
236
209
  source = "registry+https://github.com/rust-lang/crates.io-index"
237
- checksum = "70a3b2274450ba5288bc9b8c1b69ff569d1d61189d4bff38f8d22e03d17f932b"
210
+ checksum = "eaf4b60036a154d23282679b658e3cc7d88d3b8c9a40b43824785f232d2e1b98"
238
211
  dependencies = [
239
212
  "heck",
240
213
  "proc-macro2",
@@ -245,24 +218,24 @@ dependencies = [
245
218
 
246
219
  [[package]]
247
220
  name = "quote"
248
- version = "1.0.41"
221
+ version = "1.0.44"
249
222
  source = "registry+https://github.com/rust-lang/crates.io-index"
250
- checksum = "ce25767e7b499d1b604768e7cde645d14cc8584231ea6b295e9c9eb22c02e1d1"
223
+ checksum = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4"
251
224
  dependencies = [
252
225
  "proc-macro2",
253
226
  ]
254
227
 
255
228
  [[package]]
256
229
  name = "regex-lite"
257
- version = "0.1.8"
230
+ version = "0.1.9"
258
231
  source = "registry+https://github.com/rust-lang/crates.io-index"
259
- checksum = "8d942b98df5e658f56f20d592c7f868833fe38115e65c33003d8cd224b0155da"
232
+ checksum = "cab834c73d247e67f4fae452806d17d3c7501756d98c8808d7c9c7aa7d18f973"
260
233
 
261
234
  [[package]]
262
235
  name = "rustix"
263
- version = "1.1.2"
236
+ version = "1.1.3"
264
237
  source = "registry+https://github.com/rust-lang/crates.io-index"
265
- checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e"
238
+ checksum = "146c9e247ccc180c1f61615433868c99f3de3ae256a30a43b49f67c2d9171f34"
266
239
  dependencies = [
267
240
  "bitflags",
268
241
  "errno",
@@ -271,17 +244,11 @@ dependencies = [
271
244
  "windows-sys 0.61.2",
272
245
  ]
273
246
 
274
- [[package]]
275
- name = "rustversion"
276
- version = "1.0.22"
277
- source = "registry+https://github.com/rust-lang/crates.io-index"
278
- checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
279
-
280
247
  [[package]]
281
248
  name = "syn"
282
- version = "2.0.108"
249
+ version = "2.0.114"
283
250
  source = "registry+https://github.com/rust-lang/crates.io-index"
284
- checksum = "da58917d35242480a05c2897064da0a80589a2a0476c9a3f2fdc83b53502e917"
251
+ checksum = "d4d107df263a3013ef9b1879b0df87d706ff80f65a86ea879bd9c31f9b307c2a"
285
252
  dependencies = [
286
253
  "proc-macro2",
287
254
  "quote",
@@ -290,9 +257,9 @@ dependencies = [
290
257
 
291
258
  [[package]]
292
259
  name = "target-lexicon"
293
- version = "0.13.3"
260
+ version = "0.13.4"
294
261
  source = "registry+https://github.com/rust-lang/crates.io-index"
295
- checksum = "df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c"
262
+ checksum = "b1dd07eb858a2067e2f3c7155d54e929265c264e6f37efe3ee7a8d1b5a1dd0ba"
296
263
 
297
264
  [[package]]
298
265
  name = "terminal_size"
@@ -306,18 +273,18 @@ dependencies = [
306
273
 
307
274
  [[package]]
308
275
  name = "thiserror"
309
- version = "2.0.17"
276
+ version = "2.0.18"
310
277
  source = "registry+https://github.com/rust-lang/crates.io-index"
311
- checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
278
+ checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4"
312
279
  dependencies = [
313
280
  "thiserror-impl",
314
281
  ]
315
282
 
316
283
  [[package]]
317
284
  name = "thiserror-impl"
318
- version = "2.0.17"
285
+ version = "2.0.18"
319
286
  source = "registry+https://github.com/rust-lang/crates.io-index"
320
- checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
287
+ checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
321
288
  dependencies = [
322
289
  "proc-macro2",
323
290
  "quote",
@@ -330,12 +297,6 @@ version = "1.0.22"
330
297
  source = "registry+https://github.com/rust-lang/crates.io-index"
331
298
  checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
332
299
 
333
- [[package]]
334
- name = "unindent"
335
- version = "0.2.4"
336
- source = "registry+https://github.com/rust-lang/crates.io-index"
337
- checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
338
-
339
300
  [[package]]
340
301
  name = "windows-link"
341
302
  version = "0.2.1"
@@ -427,9 +388,9 @@ checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650"
427
388
 
428
389
  [[package]]
429
390
  name = "winnow"
430
- version = "0.7.13"
391
+ version = "0.7.14"
431
392
  source = "registry+https://github.com/rust-lang/crates.io-index"
432
- checksum = "21a0236b59786fed61e2a80582dd500fe61f18b5dca67a4a067d0bc9039339cf"
393
+ checksum = "5a5364e9d77fcdeeaa6062ced926ee3381faa2ee02d3eb83a5c27a8825540829"
433
394
  dependencies = [
434
395
  "memchr",
435
396
  ]
@@ -1,15 +1,15 @@
1
1
  [package]
2
2
  name = "gef-file-to-map"
3
- version = "1.0.0"
3
+ version = "1.0.1"
4
4
  edition = "2024"
5
5
  rust-version = "1.85.0"
6
6
  readme = "README.md"
7
7
 
8
8
  [dependencies]
9
9
  itertools = "0.14.0"
10
- pyo3 = { version = "0.27.1", features = ["extension-module", "abi3-py37"] }
11
- thiserror = "2.0.17"
12
- winnow = "0.7.13"
10
+ pyo3 = { version = "0.28.0", features = ["extension-module", "abi3-py311"] }
11
+ thiserror = "2.0.18"
12
+ winnow = "0.7.14"
13
13
 
14
14
  [dev-dependencies]
15
15
  divan = "0.1.21"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gef-file-to-map
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "gef-file-to-map"
3
- version = "1.0.0"
3
+ version = "1.0.1"
4
4
  description = "Utility library for parsing .gef files"
5
5
  requires-python = ">=3.11"
6
6
  readme = "README.md"
@@ -101,4 +101,17 @@ mod tests {
101
101
  "{csv}",
102
102
  );
103
103
  }
104
+
105
+ #[test]
106
+ fn tabs() {
107
+ let (csv, headers) = super::parse(include_str!("../tests/tabs.gef")).unwrap();
108
+
109
+ assert!(
110
+ headers.contains_key("COMPANYID"),
111
+ "{:?}",
112
+ headers.into_keys().collect::<Vec<_>>()
113
+ );
114
+
115
+ assert!(csv.trim().starts_with("0.50 2.00 0.50"), "{csv}",);
116
+ }
104
117
  }
@@ -0,0 +1,30 @@
1
+ #GEFID = 1, 1, 0
2
+ #COLUMN = 3
3
+ #COLUMNINFO = 1, m, Penetration length, 1
4
+ #COLUMNINFO = 2, MPa, Conusweerstand qc, 2
5
+ #COLUMNINFO = 3, m, corrected depth, 11
6
+ #COMPANYID = DUMMY, 00000000, 31
7
+ #DATAFORMAT = ASCII
8
+ #FILEOWNER = A. Nonymous
9
+ #LASTSCAN = 16
10
+ #REPORTCODE = GEF-CPT-Report, 1,1,1,-
11
+ #TESTID = FUGBEN1
12
+ #XYID = 31000, 0.0, 0.0, 1.0, 1.0
13
+ #ZID = 31000, 0.0, 0.1
14
+ #EOH =
15
+ 0.50 2.00 0.50
16
+ 2.00 2.00 2.00
17
+ 2.01 4.00 2.01
18
+ 6.00 4.00 6.00
19
+ 6.01 15.00 6.01
20
+ 14.00 15.00 14.00
21
+ 14.01 1.00 14.01
22
+ 16.00 1.00 16.00
23
+ 16.01 1.00 16.01
24
+ 17.00 1.00 17.00
25
+ 17.01 35.00 17.01
26
+ 20.00 35.00 20.00
27
+ 20.01 35.00 20.01
28
+ 23.99 35.00 23.99
29
+ 24.00 35.00 24.00
30
+ 30.00 35.00 30.00
@@ -1,3 +0,0 @@
1
- {
2
- "extends": ["config:recommended", "group:allNonMajor"]
3
- }
File without changes
File without changes