Skip to content

Release: v0.8.0#36

Merged
RemingtonRohel merged 5 commits into
mainfrom
develop
Jun 3, 2026
Merged

Release: v0.8.0#36
RemingtonRohel merged 5 commits into
mainfrom
develop

Conversation

@RemingtonRohel

Copy link
Copy Markdown
Contributor

Features

  • Removed sniff mode, now supported modes are "strict", "lax", and "metadata".
  • Added indices kwarg to Python API, to support reading a subset of records from a file (e.g. first and last record, to get first and last timestamps for the file)
  • Significant internal refactor to increase code modularity and clarity.

RemingtonRohel and others added 5 commits April 30, 2026 21:34
* Usable in both APIs, useful for getting last record (e.g. want length of file, not whole thing)
* Pass in indices to sniff, returns list of sniffed records.
* New `Parser` struct handles all parsing details, wraps `Cursor`.
* `Record` trait now has very little parsing logic.
* Need to update Python wrapper still
* New functions for reading select records from file, bytes, or just
  metadata, by indices, and optionally "lax" (except metadata).
New functionality, sniff any record(s) from file.

* New `indices` keyword which can be used with any of the supported modes `"strict"`, `"lax"`, or `"metadata"`, used to read only specific records from the file
* `sniff` mode removed
* Significant internal refactor to modularize codebase for clarity.
@RemingtonRohel
RemingtonRohel merged commit 7d9b901 into main Jun 3, 2026
15 checks passed
@RemingtonRohel RemingtonRohel mentioned this pull request Jun 3, 2026
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