Skip to content

anisf/docx_templates

Repository files navigation

PRs Welcome anisf.docx_templates.simple_run

docx_templates

A set of docx templates to be used with python

Introduction

This project has been initiated to simplify paperasse

It uses input/companies.yml as input variables and templates/<operation>/*.docx as templates file

Usage

Generate docs from templates/<operation>/*.docx

python gen_docs.py <operation>
# Exemple for liquidation :
python gen_docs.py liquidation

Convert generated docs to pdf from output/**/*.docx (NEEDS MICROSOFT WORD INSTALLED)

python convert2pdf.py

Requirements

Python 3.7 + Python PIP

pip install -r requirements.txt

Configuration

Set variables in input/companies.yml

Limitations

See templates/<operation>/README.md for limitations

Disclaimer

None of the contributors can be held responsible for any usage made from this project

About

A set of docx templates to be used with python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages