Automating & delivering reports

Logging, testing & packaging

Logs, retries, pre-send checks, pytest, config files and shipping a script to someone else.

What makes a report job reliable: configuration outside the code, logs and retries while it runs, checks before it sends, and tests that pin the output.What makes a report job reliable: configuration outside the code, logs and retries while it runs, checks before it sends, and tests that pin the output.a job somebody else can trust at 06:00Configsettings filesecrets in envRunloggingretry on failureCheckrow countsbefore sendingTestpytest on outputpackaged CLI

Start with the full guides

The long-form treatment of logging, testing & packaging, with the reasoning the shorter pages assume.

Step-by-step how-tos

One task each, with code you can copy, run and adapt.

Follow it through a track

Prefer an ordered route? These tracks cover logging, testing & packaging along the way, in the order that builds on itself.

Related topics

Subjects that keep turning up on the same pages as this one, most overlap first.

Logging, testing & packaging is part of Automating & delivering reports.