{"repo":"stumpylog/gotenberg-client","free":true,"listed":false,"github":"https://github.com/stumpylog/gotenberg-client","clone":"git clone https://github.com/stumpylog/gotenberg-client.git","description":"A Python client for interfacing with the Gotenberg API for PDF operations","language":"Python","stars":54,"topics":["api","gotenberg","hacktoberfest","pdf","python3"],"license":"MPL-2.0","category":"media-processing","readme_excerpt":"Gotenberg API Client A modern, fully-typed Python client for the Gotenberg PDF generation API, with sync and async support. --- Quick Start Four lines (excluding imports) to convert HTML to PDF. Why gotenberg-client? Gotenberg is a powerful, Docker-based API for PDF generation and manipulation using Chromium and LibreOffice under the hood. This client gives you a clean, Pythonic interface to all of its capabilities, so you can skip the multipart form-data boilerplate and focus on your documents. Features - Fully typed with concrete return types and full py.typed support - Sync and async APIs with identical interfaces - Pluggable HTTP backends -- httpx (with HTTP/2), niquests, or requests — install whichever you prefer - Pathlib-native -- pass Path objects directly, no manual file handling - Thoroughly tested against a real Gotenberg server across multiple Python versions - Broad route coverage including Chromium, LibreOffice, PDF merge/convert/split, health checks, and more - If there's a route you need, just ask! Installation An HTTP backend is required. Pick the one that suits your project: If you need MIME-type detection for automatic content-type headers, add the magic extra: Examples HTML to PDF Async support HTML with additional resources URL to PDF in landscape PDF/A output format PDF metadata Choosing an HTTP backend Install the backend you want, then select it explicitly (or rely on auto-detection): Basic authentication How It Works All routes follow the same pattern","default_branch":null,"files":null,"tree":[],"storefront":"/r/stumpylog","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stumpylog/gotenberg-client/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}