Generate PDF resumes from Markdown with customizable styles, headers/footers, and LLM auto-formatting
Project description
cvbuilder
PDF 简历生成器 - 将 Markdown 简历转换为专业 PDF 文件。
功能特性
- Markdown 简历转 PDF
- 可自定义页眉页脚(支持文字和图片)
- 3 种内置 CSS 样式(default / modern / classic)
- 支持自定义 CSS 文件
- 中英文自动检测和语言指定
- LLM 自动格式化原始文本为标准简历格式
- CLI 命令行工具
安装
pip install cvbuilder
playwright install chromium
使用示例
# 初始化模板
cvbuilder init
# 直接转换 Markdown 为 PDF
cvbuilder build --md resume.md --output resume.pdf
# 使用自定义样式
cvbuilder build --md resume.md --css custom.css --output resume.pdf
# 添加页眉页脚
cvbuilder build --md resume.md --header "张三 | 电话: 13800138000" --footer "Confidential" --output resume.pdf
# LLM 自动格式化
cvbuilder format --input raw_resume.txt --output resume.pdf
API
from cvbuilder import convert
# 直接转换
convert(
md_path="resume.md",
css_path="resume.css",
output="resume.pdf",
lang="zh"
)
依赖
- typer
- markdown
- playwright
- pypdf
- llmdog
- larkfunc
- rich
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cvbuilder_cli-0.1.0.tar.gz
(16.7 kB
view details)
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 cvbuilder_cli-0.1.0.tar.gz.
File metadata
- Download URL: cvbuilder_cli-0.1.0.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d3ecd06a2562053aae4b69e28209946299fe98950375b0852b78b9efe755915
|
|
| MD5 |
d95b584a4d791aa1c4d57bb10121b9ee
|
|
| BLAKE2b-256 |
2eabe4d3fc3a3653b865450ececec5fc8a616dd0a2a4a6585653813ff7de7c36
|
File details
Details for the file cvbuilder_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cvbuilder_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d16ce4db07d902c6157f12b41cada9398693c2664e0e53f12e8363fac30ef3a9
|
|
| MD5 |
dc8210b30512ff7e2a45a48e332269e6
|
|
| BLAKE2b-256 |
b791b5293c0559a022ff82f0749a08bcba41688ffa56140610f8ecfa2756a0fa
|