Skip to main content

cvfile

Reference Python SDK for the .cv open file format.

Install

pip install cvfile

Pack

from cvfile import pack

with open("resume.pdf", "rb") as f:
    pdf_bytes = f.read()
with open("resume.md") as f:
    md = f.read()

cv_bytes = pack(
    pdf=pdf_bytes,
    markdown=md,
    metadata={"primary_language": "en"},
)

with open("resume.cv", "wb") as f:
    f.write(cv_bytes)

Extract

from cvfile import extract, extract_markdown

file = extract(open("resume.cv", "rb").read())
print(file.metadata.version)            # "0.1"
print([p.name for p in file.payloads])  # ['resume.md', 'resume.html']

md = extract_markdown(open("resume.cv", "rb").read())

License

Apache-2.0.

Metadata

Release files for cvfile 0.3.2

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

Source distribution (sdist)

Source distribution for cvfile 0.3.2
File Size Uploaded
cvfile-0.3.2.tar.gz 49.6 kB Details

Built distribution (wheel)

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

Total release size: 95.8 kB

Release files / cvfile-0.3.2.tar.gz

Download URL cvfile-0.3.2.tar.gz
Size 49.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0473da3305b8e694ea229cd78556e24fca90861d3a119aede82f72a5812cc7b4
BLAKE2b-256 checksum
How to use checksums
54484235c10c4a830ea4c775c2dac1fd71dd56d7c971a28ae900e6fb87b60cbe
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 Jul 2, 2026.

Transparency log

Release files / cvfile-0.3.2-py3-none-any.whl

Download URL cvfile-0.3.2-py3-none-any.whl
Size 46.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab97a72fdae0068c6f1dad7b084ea5bd8d869c450c051a02b5a6d134d2c869ea
BLAKE2b-256 checksum
How to use checksums
bb2f0a94bb1c21e2584f836c35025ecbbd2399ca67ea71ffe5870e2a4c4441b8
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 Jul 2, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

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