将yaml文件转换为pdf简历
pyquilted的Python项目详细描述
pyquilted
在python中从yaml生成quilted™简历。了解有关Quilted
$ pip install pyquilted
要求
pyquilted使用Wkhtmltopdf通过python-pdfkit将html转换为pdf。
安装wkhtmltopf
debian/ubuntu
$ sudo apt-get install wkhtmltopdf
MacOS自制软件
$ brew install caskroom/cask/wkhtmltopdf
Windows和其他平台:
样品
生成一个示例yaml文件,以便您可以将其用作简历模板
$ pyquilted --sample mysample.yml
将您的yaml文件转换为绗缝简历pdf
$ pyquilted --pdf mysample.yml myresume.pdf
自定义格式
section formatting: --heading-compact use a compact heading format defaults to auto --heading-expanded use an expanded heading format defaults to auto --skills-table use a skills table to show many skills --no-sorting disable skills sorting --no-grouping disable grouping of compact sections style: css styles to apply to resume content --color "color|#rgb" css color code for your name --font "font" css font for resume content --font-other "font" css font override for heading/contacts --font-size "size" css font size for resume content
HTML
如果您希望自定义HTML,然后使用浏览器打印
$ pyquilted --html mysample.yml myresume.html