Skip to main content

viparse-langchain

LangChain integration for viparse — read Vietnamese documents, including files written in the pre-Unicode TCVN3 / VNI / VISCII / VPS encodings that generic loaders return as B¸o c¸o tµi chÝnh.

pip install viparse-langchain
from viparse_langchain import VietnameseDocumentLoader

docs = VietnameseDocumentLoader("bao_cao_cu.doc").load()

Takes the same options as viparse.load() — encoding, ocr, output, chunk — and streams rather than materialising a whole document first.

What it is

A thin, deliberately empty package. The code lives in viparse.integrations and ships with pip install "viparse[langchain]"; this distribution exists so that a LangChain user can find it, because LangChain no longer accepts third-party integrations into its own repositories.

Why not langchain-viparse

That prefix belongs to LangChain's own packages. Using it would imply an official integration that does not exist, and a PyPI name cannot be given back.

Accuracy

0.986 diacritic accuracy over 96 hand-transcribed Vietnamese government documents, against 0.019 for the same reader with conversion switched off — same documents, same published command, one flag apart. The corpus, the metric and every raw result are public, including a written account of the ways the number is weaker than it looks.

MIT © 2026 Đinh Minh Trí (Kayden)

Metadata

Release files for viparse-langchain 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for viparse-langchain 0.1.0
File Size Uploaded
viparse_langchain-0.1.0.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for viparse-langchain 0.1.0
File Interpreter ABI Platform
viparse_langchain-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / viparse_langchain-0.1.0.tar.gz

Download URL viparse_langchain-0.1.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
28e53d93863ee854e70d50eeca7c70bc7b566c76e0521a715e3c37e8342b2ad5
BLAKE2b-256 checksum
How to use checksums
76240e9ca0dc0cfb095792dac4353a0706ca7dc29f862ec100f8a741b49f0f1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 4, 2026.

Transparency log

Release files / viparse_langchain-0.1.0-py3-none-any.whl

Download URL viparse_langchain-0.1.0-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b7f878aba6fd9ea1ebb2faa3bcd6246c930e536cddd3dd4a6c6c1d1504caa5b
BLAKE2b-256 checksum
How to use checksums
80f9b16703b0d4a307776fda978ebef0e4971092c81208ede3da1d13aa2d7116
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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