Skip to content

Add counts to every binding and async readers to Python - #34

Merged
GirlBossRush merged 1 commit into
mainfrom
v10-ports-count
Oct 28, 2026
Merged

GirlBossRush merged 1 commit into
mainfrom
v10-ports-count

Conversation

@GirlBossRush

Copy link
Copy Markdown
Member

Counts in Rust (text::count, csv::count) and Python (count_text, count_csv, count_tsv, count_psv), async Python readers (aread_*), and a fix to TextSpliterator.count, which counted rows of Unicode spaces that from drops. All three conformance runners now assert that every count equals the rows the reader yields.

- text::count and csv::count in Rust; count_text, count_csv, count_tsv and
  count_psv in Python; each equals the rows the matching reader yields,
  and all three conformance runners now check that on every case.
- TextSpliterator.count decodes a row whose blank test hits non-ASCII
  bytes, so a row of Unicode spaces is no longer counted but not yielded.
- aread_text, aread_jsonl, aread_csv, aread_tsv and aread_psv read each
  batch on a worker thread.
- The Python options live in one TypedDict and defaults table per format,
  shared by the sync, async and count functions.
@GirlBossRush
GirlBossRush merged commit 25301f4 into main Oct 28, 2026
2 checks passed
@GirlBossRush
GirlBossRush deleted the v10-ports-count branch October 28, 2026 02:40
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