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

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.4
File Size Uploaded Provenance Actions
bulkparse-0.1.4.tar.gz 351.7 kB With provenance Details for bulkparse-0.1.4.tar.gz

Built distributions (wheels)

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

Total release size: 20.5 MB

Release files / bulkparse-0.1.4.tar.gz

Download URL bulkparse-0.1.4.tar.gz
Size 351.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e8208f4dd3c090bf0cae66b3f30c998d75c7de818449172ef45fadb1f5a3f3c8
BLAKE2b-256 checksum
How to use checksums
c8030ef52ed14464247705681c316ba195d5039bd9f094a4b50f9fd133a2cd4f
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 22, 2026.

Transparency log

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

Download URL bulkparse-0.1.4-cp310-abi3-win_amd64.whl
Size 4.2 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
9926ad4a13cff2dc916f2a46fcf9069feed25cbacf460e6b4a47b480ef725bff
BLAKE2b-256 checksum
How to use checksums
ec6404dce4183eb519ccf8b4c964eec8a7f098b8db8028a56ae9141772afe84d
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 22, 2026.

Transparency log

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

Download URL bulkparse-0.1.4-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
ce26652ac4300b23cb779d9403feb813454bcffa19ebaba1f89361d192638b6c
BLAKE2b-256 checksum
How to use checksums
a9780b1bbf2a3e2fb511c65da7a4374a1e583450cc438c09e1ea554d27996c21
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 22, 2026.

Transparency log

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

Download URL bulkparse-0.1.4-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
14caad4ff5ac33a0a6567fc3053251a3e6cc1930c0dbaea2c7de6dfae30d7575
BLAKE2b-256 checksum
How to use checksums
e85d0b63bae4c3385cf2f07f66bedcb465063cf58e34abee9efd1b27363a8dd7
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 22, 2026.

Transparency log

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

Download URL bulkparse-0.1.4-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
3133b876d071a49af20269e9da22860ab045c67f8e5517db775d22ba50bde58c
BLAKE2b-256 checksum
How to use checksums
25cf4302653eb237ea4f4f287dfdf7664a0a9319deb2e60b278230f2727b96db
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 22, 2026.

Transparency log

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

Download URL bulkparse-0.1.4-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
bec779959fcbef906b812c24d419b041ec07310b8f7270d0fe403ac6897e7ef3
BLAKE2b-256 checksum
How to use checksums
569d0be2908d7c7a916c044be74de61fe51689c961ff8df3f3aa37b1e436cebc
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 22, 2026.

Transparency log

Security for bulkparse 0.1.4

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.4.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 22, 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