pydyf
A low-level PDF generator.
Decision gist · record as of 2026-08-14
Yes, if you need low-level PDF generation control and can work with a Beta-status library. The zero runtime dependencies, permissive license, and active maintenance make it a solid choice for developers building PDF tools or integrating PDF output into Python applications. Not recommended if you need high-level convenience or production stability guarantees.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; tested on CPython and PyPy.
- Installation is straightforward with no runtime dependencies.
- The project shows aging maintenance (255 days since last release) but remains actively developed with recent commits and a stable repository.
License · maintenance · safety
permissive license (permissive) — BSD 3-clause permissive license allows commercial and private use with minimal restrictions; contributors retain copyright and license contributions under the same terms.
last release 2025-12-02 (255 days) · last repo commit 2026-02-11 · 152 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 32,210,957 downloads/mo, #779 on PyPI
Alternatives
Verify before relying
pip install pydyf
import pydyf
document = pydyf.PDF()
page = pydyf.Page(document)
page.add_text('Hello, PDF')
document.write('output.pdf')- Whether the low-level API is suitable for typical PDF generation tasks or requires substantial boilerplate.
- Performance characteristics when generating large or complex documents.
- Maturity of the Beta status and stability guarantees for production use.
What it is and what it does
pydyf is a low-level PDF generator that implements the PDF 1.7 specification directly in Python, giving developers fine-grained control over PDF structure and content. It has no runtime dependencies, making it lightweight to install and use. The library is designed for Python 3.10 and later, tested on both CPython and PyPy implementations.
The package is maintained by CourtBouillon and released under a permissive BSD license. It trades high-level convenience for direct access to PDF primitives, making it suitable for developers who need precise control over PDF generation or who want to build higher-level abstractions on top of a solid specification-compliant foundation.
Use it for
- Generate PDFs programmatically with direct control over page structure and content formatting.
- Build higher-level PDF libraries or frameworks on top of a specification-compliant foundation.
- Create custom PDF output in applications where standard libraries are too opinionated or heavyweight.
- Embed PDF generation in Python services without external system dependencies.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need low-level PDF generation control and can work with a Beta-status library.
The zero runtime dependencies, permissive license, and active maintenance make it a solid choice for developers building PDF tools or integrating PDF output into Python applications. Not recommended if you need high-level convenience or production stability guarantees.
Install
pydyf on PyPI
Before you install
Installation is straightforward with no runtime dependencies. The project shows aging maintenance (255 days since last release) but remains actively developed with recent commits and a stable repository.
Requires Python 3.10 or later; tested on CPython and PyPy.
License in practice
BSD 3-clause permissive license allows commercial and private use with minimal restrictions; contributors retain copyright and license contributions under the same terms.
Quickstart
pip install pydyf
import pydyf
document = pydyf.PDF()
page = pydyf.Page(document)
page.add_text('Hello, PDF')
document.write('output.pdf')
Verify before relying
- Whether the low-level API is suitable for typical PDF generation tasks or requires substantial boilerplate.
- Performance characteristics when generating large or complex documents.
- Maturity of the Beta status and stability guarantees for production use.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 255 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 32,210,957 / month, #779 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: pydyf-0.12.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “python pdf generator”
- pydyfpydyf generates PDF documents from Python code by implementing the…
- rst2pdfConverts reStructuredText documents directly to PDF using ReportLab,…
- xhtml2pdfConverts HTML and CSS to PDF documents using Python, enabling…
Give your agent the search over MCP, or paste the wish link into any chat.
Similar packages
WeasyPrint converts HTML and CSS into PDF documents using a Python-based rendering engine designed for pagination and document generation.
Provides a Python interface to the Ghostscript C-API using ctypes, enabling PostScript and PDF processing through both low-level and high-level APIs.
However, the aging maintenance status (443 days since last release) and GPL-3.0-or-later copyleft license warrant careful consideration of your project's licensing…
Converts Markdown files to PDF with custom CSS styling, Jinja templating, and syntax highlighting support via a CLI tool or Python library.
pikepdf reads, writes, repairs, and transforms PDF documents through a Python interface backed by the qpdf C++ library, handling page manipulation, metadata editing, encryption, and low-level PDF object access.
Install it if you need to repair, merge, encrypt, or manipulate existing PDFs; skip it if you only need text extraction or PDF rendering.
Provides Django class-based views and response classes for generating PDF documents from HTML templates using WeasyPrint.
Install it if you need to generate PDFs from Django views or templates.
Pyphen hyphenates text in multiple languages using Hunspell dictionaries included with the package, enabling proper word breaks for text layout and formatting.
Install it if you need reliable hyphenation for text layout or formatting.
See also PyPDF3 · PyLaTeX · PyPDF4 · atlassian-doc-builder