Skip to main content

BulkParse for Python

Requires Python 3.10+. Install a prebuilt wheel with:

python -m pip install bulkparse

Wheels cover Linux x64/ARM64 (glibc 2.28+), macOS 11+ (Intel/Apple Silicon), and Windows x64. Rust is needed only for a source build. For development from this folder:

python3 -m venv .venv
source .venv/bin/activate
python -m pip install maturin
maturin develop --release
python -m unittest discover -s tests

On Windows activate the virtual environment using .venv\Scripts\activate.

from bulkparse import parse, parse_file, BulkParseError

result = parse(b"# Hello", filename="hello.md")
print(result["markdown"])
document = parse_file("document.docx", strict=True)
print(document["document"]["blocks"])

Calls are synchronous and release the GIL during Rust conversion. Thread pools and queue limits belong to the application. Inputs are copied into Rust memory. BulkParseError.code carries stable error categories (resource_limit, unsupported, malformed, incomplete, etc.). The result is a dictionary with the same schema used by Node/WASM.

capabilities() reports enabled formats. Options mirror the Rust core; see the root README for extraction limitations and budgets. The release pipeline tests installation from built wheels and the source archive.

CSV supports automatic comma/semicolon/tab/pipe detection and BOM-aware UTF-8/UTF-16 decoding. Without a BOM or explicit encoding, valid UTF-8 is preserved; otherwise legacy Windows-1252 decoding is attempted and reported with a csv_encoding_inferred diagnostic. Encoding inference is ambiguous, particularly for mixed-encoding files. Set csv_encoding to utf8 for strict UTF-8, windows1252 for a known legacy export, or utf16_le / utf16_be for BOM-less UTF-16. Explicit encodings must agree with any BOM. Undefined Windows-1252 bytes and binary controls are rejected. For delimiter ambiguity, pass csv_delimiter (one ASCII character); headers remain explicit through csv_has_headers.

PDFs support conservative ruled-table reconstruction. Arabic presentation forms and alphabetic ligatures expand by default. Pass pdf_normalize_unicode: false (Python: pdf_normalize_unicode=False) to retain mapped forms. ActualText is always preserved. See the root docs/pdf-tables.md for limits and validation.

PDF inspection is available without an OCR runtime: inspect_pdf(pdf_bytes). Conversion results also include pdf_inspection. The shared output schema is now 0.8. See inspection and routing.

The standard build enables BulkParse-owned Office/EPUB readers. See format support and limits.

For resource-limited spreadsheets and CSV files, opt in to partial_on_limit (Python: partial_on_limit=True). Successful normal conversions are unchanged; supported limit failures can return an explicitly partial prefix within the original per-attempt budgets. This is not complete extraction and strict mode never accepts the recovery result. Inspect status and resource_limit_partial diagnostics. See bounded large-document handling. Rebuild the binding to use this option.

Embedded image bytes are available in document.assets (base64 JSON). See image retention, export and limitations.

OCR and standalone images

See OCR across language bindings for the shared evidence API, the reusable native OCR parser, image/frame support, scanned-table limits, and examples.

Metadata

Release files for bulkparse 0.1.3

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

Source distribution (sdist)

Source distribution for bulkparse 0.1.3
File Size Uploaded Provenance Actions
bulkparse-0.1.3.tar.gz 350.0 kB With provenance Details for bulkparse-0.1.3.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for bulkparse 0.1.3
File Actions
bulkparse-0.1.3-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for bulkparse-0.1.3-cp310-abi3-win_amd64.whl
bulkparse-0.1.3-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details for bulkparse-0.1.3-cp310-abi3-manylinux_2_28_x86_64.whl
bulkparse-0.1.3-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details for bulkparse-0.1.3-cp310-abi3-manylinux_2_28_aarch64.whl
bulkparse-0.1.3-cp310-abi3-macosx_11_0_x86_64.whl CPython 3.10 abi3 macOS 11.0+ x86-64 Details for bulkparse-0.1.3-cp310-abi3-macosx_11_0_x86_64.whl
bulkparse-0.1.3-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for bulkparse-0.1.3-cp310-abi3-macosx_11_0_arm64.whl

Total release size: 20.6 MB

Release files / bulkparse-0.1.3.tar.gz

Download URL bulkparse-0.1.3.tar.gz
Size 350.0 kB
Tags Source
SHA-256 checksum
How to use checksums
555b8437a6f6346145b50ff520ef9d54572e1e68bbc79a54a4cf0d5a47861cb3
BLAKE2b-256 checksum
How to use checksums
7e44d3aba1e7485675d4feeb9993840a2c6ec99bc05122997f93f83209fade74
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 21, 2026.

Transparency log

Release files / bulkparse-0.1.3-cp310-abi3-win_amd64.whl

Download URL bulkparse-0.1.3-cp310-abi3-win_amd64.whl
Size 4.2 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
4e75a4470008ce205f90732ded09101c1a68f86c9ded2bb62e6fa0aa347c332d
BLAKE2b-256 checksum
How to use checksums
419c0c6f7edeaf6b049bfbdaf71a623cf45b2306c33b1d5260f05e96081caa79
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 21, 2026.

Transparency log

Release files / bulkparse-0.1.3-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL bulkparse-0.1.3-cp310-abi3-manylinux_2_28_x86_64.whl
Size 4.2 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
f59fc825988571f3dc79bb910c31d74dc2c90b08dffac76dad7058ee629d3bcb
BLAKE2b-256 checksum
How to use checksums
ffd185f917d90e0914386552cf34d188768fd4b3368583863a1116899018e232
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 21, 2026.

Transparency log

Release files / bulkparse-0.1.3-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL bulkparse-0.1.3-cp310-abi3-manylinux_2_28_aarch64.whl
Size 4.0 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
32191137d4d519909eceea69ddc25338f080b70150dfce57a83f0e00b7168a83
BLAKE2b-256 checksum
How to use checksums
cf5fe3b1763b8fb869bd4ce9decf61471496fa3dcfcec29958556324e6feb49a
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 21, 2026.

Transparency log

Release files / bulkparse-0.1.3-cp310-abi3-macosx_11_0_x86_64.whl

Download URL bulkparse-0.1.3-cp310-abi3-macosx_11_0_x86_64.whl
Size 4.0 MB
Tags CPython 3.10 abi3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
2c05539bd1e29772e417d83decdf9d848d5f55a522400f2d9bae36cb7d85b2cf
BLAKE2b-256 checksum
How to use checksums
b1d85923b0f78d2c1e94c761e8924128ecfeee86cd2159c4218a1a0a43e76611
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 21, 2026.

Transparency log

Release files / bulkparse-0.1.3-cp310-abi3-macosx_11_0_arm64.whl

Download URL bulkparse-0.1.3-cp310-abi3-macosx_11_0_arm64.whl
Size 3.8 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9d65258751f71c1e38113aa71201e96f8ec78553ddf070d94d2320de45e22da3
BLAKE2b-256 checksum
How to use checksums
55db214ad3ce109818173a2968f30df639ac267c7e499f46259a0668cb8f6892
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 21, 2026.

Transparency log

Security for bulkparse 0.1.3

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 bulkparse-0.1.3.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 21, 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