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"
    ...

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 10.0.0

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

Built distributions (wheels)

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

Total release size: 6.7 MB

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

Download URL sister_software_spliterator-10.0.0-cp311-abi3-win_amd64.whl
Size 746.9 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
ac138d35ecd2b26134fb38eb7e39ce43e029301dbaa2ec17048eb7d1fa54ce56
BLAKE2b-256 checksum
How to use checksums
61ae2c18ee853db97f2d96b16aa1bd94131e3a2d2f465daf7869dc2bc727e1d0
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 Oct 28, 2026.

Transparency log

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

Download URL sister_software_spliterator-10.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
e100941de754c7e419defc4b43a3aa50a1736733659c11bb92b60ebd70b7922f
BLAKE2b-256 checksum
How to use checksums
5f4e2e562cb0eb62f9392b4d28e8f2cec0e346b789e8db414f5f73cad96c61df
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 Oct 28, 2026.

Transparency log

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

Download URL sister_software_spliterator-10.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
7a246bcbc21d6c674f211fa27e6c72d645133531c123afdbcc40973233747eff
BLAKE2b-256 checksum
How to use checksums
40a9759ebdf4b1011348ac5e736dc20159025a997dc6ae34ad841cfe36528c24
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 Oct 28, 2026.

Transparency log

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

Download URL sister_software_spliterator-10.0.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 986.9 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
81d643f2eb4706c167d550d603b013ed8dab0ec6a2b2a191a046f56e6d616591
BLAKE2b-256 checksum
How to use checksums
674bb56c62f02784905f3677f02881fb46b1d15693650c6c6083fa2e4fe947ad
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 Oct 28, 2026.

Transparency log

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

Download URL sister_software_spliterator-10.0.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 973.8 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
56f9760744c4bc1d9f90605b4558bc53624dc6490e2c15b28deea5bb681cd573
BLAKE2b-256 checksum
How to use checksums
76c3d928347bbda6b8e3944270e38bff150a82c9997327e448285e530fab9580
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 Oct 28, 2026.

Transparency log

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

Download URL sister_software_spliterator-10.0.0-cp311-abi3-macosx_11_0_arm64.whl
Size 807.1 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fb5687ff34af104783829f676a971fdb3bc057c3662f50bf2a4e783eb754de53
BLAKE2b-256 checksum
How to use checksums
d02026ea1c85f50413e423acbb03cce67086413deaa85d5fc04b2fd4c3035202
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 Oct 28, 2026.

Transparency log

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

Download URL sister_software_spliterator-10.0.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 855.0 kB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
919a4048e0b9c866f68d8764e22cf2ff96fb6781544354fb31cce0acfd61a1fc
BLAKE2b-256 checksum
How to use checksums
ce4054da24f25b4cccf65e11d089b3ee0f6042075512e3e963708ce037613ec2
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 Oct 28, 2026.

Transparency log

Security for sister-software-spliterator 10.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 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for sister_software_spliterator-10.0.0-cp311-abi3-win_amd64.whl

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 Oct 28, 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