Skip to main content

stream-xlsx-py

stream-xlsx-py is the Python binding for stream_xlsx, a streaming XLSX reader that yields Polars DataFrames in batches.

Installation

pip install stream-xlsx-py

Usage

import stream_xlsx_py as sx

reader = sx.read_xlsx("data.xlsx", batch_size=10_000)
for frame in reader:
    print(frame.shape)

Enable concurrent parsing with fast mode:

reader = sx.read_xlsx(
    "data.xlsx",
    batch_size=10_000,
    fast=True,
    fast_parallelism=8,
)

Pass an ordered Polars schema to enable strict streaming reads. Header order may change in the workbook; yielded frames always follow schema order:

import polars as pl
import stream_xlsx_py as sx

reader = sx.read_xlsx(
    "data.xlsx",
    batch_size=10_000,
    fast=True,
    schema={
        "id": pl.Int64,
        "amount": pl.Float64,
        "created_at": pl.Datetime("us"),
    },
)
for frame in reader:
    print(frame.schema)

Strict mode remains batch-streaming. It does not infer or widen types except for lossless integer input into a declared Float64; a mismatch raises an exception at the batch containing the offending cell and stops the iterator.

The reader also supports selecting worksheets, skipping rows, and reading files with or without a header row. See the project README for benchmarks, limitations, and the complete API overview.

Metadata

Release files for stream-xlsx-py 0.4.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 stream-xlsx-py 0.4.0
File Actions
stream_xlsx_py-0.4.0-cp39-abi3-win_arm64.whl CPython 3.9 abi3 Windows ARM64 Details for stream_xlsx_py-0.4.0-cp39-abi3-win_arm64.whl
stream_xlsx_py-0.4.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for stream_xlsx_py-0.4.0-cp39-abi3-win_amd64.whl
stream_xlsx_py-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for stream_xlsx_py-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
stream_xlsx_py-0.4.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details for stream_xlsx_py-0.4.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
stream_xlsx_py-0.4.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for stream_xlsx_py-0.4.0-cp39-abi3-macosx_11_0_arm64.whl
stream_xlsx_py-0.4.0-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for stream_xlsx_py-0.4.0-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 34.2 MB

Release files / stream_xlsx_py-0.4.0-cp39-abi3-win_arm64.whl

Download URL stream_xlsx_py-0.4.0-cp39-abi3-win_arm64.whl
Size 5.0 MB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
9b9dc32d1bb24e0ff795f908741884eb1104559cb40e67c6759b6bdc194e7018
BLAKE2b-256 checksum
How to use checksums
e7c29b27a0a67a6d81be57c2eeac4576f253d98e42b11f0915513bc105294e09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 5, 2026.

Transparency log

Release files / stream_xlsx_py-0.4.0-cp39-abi3-win_amd64.whl

Download URL stream_xlsx_py-0.4.0-cp39-abi3-win_amd64.whl
Size 5.7 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
88bd7790da44a5816ef5e8489f952773e0e8e1887ec36a70d80dfef756a0d2f6
BLAKE2b-256 checksum
How to use checksums
b8f90c5e3abb015e11bccc5d0bb79f29557b9cfa9d735ca32c7985c89e66756d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 5, 2026.

Transparency log

Release files / stream_xlsx_py-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL stream_xlsx_py-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.2 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
77f3eb502722bafe7101b2e0201bb1d3de7321152411c2e60e6f93c2a1a101c3
BLAKE2b-256 checksum
How to use checksums
dd5dbff9271c5e747bd659c95d7468cfac9dda88fda6aae4bbd19e7942eced46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 5, 2026.

Transparency log

Release files / stream_xlsx_py-0.4.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL stream_xlsx_py-0.4.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 6.3 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
2954e05340f737431ddcaa7928a8592664eb5e029b0933eeb01e041bbdcc8600
BLAKE2b-256 checksum
How to use checksums
722b370ed48fd317dd5ac30a3a4bcf5ff5f4996275a98c930c283cb6e684c978
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 5, 2026.

Transparency log

Release files / stream_xlsx_py-0.4.0-cp39-abi3-macosx_11_0_arm64.whl

Download URL stream_xlsx_py-0.4.0-cp39-abi3-macosx_11_0_arm64.whl
Size 5.3 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7fda54227cf3352ade85dceb6d53456c2a1af6143a3d3f081e8a9190d7d03276
BLAKE2b-256 checksum
How to use checksums
1d08f7dd8c1cba052e0d7046806cf0bc92638578c15a0296b5bec5e740ee9339
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 5, 2026.

Transparency log

Release files / stream_xlsx_py-0.4.0-cp39-abi3-macosx_10_12_x86_64.whl

Download URL stream_xlsx_py-0.4.0-cp39-abi3-macosx_10_12_x86_64.whl
Size 5.6 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
50c61da6d1d6f03b4d5a57a7ac9312ba7ab0c0944ae0238ead04325aff597c90
BLAKE2b-256 checksum
How to use checksums
d9cece6be191d5332d5c07529d0016400a713e0fc5c1465b3f1e7cb4cfaaf7f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 5, 2026.

Transparency log

Security for stream-xlsx-py 0.4.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 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for stream_xlsx_py-0.4.0-cp39-abi3-win_arm64.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 5, 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