Skip to content

Comments

Release v0.3.0#25

Merged
RemingtonRohel merged 21 commits intomainfrom
develop
Aug 19, 2025
Merged

Release v0.3.0#25
RemingtonRohel merged 21 commits intomainfrom
develop

Conversation

@RemingtonRohel
Copy link
Contributor

Features

File "sniffing" - read only the first record of a file, e.g. if you want the CPID or start time. Works on both compressed and non-compressed files, and is efficient with decompression (i.e. only decompresses what it needs to in order to read the first file).

RemingtonRohel and others added 21 commits February 28, 2025 18:55
They return `([recs], int|None)`, where the second element is the byte where the corrupted records start, or None if no records are corrupted. These functions have the same python signature, but are named `read_dmap_lax`, `read_iqdat_lax`, etc.
* Renamed `GenericRecord` to `DmapRecord`, and moved into dmap.rs file.
* Moved dmap.rs file containing `Record` trait to src/record.rs
* Finished using macro_rules to simplify lib.rs
* Used macro_rules to simplify io_benchmarking.rs
Fleshed out README.md with a developer guide to explain the crate structure and what the files roughly contain.
Lax reading, bytes I/O, and internal refactor with macro_rules
* Adds free-threaded Python 3.13 support
* Useful for getting a look at the contents without having to read in the entire file.
* Doesn't decompress the entire file if using bz2 compression; will only decompress what is necessary to read the first record.
@RemingtonRohel RemingtonRohel merged commit 0fa5ba0 into main Aug 19, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant