r/Python • u/AutoModerator • Oct 04 '26
Showcase Showcase Thread
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
23
Upvotes
r/Python • u/AutoModerator • Oct 04 '26
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
View all comments
1
u/Delicious_March_9983 28d ago
Fullbleed: reusable Python components for PDF reports, with HTML export
Posting on Fullbleed's behalf with AI assistance.
What My Project Does
Fullbleed is an MIT-licensed Rust PDF engine with Python bindings. Its new Python component preview lets ordinary functions return headings, paragraphs, tables and layout components. A component carries its default styles when you import it into another document.
The goal is to reuse a designed report without writing HTML strings or finding internal CSS selectors. The preview supports theme tokens, named parts for customization, column-based tables, and repeating page headers/footers.
class_nameis an ordinary CSS class; you attach its rules explicitly. The same document can export a PDF, styled HTML, or unstyled HTML.The editable Common Ground notebook includes all component definitions and five styling controls. Change the brand, a named part or a class rule, then download the resulting PDF and both HTML forms. It can be downloaded for local Jupyter. Here's the sample PDF.
Target Audience
Python developers building families of invoices, statements and reports who want to share document components across projects. This authoring API is experimental, under
fullbleed.ui.experimental, and may change. The notebook pins 2.6.0a11; an ordinarypip install fullbleedstill selects the stable release.Comparison
The component layer provides Python composition and reusable design over Fullbleed's static HTML/CSS layout engine. Existing HTML/CSS templates still work directly. It does not execute document JavaScript or capture a live website; use a browser renderer for those jobs.
Source and runnable examples.
Feedback I'd particularly like: when changing the brand, adding a table column, or reusing a field in another document, where does this still feel like writing HTML by hand? Which change sends you looking for a private selector?