pymorphy2
WeasyPrint
Our great sponsors
pymorphy2 | WeasyPrint | |
---|---|---|
0 | 28 | |
1,046 | 5,656 | |
0.8% | 3.8% | |
0.0 | 8.9 | |
2 months ago | 1 day ago | |
Python | Python | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pymorphy2
We haven't tracked posts mentioning pymorphy2 yet.
Tracking mentions began in Dec 2020.
WeasyPrint
-
Typst, a modern alternative to LaTeX, is now open source
If you don't have high typesetting needs, maybe WeasyPrint fits your use case.
- Laying Out a Print Book with CSS
-
QuestPDF will be dual licensed, no longer MIT only
If you have slightly complex documents, give Weasyprint a try, unlike WkHtmlToPdf it support most of CSS Paged Media (friendlier site) which is pretty much mandatory as you get stuff like a proper TOC, running numbers, margins, page breaks etc.
-
QuestPDF: Modern .NET library for PDF document generation
The Paged Media spec on counters and counter-resets paints implementations into a corner. They can't both comply with the spec and implement page count resets on page breaks. This has been a known issue with the spec since 2013[1][2] and been a thorn in implementations since.[3]
1: https://www.w3.org/Style/CSS/Tracker/issues/334
2: https://github.com/w3c/csswg-drafts/issues/4760
3: https://github.com/Kozea/WeasyPrint/issues/93#issuecomment-4...
-
Ask HN: Slimvoice Alternative?
Has anyone reached out to the author and asked if they'd be willing to toss a few things into a repo between now and April? I'm not asking for open-source maintenance, but it would be nice to self-host something Slimvoice-like on my own domain.
I'm curious how it's implemented--maybe https://weasyprint.org/ for the PDFs?
-
URL to PDF and Image
https://weasyprint.org website seems to be unavailable though
- Show HN: I am building a new Python library to read/write PDF files
-
looking for an "low dependency" or pythonesque way to generate PDF's
I have used WeasyPrint in the past, it worked very well for the use case I had, which was basically a service that transforms HTML into PDF, it follows the W3C specification that is recommend for print (you can actually generate Headers and Footers that repeats every page, something that chrome doesn't do)
- PDF processing and analysis with open-source tools
-
Diving deeper into custom PDF and ePub generation
I can really recommend weasyprint for (markdown→)html→pdf generation: https://github.com/Kozea/WeasyPrint
Things like columns, footers/headers, hyphenation are all easily done with modern CSS.
What are some alternatives?
ReportLab
PyPDF2 - A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files
WKHTMLToPDF - Convert HTML to PDF using Webkit (QtWebKit)
QuestPDF - QuestPDF is a modern open-source .NET library for PDF document generation. Offering comprehensive layout engine powered by concise and discoverable C# Fluent API. Easily generate PDF reports, invoices, exports, etc.
PDFMiner - Python PDF Parser (Not actively maintained). Check out pdfminer.six.
MathJax - Beautiful and accessible math in all browsers
pdftabextract - A set of tools for extracting tables from PDF files helping to do data mining on (OCR-processed) scanned documents.
csvkit - A suite of utilities for converting to and working with CSV, the king of tabular file formats.
tablib - Python Module for Tabular Datasets in XLS, CSV, JSON, YAML, &c.
Camelot - A Python library to extract tabular data from PDFs
borb - borb is a library for reading, creating and manipulating PDF files in python.