Files from "Convert DOCX to PDF in Python on Linux, without Word" on pdfconversionapi.com (tested 2026-11-25).

convert_api.py             The API code from the page (needs requests and PDFCONVERSIONAPI_KEY).
convert_lo.py              The LibreOffice code from the page, with a profile per call.
run_*.py                   The test runs: docx2pdf, LibreOffice, our API, and the page's usage lines.
compare.py                 Pages, fonts, bookmarks, contract phrases and table of contents of each PDF (PyMuPDF).
compare_images.py          The side-by-side pictures on the page.
Dockerfile-*               The three images: docx2pdf, LibreOffice, LibreOffice plus fonts.
results.txt                What each run printed.
inputs/                    The three Word files (CC0, from our other guides).
outputs/api, lo-plain, lo-fonts   Every PDF the runs wrote.

Run the containers with the inputs at /files, these scripts at /scripts and a writable /out.
The sample files and these scripts are released under CC0 1.0.
