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

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.1
File Size Uploaded Provenance Actions
bulkparse-0.1.1.tar.gz 338.5 kB With provenance Details for bulkparse-0.1.1.tar.gz

Built distributions (wheels)

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

Total release size: 20.4 MB

Release files / bulkparse-0.1.1.tar.gz

Download URL bulkparse-0.1.1.tar.gz
Size 338.5 kB
Tags Source
SHA-256 checksum
How to use checksums
54d7ad31d42670174b0ab26bf125d16d30f2a301b747a76473d00bb8ca24340a
BLAKE2b-256 checksum
How to use checksums
03045bdab61aec37dcfeab4cd695a92ae6075419091bb65258fb4f49da2eb819
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 16, 2026.

Transparency log

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

Download URL bulkparse-0.1.1-cp310-abi3-win_amd64.whl
Size 4.1 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
934dabdd4772434ea029ef6b3c525e429ceead64b1ef7b5f1b2c798ae9d9e116
BLAKE2b-256 checksum
How to use checksums
611d4b2a58e245e07355b603288472a123e654d65f948575cc53aabd5bf24db3
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 16, 2026.

Transparency log

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

Download URL bulkparse-0.1.1-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
8b08562f4c2d08bf9d1c9471e423d3e3f2057071b18a1c4d706b619025f21544
BLAKE2b-256 checksum
How to use checksums
e4eef1c885b2a5225b15ed4c6f8adbeea71de0e55497b8bc8b328ff61f6ccb59
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 16, 2026.

Transparency log

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

Download URL bulkparse-0.1.1-cp310-abi3-manylinux_2_28_aarch64.whl
Size 3.9 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
3347bb9d76cfdcdc91af10ce9b0a17cf8dbad241018b157071f38dc69c3608ae
BLAKE2b-256 checksum
How to use checksums
71ca7c7f35fcb00ac817ca9f691018c43181a27bdff25291a4be674fe6d3c8c4
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 16, 2026.

Transparency log

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

Download URL bulkparse-0.1.1-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
97892be04642d70a4055cc2cf22c3ac58ca837575038c30fd13bc9a80c906c0e
BLAKE2b-256 checksum
How to use checksums
c67987d690891db3f0a7b0bac12a920277646dbb93836fa08ec8925fee8cb264
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 16, 2026.

Transparency log

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

Download URL bulkparse-0.1.1-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
6f7032b6ab49aa8a45c4129be500a5e3fb3f3a21a4d1883323354f1022f40676
BLAKE2b-256 checksum
How to use checksums
390dcc27ad7e6ba7e2bfdc872413fc1409dc0d0e917b93fe7c0d35b0fee40d71
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 16, 2026.

Transparency log

Security for bulkparse 0.1.1

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.1.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 16, 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