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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bulkparse-0.1.0.tar.gz | 338.5 kB | With provenance | Details for bulkparse-0.1.0.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| bulkparse-0.1.0-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details for bulkparse-0.1.0-cp310-abi3-win_amd64.whl |
| bulkparse-0.1.0-cp310-abi3-manylinux_2_28_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ x86-64 | Details for bulkparse-0.1.0-cp310-abi3-manylinux_2_28_x86_64.whl |
| bulkparse-0.1.0-cp310-abi3-manylinux_2_28_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ ARM64 | Details for bulkparse-0.1.0-cp310-abi3-manylinux_2_28_aarch64.whl |
| bulkparse-0.1.0-cp310-abi3-macosx_11_0_x86_64.whl | CPython 3.10 | abi3 | macOS 11.0+ x86-64 | Details for bulkparse-0.1.0-cp310-abi3-macosx_11_0_x86_64.whl |
| bulkparse-0.1.0-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details for bulkparse-0.1.0-cp310-abi3-macosx_11_0_arm64.whl |
Total release size: 20.4 MB
Release files / bulkparse-0.1.0.tar.gz
| Download URL | bulkparse-0.1.0.tar.gz |
|---|---|
| Size | 338.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25b1d76abc41d697f43adc07e627538625ac1c90d51d13e08614114bb543406b
|
|
BLAKE2b-256 checksum How to use checksums |
f8857641da8b5fa073c2bce791c86d5ab350d35ae9ef355ff98d326bc8223679
|
| 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 logRelease files / bulkparse-0.1.0-cp310-abi3-win_amd64.whl
| Download URL | bulkparse-0.1.0-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 4.1 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
356160886e6e781071d9bd431e8a8d2215f142d7dae43d6af3fd03882434610c
|
|
BLAKE2b-256 checksum How to use checksums |
98fd7d38e2d7e8f2ae7e8d80f5b5f6b3b372ae8fd31bd9e2ddbcd3c809689401
|
| 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 logRelease files / bulkparse-0.1.0-cp310-abi3-manylinux_2_28_x86_64.whl
| Download URL | bulkparse-0.1.0-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 |
b2e285a364c9bddbb6ac2e40b1f71978c22ff263f5c4df158fca5c0867d01118
|
|
BLAKE2b-256 checksum How to use checksums |
c0e5bb75749ba4ec4bbc900510d74076b093d36969f92d8af39b08c6521ca1c3
|
| 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 logRelease files / bulkparse-0.1.0-cp310-abi3-manylinux_2_28_aarch64.whl
| Download URL | bulkparse-0.1.0-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 |
f1745cdbd40d28f9d3323a625aed35333ab83e5b9b3ed5284fc64d6df6189f87
|
|
BLAKE2b-256 checksum How to use checksums |
cb7951da914f9a62be08dc258127f908a3c29c91e98e6f09e08dd81a90d180eb
|
| 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 logRelease files / bulkparse-0.1.0-cp310-abi3-macosx_11_0_x86_64.whl
| Download URL | bulkparse-0.1.0-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 |
5939d376afa0ff8096811adb00c65813b61032dfc146ff67faef0d948d9c3ad3
|
|
BLAKE2b-256 checksum How to use checksums |
e9d5328b41e03d6e5e3ade050a637297a03fe6b0e634821b84a24d1b6c02c9bd
|
| 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 logRelease files / bulkparse-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | bulkparse-0.1.0-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 |
3cc7042d4228c011b9fe49a1f8cdcdad45c74d9fd8fbc3b8e3b9c314a435759f
|
|
BLAKE2b-256 checksum How to use checksums |
6dafd839eb45e83f5f611dc6eed716b416c5d9f637bd91fe9dfa4f0ff3b6a199
|
| 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 logSecurity for bulkparse 0.1.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.
Attestation for bulkparse-0.1.0.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 logA 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.