Skip to main content

spliterator (Python)

pip install sister-software-spliterator

The distribution is sister-software-spliterator; the import name is spliterator.

Streaming readers for delimited text, CSV, TSV, PSV and JSONL, with transparent zstd and gzip decompression.

This is the Python counterpart of the spliterator npm package and the spliterator Rust crate. All three read the same input into the same rows: the same defaults, the same trimming, the same quote rules and the same errors. A shared conformance suite holds them to it.

import spliterator

for row in spliterator.read_csv("people.csv"):          # {"Full Name": "Ada", "Age": "36"}
    ...

for value in spliterator.read_jsonl("part-0000.jsonl"):  # reads part-0000.jsonl.zst when it exists
    ...

for line in spliterator.read_text(b"  a \n\n b\n"):       # "a", "b"
    ...

Async and counts

Each reader has an async twin that reads each batch on a worker thread, so the event loop never blocks on I/O:

async for row in spliterator.aread_csv("people.csv"):
    ...

count_text, count_csv, count_tsv and count_psv return the number of rows the matching reader would yield, without building them.

Sources

A source is a path (str or os.PathLike), bytes-like data, or a binary file object.

  • Decompression. A source that begins with the zstd or gzip magic bytes is decompressed before it is split, whatever its name. Concatenated frames and members are read through. Pass decompress=False to read the bytes as given.
  • Compressed siblings. A path p reads p.zst, or failing that p.gz, when one exists. Pass prefer_compressed=False to read p itself.
  • Laziness. Nothing is opened until the first row is pulled.

Defaults worth knowing

Option Default Notes
trim True Strips the ECMAScript whitespace set (U+FEFF included, U+0085 not), not str.strip's. CSV trims cells and headers after unquoting.
skip_empty True Drops empty records; for text, rows that trim to nothing; for JSONL, whitespace-only rows.
normalize_keys False CSV keys are the header as written. In object mode a repeated header raises DuplicateHeaderError.
enable_quote_handling CSV/PSV True, TSV False Input that ends inside quotes raises UnterminatedQuoteError after the rows before it.
crlf CSV True, otherwise False

drop and take count the rows you receive. JSONL rejects NaN and Infinity, keeps large integers exact, and raises JSONRowError with the failing row's index.

The full semantics table is in the repository's docs/v10.md.

Errors

SpliteratorError is the base of UnterminatedQuoteError (.byte_offset), DuplicateHeaderError (.column) and JSONRowError (.row), each also a ValueError. I/O failures raise the usual OSError subclasses.

Metadata

Release files for sister-software-spliterator 11.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sister-software-spliterator 11.0.0
File Size Uploaded Provenance Actions
sister_software_spliterator-11.0.0.tar.gz 36.9 kB With provenance Details for sister_software_spliterator-11.0.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for sister-software-spliterator 11.0.0
File Actions
sister_software_spliterator-11.0.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for sister_software_spliterator-11.0.0-cp311-abi3-win_amd64.whl
sister_software_spliterator-11.0.0-cp311-abi3-musllinux_1_2_x86_64.whl CPython 3.11 abi3 Linux musl 1.2+ x86-64 Details for sister_software_spliterator-11.0.0-cp311-abi3-musllinux_1_2_x86_64.whl
sister_software_spliterator-11.0.0-cp311-abi3-musllinux_1_2_aarch64.whl CPython 3.11 abi3 Linux musl 1.2+ ARM64 Details for sister_software_spliterator-11.0.0-cp311-abi3-musllinux_1_2_aarch64.whl
sister_software_spliterator-11.0.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.11 abi3 Linux glibc 2.17+ x86-64 Details for sister_software_spliterator-11.0.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
sister_software_spliterator-11.0.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64 Details for sister_software_spliterator-11.0.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
sister_software_spliterator-11.0.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for sister_software_spliterator-11.0.0-cp311-abi3-macosx_11_0_arm64.whl
sister_software_spliterator-11.0.0-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details for sister_software_spliterator-11.0.0-cp311-abi3-macosx_10_12_x86_64.whl

Total release size: 6.8 MB

Release files / sister_software_spliterator-11.0.0.tar.gz

Download URL sister_software_spliterator-11.0.0.tar.gz
Size 36.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8220514c499ef85ba599f33c4a66171c2c2a9b5c577f0efdf787d4e759b8b90b
BLAKE2b-256 checksum
How to use checksums
81b7d61b173c218c3234f27bd7bff711e9e801e0956da851b69e6bee442d8d61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / sister_software_spliterator-11.0.0-cp311-abi3-win_amd64.whl

Download URL sister_software_spliterator-11.0.0-cp311-abi3-win_amd64.whl
Size 761.4 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f3ab63bf0a8fbbe2d35d4540058987be754cf8f55319ad4e3fc2b0777a25c6c9
BLAKE2b-256 checksum
How to use checksums
7f28939142840d8d8d25b1d5fa4e232786cb814e611efb0342e76a3510fbdfe3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / sister_software_spliterator-11.0.0-cp311-abi3-musllinux_1_2_x86_64.whl

Download URL sister_software_spliterator-11.0.0-cp311-abi3-musllinux_1_2_x86_64.whl
Size 1.2 MB
Tags CPython 3.11 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
00888d4b7e04a1d912cc5b169f39e80c585f4d1fad2d9e3ce3245581e2ca1c6a
BLAKE2b-256 checksum
How to use checksums
037209f10653b54700b309ca9d6aa480a5b35653b1cd239bc682d4dfbec04112
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / sister_software_spliterator-11.0.0-cp311-abi3-musllinux_1_2_aarch64.whl

Download URL sister_software_spliterator-11.0.0-cp311-abi3-musllinux_1_2_aarch64.whl
Size 1.1 MB
Tags CPython 3.11 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
ed52f568ef51d63ea16576bef4aece1b22ae7a654546e26ab40f096880ebce17
BLAKE2b-256 checksum
How to use checksums
24d56fe6117e8001cb1ff5e0a882e78c15d23ed2a1f2a9cf9691f80b01008a55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / sister_software_spliterator-11.0.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL sister_software_spliterator-11.0.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 998.7 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
212dd06b25d9c9bf94eb8b03c4a7aec03e960bec2cde9f6e08809c0c62f3b3c4
BLAKE2b-256 checksum
How to use checksums
af1d026720dd73a9a1f9e28e8d61edf024a63e6548eb91201d3077c712b0e761
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / sister_software_spliterator-11.0.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL sister_software_spliterator-11.0.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 984.7 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
cbe65d2fd0cff3993aa56a5441a9cf7fa6ba3e4466d0e566b917b06df8fa8f4d
BLAKE2b-256 checksum
How to use checksums
0a5487e7cb687f418de0e128078df68878cb162ff10bd390caefa4c93f85ba81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / sister_software_spliterator-11.0.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL sister_software_spliterator-11.0.0-cp311-abi3-macosx_11_0_arm64.whl
Size 818.7 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
015c6e629c10b9d9885c677c5c2514b7921066a3162dbb3f77f761bc3f5140ee
BLAKE2b-256 checksum
How to use checksums
31d168828916b686bc3124e6b9f1b45eb98a59c70f75378764d84b334bfcf555
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / sister_software_spliterator-11.0.0-cp311-abi3-macosx_10_12_x86_64.whl

Download URL sister_software_spliterator-11.0.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 866.1 kB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
cf3306897fecaba1460dd70a9cc71480cbe3ed5b8e68935713151b4a60bbb9b6
BLAKE2b-256 checksum
How to use checksums
5d6bb0db1f2ae5d511fccfcffa213adf252bb0ce079008b1d82396cc93d1ab36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for sister-software-spliterator 11.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for sister_software_spliterator-11.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page