Vietnamese-first document loader for RAG
Project description
viparse
Vietnamese-first document loader for RAG.
One command turns any Vietnamese document — including legacy TCVN3/VNI/VISCII fonts, scanned
PDFs, and old .doc/.xls files — into clean Unicode NFC Markdown/JSON, ready to push into a
vector DB.
Why
Generic loaders parse the file but often emit garbled diacritics (legacy fonts) or wrong
Unicode normalization. viparse handles exactly that Vietnamese layer: detect & convert legacy
encodings to Unicode, enforce NFC, and offer diacritic-aware OCR.
Backbone principle: never hand-write a parser. Wrap well-maintained engines behind thin
adapters; if an engine gets a CVE or is abandoned, swap the adapter without touching the rest.
Heavy dependencies are lazy-imported via extras (viparse[ocr], viparse[office]).
Status
Early design. See docs/specs/ for the full spec map (SPEC-0 … SPEC-8).
Planned usage
import viparse
docs = viparse.load("tai_lieu_cu.pdf") # list[Document], already NFC
docs = viparse.load("bang_luong.xlsx", output="markdown", encoding="auto")
viparse ./docs/**/*.pdf -o md
viparse doctor # list available engines per installed extras
License
TBD.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file viparse-0.1.0.tar.gz.
File metadata
- Download URL: viparse-0.1.0.tar.gz
- Upload date:
- Size: 105.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a490812e34b8df3a682347cd361947b9a3573aa0a6e147cbc0b5530f847bad86
|
|
| MD5 |
fdc3244dc4aed3ed6d8668e7851a0577
|
|
| BLAKE2b-256 |
93c0cd62496e3bafd79f2e2c45d9aa36d2bcf4e45d4993d3fae633585712ace3
|
Provenance
The following attestation bundles were made for viparse-0.1.0.tar.gz:
Publisher:
publish.yml on minhtridinh-kayden/viparse
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
viparse-0.1.0.tar.gz -
Subject digest:
a490812e34b8df3a682347cd361947b9a3573aa0a6e147cbc0b5530f847bad86 - Sigstore transparency entry: 2148336246
- Sigstore integration time:
-
Permalink:
minhtridinh-kayden/viparse@539e0b8f40f6743a6556898fc8d9bd5cc6be0580 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/minhtridinh-kayden
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@539e0b8f40f6743a6556898fc8d9bd5cc6be0580 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file viparse-0.1.0-py3-none-any.whl.
File metadata
- Download URL: viparse-0.1.0-py3-none-any.whl
- Upload date:
- Size: 67.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d71bc20bcd6fb9b283ebe4197b351d1d6dc80240a827c5748fa19019bb55807d
|
|
| MD5 |
69b485094d2e729970a0e32db9581357
|
|
| BLAKE2b-256 |
6c8a52a612b74a287cd55a75972043b263c3996d9410e7c5f435946be3f4a642
|
Provenance
The following attestation bundles were made for viparse-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on minhtridinh-kayden/viparse
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
viparse-0.1.0-py3-none-any.whl -
Subject digest:
d71bc20bcd6fb9b283ebe4197b351d1d6dc80240a827c5748fa19019bb55807d - Sigstore transparency entry: 2148336250
- Sigstore integration time:
-
Permalink:
minhtridinh-kayden/viparse@539e0b8f40f6743a6556898fc8d9bd5cc6be0580 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/minhtridinh-kayden
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@539e0b8f40f6743a6556898fc8d9bd5cc6be0580 -
Trigger Event:
workflow_dispatch
-
Statement type: