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

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.2
File Size Uploaded Provenance Actions
bulkparse-0.1.2.tar.gz 340.0 kB With provenance Details for bulkparse-0.1.2.tar.gz

Built distributions (wheels)

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

Total release size: 20.5 MB

Release files / bulkparse-0.1.2.tar.gz

Download URL bulkparse-0.1.2.tar.gz
Size 340.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e04354faf7a143163f213a0f35a8b1ad3a9141475e94e543e558175a771c8ce3
BLAKE2b-256 checksum
How to use checksums
423d4e3d7ed08e78fd366a8331959ca4d4b6f8861f9ecdeae32fca98eabea2a7
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 17, 2026.

Transparency log

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

Download URL bulkparse-0.1.2-cp310-abi3-win_amd64.whl
Size 4.2 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
039190a1f18599ec08f9cce1f023f8dc16244cdf8e4f9bb5fbaf66ef7674f5e2
BLAKE2b-256 checksum
How to use checksums
57242b80cda082ce1a4b54f5bfbdfab151c9ca0f6aa27798b0aa2914f23734e4
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 17, 2026.

Transparency log

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

Download URL bulkparse-0.1.2-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
b453422890f543dcd635de4ca1722a96d69ae77465a58546bb697608cfc1fb55
BLAKE2b-256 checksum
How to use checksums
7830d86d40f35c3895d21499d01aa98070659d996ce7ac7105242f3151ccd8bb
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 17, 2026.

Transparency log

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

Download URL bulkparse-0.1.2-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
dd4ebb65677bef391640d8e2238f755b1f035ba13777c604b92bddfbfb76e687
BLAKE2b-256 checksum
How to use checksums
7dc16d273398245556bdb3ee3bb5632417078c2a939e7948bf8f482cbd51a943
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 17, 2026.

Transparency log

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

Download URL bulkparse-0.1.2-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
25d6b4c2f9b94c5d770bbee13b454c70f1fed9200d42d46617c8b7f9696aa077
BLAKE2b-256 checksum
How to use checksums
be7f495cdfa81d2ccc07e983f5a925d36e7410d422024c0abf423cfe8d423b1c
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 17, 2026.

Transparency log

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

Download URL bulkparse-0.1.2-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
e6728ac498cf92a230d959ab288da5ca8fd03f30edc5dfdea71590de4af377fe
BLAKE2b-256 checksum
How to use checksums
0510e14fbe03a1088469d6c423fe1045acdb8907fe4b5c15e62d0052e77385d1
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 17, 2026.

Transparency log

Security for bulkparse 0.1.2

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.2.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 17, 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