Skip to content

Generate a odt/pdf CV from a toml config file

Notifications You must be signed in to change notification settings

tharvik/curriculum-vitae

Repository files navigation

pre-commit.ci status Test and upload example's result

tl;dr: download generated cv.

How to build

You would need

  • >=dev-lang/python-3.11
  • dev-python/pip

For optional pdf generation with libreoffice backend

For optional pdf generation with pandoc backend

  • app-text/pandoc-cli: https://pandoc.org
    • Gentoo users, you can find it in the haskell overlay

Then you can install it with

pip install .

How to use

The main entrypoint is the executable, cv. Feed it the wanted config, it will output the wanted format to stdout.

cv odt < config.toml > cv.odt
cv pdf < config.toml > cv.pdf

Or with your preferred viewer

cv pdf < config.toml | zathura -

You can also use the library directly.

import tomlkit
from curriculum_vitae import generate

with open("config.toml") as f:
    config = tomlkit.load(f)
doc = generate(config)
doc.write("cv.odt")

About

Generate a odt/pdf CV from a toml config file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages