Skip to content

Ship a designed Python invoice download starter - #36

Merged
krflol merged 4 commits into
masterfrom
examples/python-web-starter
Oct 4, 2026
Merged

krflol merged 4 commits into
masterfrom
examples/python-web-starter

Conversation

@krflol

@krflol krflol commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

The Python web examples currently serve a plain invoice and require a full repository checkout. Give FastAPI, Flask, and Django the designed Northstar invoice, a responsive local download page with keyboard support, separate editable HTML/CSS files, and a builder for a small standalone source ZIP with the actual PDF and preview assets.

The renderer preserves decimal totals, escaped customer text, per-request document state, and private PDF attachment responses. The example remains a fictional, fixed one-page A4 invoice; adapting pagination and application authentication is described in the README.

Validation: all three framework clients and actual local servers passed PDF content, font embedding, header, 404/405, repeated and simultaneous response checks. An independent PDF reader checks the text, including literal markup and placeholder-like customer names. Nine Chrome checks covered all three apps at 1440, 390, and 320 pixels, keyboard activation, downloaded bytes, and staying on the page. The PDF and desktop/mobile previews were visually inspected. Font/license hashes match their pinned sources. CI builds and installs the wheel before its existing Windows/Linux example checks.

Core engine, package dependencies, generated agent contracts, and release versions are unchanged. The standalone download and updated public guide will be published through the documentation repository after this source passes CI.

@krflol
krflol merged commit 23df686 into master Oct 4, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant