PlutoPrint — это библиотека на Python для преобразования HTML/XML в качественные PDF и изображения.
✅ Отличный инструмент для отчётов, инвойсов, билетов или визуализаций.
Что умеет PlutoPrint: — Экспорт в PDF или PNG напрямую из HTML/URL — Поддержка частичного экспорта (диапазоны страниц, реверс) — Масштабирование и настройка размеров — Генерация графиков через Matplotlib — Работа через CLI или API
Установка:
pip install plutoprint
Пример: PDF из HTML
import plutoprint
book = plutoprint.Book(plutoprint.PAGE_SIZE_A4) book.load_url("hello.html") book.write_to_pdf("hello.pdf")
PlutoPrint — это библиотека на Python для преобразования HTML/XML в качественные PDF и изображения.
✅ Отличный инструмент для отчётов, инвойсов, билетов или визуализаций.
Что умеет PlutoPrint: — Экспорт в PDF или PNG напрямую из HTML/URL — Поддержка частичного экспорта (диапазоны страниц, реверс) — Масштабирование и настройка размеров — Генерация графиков через Matplotlib — Работа через CLI или API
Установка:
pip install plutoprint
Пример: PDF из HTML
import plutoprint
book = plutoprint.Book(plutoprint.PAGE_SIZE_A4) book.load_url("hello.html") book.write_to_pdf("hello.pdf")
4How to customize a Telegram channel? The group also hosted discussions on committing arson, Judge Hui said, including setting roadblocks on fire, hurling petrol bombs at police stations and teaching people to make such weapons. The conversation linked to arson went on for two to three months, Hui said. So far, more than a dozen different members have contributed to the group, posting voice notes of themselves screaming, yelling, groaning, and wailing in various pitches and rhythms. Ng Man-ho, a 27-year-old computer technician, was convicted last month of seven counts of incitement charges after he made use of the 100,000-member Chinese-language channel that he runs and manages to post "seditious messages," which had been shut down since August 2020. Matt Hussey, editorial director of NEAR Protocol (and former editor-in-chief of Decrypt) responded to the news of the Telegram group with “#meIRL.”
from us