multimodal-parsers
PDF processing pipeline: removes headers/footers, converts to markdown, and generates image captions using MLX VLM.
Installation
pip install multimodal-parsers
Dependencies
The package automatically installs:
- Pillow
- mlx-vlm
- pymupdf
- scikit-learn
- numpy
- marker-pdf
Additionally, you may need to install:
pip install "unstructured[pdf]"
Usage
After installation, use the multimodal-parsers command:
multimodal-parsers <input_dir> <output_dir>
Example
multimodal-parsers Database/Private/Files Database/Private/Files/output
What it does
- Removes headers and footers from PDF files using clustering algorithms
- Converts PDFs to markdown using marker-pdf
- Generates image captions using MLX VLM (InternVL3-1B-4bit)
- Outputs final markdown files with captioned images
Development
git clone https://github.com/thuuyen98/PIER-QA
cd PIER-QA
pip install -e ".[dev]"
License
MIT License
Metadata
Release files for multimodal-parsers 0.1.6
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 |
|---|---|---|---|---|
| multimodal_parsers-0.1.6.tar.gz | 20.3 kB | Without provenance | Details for multimodal_parsers-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| multimodal_parsers-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for multimodal_parsers-0.1.6-py3-none-any.whl |
Total release size: 35.8 kB
Release files / multimodal_parsers-0.1.6.tar.gz
| Download URL | multimodal_parsers-0.1.6.tar.gz |
|---|---|
| Size | 20.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
560b6c12b6dda55a04079af145fe1eb7558a614b9eba774218a3103e2b9a7e1c
|
|
BLAKE2b-256 checksum How to use checksums |
7f689289d146e1cf1d415333dee90ea76382f6b30e05a2b173e5d61457a9b651
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.8
|
Release files / multimodal_parsers-0.1.6-py3-none-any.whl
| Download URL | multimodal_parsers-0.1.6-py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e63a492a108eeda843065063b05555b53feb17178ee3c2c6ca2ca95e76582d2c
|
|
BLAKE2b-256 checksum How to use checksums |
bdd5328cf0f83dc2c617523085eea2b7583be24caccb7f83015f9cf9f10b21d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.8
|
Security for multimodal-parsers 0.1.6
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.