Skip to main content

langchain-cvfile

LangChain document loader for the .cv open file format.

A .cv file is a PDF/A-3u file carrying a Markdown copy of the same content (plus optional HTML and JSON Resume) as PDF Associated Files. Instead of OCR ing the PDF, this loader pulls the embedded text payloads directly.

Install

pip install langchain-cvfile

Use

from langchain_cvfile import CVFileLoader

loader = CVFileLoader("resume.cv")
docs = loader.load()

for doc in docs:
    print(doc.metadata["payload"], doc.metadata["mime_type"], len(doc.page_content))

You get one Document per textual payload found in the file. The Markdown copy (typically resume.md) is the one flagged with metadata["primary"] = True.

Metadata fields

Key Description
source The file path you passed to the loader
payload Name of the embedded file (e.g. resume.md)
mime_type MIME of the payload (text/markdown, text/html, application/json)
relationship PDF Associated Files relationship (Alternative for primary alternates)
language BCP 47 language tag for this payload
primary True for the payload declared as primary in the file's XMP metadata
cv_version Version of the .cv spec the file conforms to
cv_generator Tool that produced the file, if recorded

License

Apache-2.0.

Metadata

Release files for langchain-cvfile 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 langchain-cvfile 0.1.0
File Size Uploaded
langchain_cvfile-0.1.0.tar.gz 3.5 kB Details

Built distribution (wheel)

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

Total release size: 6.8 kB

Release files / langchain_cvfile-0.1.0.tar.gz

Download URL langchain_cvfile-0.1.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e639c106ae9b1ebe62b79f8c59f5d3175b3f0367dee96715c8f2ab560078fea6
BLAKE2b-256 checksum
How to use checksums
37fc13296972513f71c6522554332cb93f3440fd81de01bf7e14f68b1ee329b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 12, 2026.

Transparency log

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

Download URL langchain_cvfile-0.1.0-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad4e30bf3c9cf48caf58b7bd4f4cf9e012b3720d3c229a9f1ad28349006ce963
BLAKE2b-256 checksum
How to use checksums
c291dcafe8f056e986b906614e274109e4411f4c4695e8a8b7011bac2baee5e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 12, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.2

2 release files

0.2.0

2 release files

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