Title: Prototype and document a PDF generation example using Jinja2, print CSS and Wesyprint · Issue #37 · anomaly/lab-python-server · GitHub
Open Graph Title: Prototype and document a PDF generation example using Jinja2, print CSS and Wesyprint · Issue #37 · anomaly/lab-python-server
X Title: Prototype and document a PDF generation example using Jinja2, print CSS and Wesyprint · Issue #37 · anomaly/lab-python-server
Description: Often we need to generate PDF documents e.g reports, invoices. These are often large documents that have an effect post the generation e.g emailing a link or attaching it to a message. The genera process is these jobs to be queued and th...
Open Graph Description: Often we need to generate PDF documents e.g reports, invoices. These are often large documents that have an effect post the generation e.g emailing a link or attaching it to a message. The genera p...
X Description: Often we need to generate PDF documents e.g reports, invoices. These are often large documents that have an effect post the generation e.g emailing a link or attaching it to a message. The genera p...
Opengraph URL: https://github.com/anomaly/lab-python-server/issues/37
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Prototype and document a PDF generation example using Jinja2, print CSS and Wesyprint","articleBody":"Often we need to generate PDF documents e.g reports, invoices. These are often large documents that have an effect post the generation e.g emailing a link or attaching it to a message. \r\n\r\nThe genera process is these jobs to be queued and then for a processor to collate the contents, convert it into a template which is then turned into a PDF. We have typically used [Wesayprint](https://weasyprint.org) which is a Python based tool to generate PDFs from HTML and CSS. It has deep roots where the maintainers are members of the CSS working group.\r\n\r\nWe should prototype:\r\n- A template being processed using Jinja2\r\n- CSS defined for print may be using a framework like [Gutenberg](https://github.com/BafS/Gutenberg)\r\n- Sample to include, images, code\r\n- Generate the PDF\r\n- Store the document in an object store\r\n- Write the link back into a database for the rest of the application to find the document\r\n\r\n> Anomaly should also consider financially supporting Weasyprint","author":{"url":"https://github.com/devraj","@type":"Person","name":"devraj"},"datePublished":"2022-08-24T02:24:46Z","url":"https://github.com/anomaly/lab-python-server/issues/37"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e846ec72-dfea-5d9f-cc5c-07596a110327 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C370:385A78:668E1E:901DFA:6B0479CD |
| html-safe-nonce | ee44e6d65dca6c30ed9d1177102154b7d745c7e142c5a8e290515260064caf03 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzcwOjM4NUE3ODo2NjhFMUU6OTAxREZBOjZCMDQ3OUNEIiwidmlzaXRvcl9pZCI6IjEyNjQzMzM3NTI2Mjk0OTIxNzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fcb0a78214b6b043643d53f6d3ba425fd5ecf0d0969bf59c97d3daa5a9d1a469 |
| hovercard-subject-tag | issue:1348755334 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/anomaly/lab-python-server/37/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d1cadefe09bcad91dc2c3579fad72cd42c5d856b02cdc4c3427847cdb530dc8f/anomaly/lab-python-server/issues/37 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d1cadefe09bcad91dc2c3579fad72cd42c5d856b02cdc4c3427847cdb530dc8f/anomaly/lab-python-server/issues/37 |
| og:image:alt | Often we need to generate PDF documents e.g reports, invoices. These are often large documents that have an effect post the generation e.g emailing a link or attaching it to a message. The genera p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | devraj |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| turbo-cache-control | no-preview |
| go-import | github.com/anomaly/lab-python-server git https://github.com/anomaly/lab-python-server.git |
| octolytics-dimension-user_id | 3654837 |
| octolytics-dimension-user_login | anomaly |
| octolytics-dimension-repository_id | 491764445 |
| octolytics-dimension-repository_nwo | anomaly/lab-python-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 491764445 |
| octolytics-dimension-repository_network_root_nwo | anomaly/lab-python-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width