laudo
Write your report in Markdown, put your photos in a folder, and get a finished Word (.docx) or PDF document built from a template.
Installation
You need Python 3.13+ and pipx (how to install pipx). Then run:
pipx install laudo
For PDF output, also install LibreOffice.
To update later: pipx upgrade laudo
Quick start
-
Create a folder for your report:
my_report/ ├── template.docx # the Word template ├── context.txt # (optional) variables ├── laudo.md # your text └── fotos/ # your photos -
Open the program inside that folder:
cd my_report laudo
-
In the window:
- Legendas — write a caption for each photo.
- Gerar laudo — creates
laudo.docx(tick PDF to getlaudo.pdf).
Prefer the terminal? laudo gen creates laudo.docx, and laudo gen --pdf creates laudo.pdf.
Writing the report
Text (.md files)
Write normally in Markdown: # Title, ## Subtitle, **bold**, *italic* and - lists.
Each .md file becomes a variable in the template with the file's name. For example, laudo.md is inserted where the template has {{p laudo|markdown }}.
Variables (context.txt)
One variable per line:
requisitante = Delegacia de Anápolis
data_pericia = 15/10/2026
Use them in the template or in the text as {{ requisitante }}.
Photos
Put the photos in fotos/. Subfolders become groups (e.g. fotos/local/).
Inside the text:
| You write | Result |
|---|---|
image(foto1) |
inserts the photo foto1.jpg with its caption |
image_group(local, 3) |
inserts every photo in fotos/local/, 3 per row (any number works) |
${foto1} |
the number of that photo, e.g. "Conforme Foto ${foto1}" → "Conforme Foto 3" |
- Write
image(...)andimage_group(...)alone on their own line (otherwise generation stops and shows the line to fix). - Photos are numbered automatically in the order they appear in the document.
${foto1}only works if that photo was inserted withimageorimage_group; otherwise generation stops with an error.
Shared templates (optional)
If you keep your templates in one folder (one subfolder per template, each with its own template.docx), set the LAUDOS_TEMPLATES_FOLDER environment variable to that folder. Then, inside a report folder, run:
laudo init <template-name>
Other commands
| Command | What it does |
|---|---|
laudo |
opens the main window |
laudo gen [--pdf] |
generates the report |
laudo captions |
opens only the caption editor |
laudo reduce-images fotos fotos |
shrinks large photos (you pick the maximum size). Overwrites the originals: use another destination folder to keep them |
laudo --help |
lists every command and option |
Full documentation
The user guide covers everything else: sections inside .md files, .json data, photo groups in the template, numbering tables and figures, shared templates, and the full list of filters and functions.
License
MIT
Metadata
Release files for laudo 0.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| laudo-0.2.7.tar.gz | 279.8 kB | Without provenance | Details for laudo-0.2.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| laudo-0.2.7-py3-none-any.whl | Python 3 | none | any | Details for laudo-0.2.7-py3-none-any.whl |
Total release size: 566.1 kB
Release files / laudo-0.2.7.tar.gz
| Download URL | laudo-0.2.7.tar.gz |
|---|---|
| Size | 279.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9aae3a55f6d4c8fdca0b2597be1913e666681a593e9f2ab9499997d50c45835
|
|
BLAKE2b-256 checksum How to use checksums |
9cbf1b20350b1112563772d92d64836bee904791862d811dabf4db4ffd5a5eab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / laudo-0.2.7-py3-none-any.whl
| Download URL | laudo-0.2.7-py3-none-any.whl |
|---|---|
| Size | 286.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
77192bb01db14e81cd4df2bf4c3de8c2cfb0946b99927e1d255caea44d199798
|
|
BLAKE2b-256 checksum How to use checksums |
11c98afc6022c0e79240c1cb849f9d86302366e6c76013eca5585585bd8aef71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for laudo 0.2.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.