This notebook generates a CV (Curriculum Vitae) in DOCX format using data from a JSON file.
- Python 3.x
- Libraries:
- docxtpl
To install the required library, run: !pip install docxtpl
- Prepare Data: Prepare your CV data in JSON format and save it as
model.json. - Prepare Template: Prepare your CV template in DOCX format and save it as
cv_model.docx. - Run the Notebook: Execute the notebook cell by cell.
This notebook demonstrates how to generate a CV document using Python and a DOCX template. It reads data from a JSON file containing CV information and fills in a DOCX template accordingly.
- The notebook loads CV data from a JSON file (
model.json). - It loads a DOCX template (
cv_model.docx) using thedocxtpllibrary. - It populates the template with the CV data.
- The generated CV is saved as
profile.docx.
Feel free to explore the notebook and adapt the code to your use case!